1 | import { AnyOptions, Configuration } from "@atomist/automation-client/lib/configuration";
|
2 | import { RepoFinder } from "@atomist/automation-client/lib/operations/common/repoFinder";
|
3 | import { ProjectPersister } from "@atomist/automation-client/lib/operations/generate/generatorUtils";
|
4 | import { Maker } from "@atomist/automation-client/lib/util/constructionUtils";
|
5 | import { CredentialsResolver } from "../../spi/credentials/CredentialsResolver";
|
6 | import { ProgressLogFactory } from "../../spi/log/ProgressLog";
|
7 | import { ProjectLoader } from "../../spi/project/ProjectLoader";
|
8 | import { RepoRefResolver } from "../../spi/repo-ref/RepoRefResolver";
|
9 | import { AddressChannels } from "../context/addressChannels";
|
10 | import { ParameterPromptFactory } from "../context/parameterPrompt";
|
11 | import { PreferenceStoreFactory } from "../context/preferenceStore";
|
12 | import { EnrichGoal } from "../goal/enrichGoal";
|
13 | import { GoalScheduler } from "../goal/support/GoalScheduler";
|
14 | import { TagGoalSet } from "../goal/tagGoalSet";
|
15 | import { RepoTargets } from "./RepoTargets";
|
16 | import { EventSigningConfiguration, GoalSigningConfiguration } from "./SigningKeys";
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | export interface SoftwareDeliveryMachineOptions {
|
23 | |
24 |
|
25 |
|
26 | projectLoader?: ProjectLoader;
|
27 | |
28 |
|
29 |
|
30 |
|
31 | logFactory?: ProgressLogFactory;
|
32 | |
33 |
|
34 |
|
35 | repoRefResolver?: RepoRefResolver;
|
36 | |
37 |
|
38 |
|
39 | repoFinder?: RepoFinder;
|
40 | |
41 |
|
42 |
|
43 | projectPersister?: ProjectPersister;
|
44 | |
45 |
|
46 |
|
47 | credentialsResolver?: CredentialsResolver;
|
48 | |
49 |
|
50 |
|
51 |
|
52 | targets?: Maker<RepoTargets>;
|
53 | |
54 |
|
55 |
|
56 | preferenceStoreFactory?: PreferenceStoreFactory;
|
57 | |
58 |
|
59 |
|
60 | parameterPromptFactory?: ParameterPromptFactory<any>;
|
61 | |
62 |
|
63 |
|
64 | goalScheduler?: GoalScheduler | GoalScheduler[];
|
65 | |
66 |
|
67 |
|
68 |
|
69 | adminAddressChannels?: AddressChannels;
|
70 | |
71 |
|
72 |
|
73 | enrichGoal?: EnrichGoal;
|
74 | |
75 |
|
76 |
|
77 | tagGoalSet?: TagGoalSet;
|
78 | |
79 |
|
80 |
|
81 |
|
82 | goalSigning?: GoalSigningConfiguration;
|
83 | |
84 |
|
85 |
|
86 | eventSigning?: EventSigningConfiguration;
|
87 | }
|
88 |
|
89 |
|
90 |
|
91 |
|
92 | export interface CacheConfiguration {
|
93 | cache?: {
|
94 | enabled?: boolean;
|
95 | |
96 |
|
97 |
|
98 | path?: string;
|
99 | };
|
100 | }
|
101 |
|
102 |
|
103 |
|
104 | export interface SoftwareDeliveryMachineConfiguration<AdditionalConfiguration = {}> extends Configuration {
|
105 | sdm: SoftwareDeliveryMachineOptions & AdditionalConfiguration & AnyOptions;
|
106 | }
|
107 |
|
\ | No newline at end of file |