@pulumi/artifactory 2.0.0 → 2.2.0-alpha.1654079683
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessToken.d.ts +2 -2
- package/alpineRepository.d.ts +15 -9
- package/alpineRepository.js +9 -3
- package/alpineRepository.js.map +1 -1
- package/anonymousUser.d.ts +3 -6
- package/anonymousUser.js.map +1 -1
- package/artifactPropertyWebhook.d.ts +27 -69
- package/artifactPropertyWebhook.js +14 -20
- package/artifactPropertyWebhook.js.map +1 -1
- package/artifactWebhook.d.ts +27 -69
- package/artifactWebhook.js +14 -20
- package/artifactWebhook.js.map +1 -1
- package/artifactoryReleaseBundleWebhook.d.ts +30 -71
- package/artifactoryReleaseBundleWebhook.js +20 -25
- package/artifactoryReleaseBundleWebhook.js.map +1 -1
- package/backup.d.ts +5 -6
- package/backup.js +2 -3
- package/backup.js.map +1 -1
- package/buildWebhook.d.ts +27 -69
- package/buildWebhook.js +14 -20
- package/buildWebhook.js.map +1 -1
- package/certificate.d.ts +0 -2
- package/certificate.js +0 -2
- package/certificate.js.map +1 -1
- package/config/vars.d.ts +2 -1
- package/config/vars.js.map +1 -1
- package/debianRepository.d.ts +27 -18
- package/debianRepository.js +9 -3
- package/debianRepository.js.map +1 -1
- package/distributionWebhook.d.ts +24 -66
- package/distributionWebhook.js +14 -20
- package/distributionWebhook.js.map +1 -1
- package/dockerV1Repository.d.ts +13 -7
- package/dockerV1Repository.js +10 -4
- package/dockerV1Repository.js.map +1 -1
- package/dockerV2Repository.d.ts +33 -15
- package/dockerV2Repository.js +9 -3
- package/dockerV2Repository.js.map +1 -1
- package/dockerWebhook.d.ts +27 -69
- package/dockerWebhook.js +14 -20
- package/dockerWebhook.js.map +1 -1
- package/federatedAlpineRepository.d.ts +109 -10
- package/federatedAlpineRepository.js +13 -3
- package/federatedAlpineRepository.js.map +1 -1
- package/federatedBowerRepository.d.ts +91 -10
- package/federatedBowerRepository.js +9 -3
- package/federatedBowerRepository.js.map +1 -1
- package/federatedCargoRepository.d.ts +112 -10
- package/federatedCargoRepository.js +13 -3
- package/federatedCargoRepository.js.map +1 -1
- package/federatedChefRepository.d.ts +91 -10
- package/federatedChefRepository.js +9 -3
- package/federatedChefRepository.js.map +1 -1
- package/federatedCocoapodsRepository.d.ts +91 -10
- package/federatedCocoapodsRepository.js +9 -3
- package/federatedCocoapodsRepository.js.map +1 -1
- package/federatedComposerRepository.d.ts +91 -10
- package/federatedComposerRepository.js +9 -3
- package/federatedComposerRepository.js.map +1 -1
- package/federatedConanRepository.d.ts +93 -10
- package/federatedConanRepository.js +11 -3
- package/federatedConanRepository.js.map +1 -1
- package/federatedCondaRepository.d.ts +91 -10
- package/federatedCondaRepository.js +9 -3
- package/federatedCondaRepository.js.map +1 -1
- package/federatedCranRepository.d.ts +91 -10
- package/federatedCranRepository.js +9 -3
- package/federatedCranRepository.js.map +1 -1
- package/federatedDebianRepository.d.ts +136 -10
- package/federatedDebianRepository.js +17 -3
- package/federatedDebianRepository.js.map +1 -1
- package/federatedDockerRepository.d.ts +144 -10
- package/federatedDockerRepository.js +17 -3
- package/federatedDockerRepository.js.map +1 -1
- package/federatedGemsRepository.d.ts +91 -10
- package/federatedGemsRepository.js +9 -3
- package/federatedGemsRepository.js.map +1 -1
- package/federatedGenericRepository.d.ts +91 -16
- package/federatedGenericRepository.js +9 -3
- package/federatedGenericRepository.js.map +1 -1
- package/federatedGitltfsRepository.d.ts +91 -10
- package/federatedGitltfsRepository.js +9 -3
- package/federatedGitltfsRepository.js.map +1 -1
- package/federatedGoRepository.d.ts +91 -10
- package/federatedGoRepository.js +9 -3
- package/federatedGoRepository.js.map +1 -1
- package/federatedGradleRepository.d.ts +187 -10
- package/federatedGradleRepository.js +21 -3
- package/federatedGradleRepository.js.map +1 -1
- package/federatedHelmRepository.d.ts +91 -10
- package/federatedHelmRepository.js +9 -3
- package/federatedHelmRepository.js.map +1 -1
- package/federatedIvyRepository.d.ts +187 -10
- package/federatedIvyRepository.js +21 -3
- package/federatedIvyRepository.js.map +1 -1
- package/federatedMavenRepository.d.ts +187 -10
- package/federatedMavenRepository.js +21 -3
- package/federatedMavenRepository.js.map +1 -1
- package/federatedNpmRepository.d.ts +91 -10
- package/federatedNpmRepository.js +9 -3
- package/federatedNpmRepository.js.map +1 -1
- package/federatedNugetRepository.d.ts +118 -10
- package/federatedNugetRepository.js +13 -3
- package/federatedNugetRepository.js.map +1 -1
- package/federatedOpkgRepository.d.ts +91 -10
- package/federatedOpkgRepository.js +9 -3
- package/federatedOpkgRepository.js.map +1 -1
- package/federatedPuppetRepository.d.ts +91 -10
- package/federatedPuppetRepository.js +9 -3
- package/federatedPuppetRepository.js.map +1 -1
- package/federatedPypiRepository.d.ts +91 -10
- package/federatedPypiRepository.js +9 -3
- package/federatedPypiRepository.js.map +1 -1
- package/federatedRpmRepository.d.ts +157 -10
- package/federatedRpmRepository.js +21 -3
- package/federatedRpmRepository.js.map +1 -1
- package/federatedSbtRepository.d.ts +187 -10
- package/federatedSbtRepository.js +21 -3
- package/federatedSbtRepository.js.map +1 -1
- package/federatedVagrantRepository.d.ts +91 -10
- package/federatedVagrantRepository.js +9 -3
- package/federatedVagrantRepository.js.map +1 -1
- package/generalSecurity.d.ts +0 -2
- package/generalSecurity.js +0 -2
- package/generalSecurity.js.map +1 -1
- package/goRepository.d.ts +15 -16
- package/goRepository.js +3 -4
- package/goRepository.js.map +1 -1
- package/group.d.ts +12 -0
- package/group.js +2 -0
- package/group.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +15 -0
- package/index.js.map +1 -1
- package/keypair.d.ts +8 -10
- package/keypair.js +0 -2
- package/keypair.js.map +1 -1
- package/ldapGroupSetting.d.ts +8 -9
- package/ldapGroupSetting.js +2 -3
- package/ldapGroupSetting.js.map +1 -1
- package/ldapSetting.d.ts +2 -3
- package/ldapSetting.js +2 -3
- package/ldapSetting.js.map +1 -1
- package/localBowerRepository.d.ts +12 -6
- package/localBowerRepository.js +9 -3
- package/localBowerRepository.js.map +1 -1
- package/localCargoRepository.d.ts +21 -9
- package/localCargoRepository.js +9 -3
- package/localCargoRepository.js.map +1 -1
- package/localChefRepository.d.ts +12 -6
- package/localChefRepository.js +9 -3
- package/localChefRepository.js.map +1 -1
- package/localCocoapodsRepository.d.ts +12 -6
- package/localCocoapodsRepository.js +9 -3
- package/localCocoapodsRepository.js.map +1 -1
- package/localComposerRepository.d.ts +12 -6
- package/localComposerRepository.js +9 -3
- package/localComposerRepository.js.map +1 -1
- package/localConanRepository.d.ts +12 -6
- package/localConanRepository.js +9 -3
- package/localConanRepository.js.map +1 -1
- package/localCondaRepository.d.ts +12 -6
- package/localCondaRepository.js +9 -3
- package/localCondaRepository.js.map +1 -1
- package/localCranRepository.d.ts +12 -6
- package/localCranRepository.js +9 -3
- package/localCranRepository.js.map +1 -1
- package/localGemsRepository.d.ts +12 -6
- package/localGemsRepository.js +9 -3
- package/localGemsRepository.js.map +1 -1
- package/localGenericRepository.d.ts +54 -24
- package/localGenericRepository.js +9 -3
- package/localGenericRepository.js.map +1 -1
- package/localGitltfsRepository.d.ts +12 -6
- package/localGitltfsRepository.js +9 -3
- package/localGitltfsRepository.js.map +1 -1
- package/localGoRepository.d.ts +12 -6
- package/localGoRepository.js +9 -3
- package/localGoRepository.js.map +1 -1
- package/localGradleRepository.d.ts +42 -33
- package/localGradleRepository.js +9 -3
- package/localGradleRepository.js.map +1 -1
- package/localHelmRepository.d.ts +12 -6
- package/localHelmRepository.js +9 -3
- package/localHelmRepository.js.map +1 -1
- package/localIvyRepository.d.ts +12 -6
- package/localIvyRepository.js +9 -3
- package/localIvyRepository.js.map +1 -1
- package/localMavenRepository.d.ts +45 -36
- package/localMavenRepository.js +9 -3
- package/localMavenRepository.js.map +1 -1
- package/localNpmRepository.d.ts +12 -6
- package/localNpmRepository.js +9 -3
- package/localNpmRepository.js.map +1 -1
- package/localNugetRepository.d.ts +24 -15
- package/localNugetRepository.js +9 -3
- package/localNugetRepository.js.map +1 -1
- package/localOpkgRepository.d.ts +12 -6
- package/localOpkgRepository.js +9 -3
- package/localOpkgRepository.js.map +1 -1
- package/localPubRepository.d.ts +231 -0
- package/localPubRepository.js +102 -0
- package/localPubRepository.js.map +1 -0
- package/localPuppetRepository.d.ts +12 -6
- package/localPuppetRepository.js +9 -3
- package/localPuppetRepository.js.map +1 -1
- package/localPypiRepository.d.ts +12 -6
- package/localPypiRepository.js +9 -3
- package/localPypiRepository.js.map +1 -1
- package/localRpmRepository.d.ts +60 -18
- package/localRpmRepository.js +9 -3
- package/localRpmRepository.js.map +1 -1
- package/localSbtRepository.d.ts +12 -6
- package/localSbtRepository.js +9 -3
- package/localSbtRepository.js.map +1 -1
- package/localVagrantRepository.d.ts +12 -6
- package/localVagrantRepository.js +9 -3
- package/localVagrantRepository.js.map +1 -1
- package/managedUser.d.ts +0 -2
- package/managedUser.js +0 -2
- package/managedUser.js.map +1 -1
- package/mavenRepository.d.ts +16 -20
- package/mavenRepository.js +4 -5
- package/mavenRepository.js.map +1 -1
- package/oauthSettings.d.ts +0 -2
- package/oauthSettings.js +0 -2
- package/oauthSettings.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/permissionTarget.d.ts +25 -10
- package/permissionTarget.js +10 -4
- package/permissionTarget.js.map +1 -1
- package/permissionTargets.d.ts +25 -10
- package/permissionTargets.js +10 -4
- package/permissionTargets.js.map +1 -1
- package/provider.d.ts +4 -2
- package/provider.js.map +1 -1
- package/pullReplication.d.ts +78 -3
- package/pullReplication.js +5 -3
- package/pullReplication.js.map +1 -1
- package/pushReplication.d.ts +12 -2
- package/pushReplication.js +3 -2
- package/pushReplication.js.map +1 -1
- package/releaseBundleWebhook.d.ts +27 -69
- package/releaseBundleWebhook.js +14 -20
- package/releaseBundleWebhook.js.map +1 -1
- package/remoteAlpineRepository.d.ts +33 -26
- package/remoteAlpineRepository.js +9 -5
- package/remoteAlpineRepository.js.map +1 -1
- package/remoteBowerRepository.d.ts +39 -29
- package/remoteBowerRepository.js +9 -5
- package/remoteBowerRepository.js.map +1 -1
- package/remoteCargoRepository.d.ts +143 -90
- package/remoteCargoRepository.js +11 -8
- package/remoteCargoRepository.js.map +1 -1
- package/remoteChefRepository.d.ts +33 -26
- package/remoteChefRepository.js +9 -5
- package/remoteChefRepository.js.map +1 -1
- package/remoteCocoapodsRepository.d.ts +40 -29
- package/remoteCocoapodsRepository.js +10 -5
- package/remoteCocoapodsRepository.js.map +1 -1
- package/remoteComposerRepository.d.ts +39 -29
- package/remoteComposerRepository.js +9 -5
- package/remoteComposerRepository.js.map +1 -1
- package/remoteConanRepository.d.ts +34 -27
- package/remoteConanRepository.js +10 -6
- package/remoteConanRepository.js.map +1 -1
- package/remoteCondaRepository.d.ts +33 -26
- package/remoteCondaRepository.js +9 -5
- package/remoteCondaRepository.js.map +1 -1
- package/remoteCranRepository.d.ts +33 -26
- package/remoteCranRepository.js +9 -5
- package/remoteCranRepository.js.map +1 -1
- package/remoteDebianRepository.d.ts +33 -26
- package/remoteDebianRepository.js +9 -5
- package/remoteDebianRepository.js.map +1 -1
- package/remoteDockerRepository.d.ts +143 -92
- package/remoteDockerRepository.js +11 -10
- package/remoteDockerRepository.js.map +1 -1
- package/remoteGemsRepository.d.ts +33 -26
- package/remoteGemsRepository.js +9 -5
- package/remoteGemsRepository.js.map +1 -1
- package/remoteGenericRepository.d.ts +137 -80
- package/remoteGenericRepository.js +8 -4
- package/remoteGenericRepository.js.map +1 -1
- package/remoteGitlfsRepository.d.ts +33 -26
- package/remoteGitlfsRepository.js +9 -5
- package/remoteGitlfsRepository.js.map +1 -1
- package/remoteGoRepository.d.ts +33 -26
- package/remoteGoRepository.js +9 -5
- package/remoteGoRepository.js.map +1 -1
- package/remoteGradleRepository.d.ts +154 -99
- package/remoteGradleRepository.js +10 -5
- package/remoteGradleRepository.js.map +1 -1
- package/remoteHelmRepository.d.ts +139 -85
- package/remoteHelmRepository.js +10 -6
- package/remoteHelmRepository.js.map +1 -1
- package/remoteIvyRepository.d.ts +154 -99
- package/remoteIvyRepository.js +10 -5
- package/remoteIvyRepository.js.map +1 -1
- package/remoteMavenRepository.d.ts +157 -102
- package/remoteMavenRepository.js +10 -5
- package/remoteMavenRepository.js.map +1 -1
- package/remoteNpmRepository.d.ts +142 -86
- package/remoteNpmRepository.js +13 -10
- package/remoteNpmRepository.js.map +1 -1
- package/remoteNugetRepository.d.ts +42 -29
- package/remoteNugetRepository.js +9 -5
- package/remoteNugetRepository.js.map +1 -1
- package/remoteOpkgRepository.d.ts +33 -26
- package/remoteOpkgRepository.js +9 -5
- package/remoteOpkgRepository.js.map +1 -1
- package/remoteP2Repository.d.ts +33 -26
- package/remoteP2Repository.js +9 -5
- package/remoteP2Repository.js.map +1 -1
- package/remotePubRepository.d.ts +521 -0
- package/remotePubRepository.js +157 -0
- package/remotePubRepository.js.map +1 -0
- package/remotePuppetRepository.d.ts +33 -26
- package/remotePuppetRepository.js +9 -5
- package/remotePuppetRepository.js.map +1 -1
- package/remotePypiRepository.d.ts +136 -82
- package/remotePypiRepository.js +10 -6
- package/remotePypiRepository.js.map +1 -1
- package/remoteRpmRepository.d.ts +33 -26
- package/remoteRpmRepository.js +9 -5
- package/remoteRpmRepository.js.map +1 -1
- package/remoteSbtRepository.d.ts +155 -104
- package/remoteSbtRepository.js +11 -1
- package/remoteSbtRepository.js.map +1 -1
- package/remoteVcsRepository.d.ts +36 -29
- package/remoteVcsRepository.js +9 -5
- package/remoteVcsRepository.js.map +1 -1
- package/replicationConfig.d.ts +4 -0
- package/replicationConfig.js +4 -0
- package/replicationConfig.js.map +1 -1
- package/samlSettings.d.ts +0 -2
- package/samlSettings.js +0 -2
- package/samlSettings.js.map +1 -1
- package/singleReplicationConfig.d.ts +13 -5
- package/singleReplicationConfig.js +8 -0
- package/singleReplicationConfig.js.map +1 -1
- package/types/input.d.ts +321 -235
- package/types/output.d.ts +321 -235
- package/unmanagedUser.d.ts +0 -2
- package/unmanagedUser.js +0 -2
- package/unmanagedUser.js.map +1 -1
- package/user.d.ts +0 -2
- package/user.js +0 -2
- package/user.js.map +1 -1
- package/virtualAlpineRepository.d.ts +15 -16
- package/virtualAlpineRepository.js +3 -4
- package/virtualAlpineRepository.js.map +1 -1
- package/virtualBowerRepository.d.ts +9 -14
- package/virtualBowerRepository.js +3 -5
- package/virtualBowerRepository.js.map +1 -1
- package/virtualChefRepository.d.ts +15 -16
- package/virtualChefRepository.js +3 -4
- package/virtualChefRepository.js.map +1 -1
- package/virtualComposerRepository.d.ts +9 -13
- package/virtualComposerRepository.js +3 -4
- package/virtualComposerRepository.js.map +1 -1
- package/virtualConanRepository.d.ts +15 -16
- package/virtualConanRepository.js +3 -4
- package/virtualConanRepository.js.map +1 -1
- package/virtualCondaRepository.d.ts +15 -16
- package/virtualCondaRepository.js +3 -4
- package/virtualCondaRepository.js.map +1 -1
- package/virtualCranRepository.d.ts +15 -16
- package/virtualCranRepository.js +3 -4
- package/virtualCranRepository.js.map +1 -1
- package/virtualDebianRepository.d.ts +9 -13
- package/virtualDebianRepository.js +3 -4
- package/virtualDebianRepository.js.map +1 -1
- package/virtualDockerRepository.d.ts +9 -13
- package/virtualDockerRepository.js +3 -4
- package/virtualDockerRepository.js.map +1 -1
- package/virtualGemsRepository.d.ts +9 -13
- package/virtualGemsRepository.js +3 -4
- package/virtualGemsRepository.js.map +1 -1
- package/virtualGenericRepository.d.ts +42 -31
- package/virtualGenericRepository.js +3 -4
- package/virtualGenericRepository.js.map +1 -1
- package/virtualGitlfsRepository.d.ts +9 -13
- package/virtualGitlfsRepository.js +3 -4
- package/virtualGitlfsRepository.js.map +1 -1
- package/virtualGradleRepository.d.ts +9 -13
- package/virtualGradleRepository.js +3 -4
- package/virtualGradleRepository.js.map +1 -1
- package/virtualHelmRepository.d.ts +12 -16
- package/virtualHelmRepository.js +3 -4
- package/virtualHelmRepository.js.map +1 -1
- package/virtualIvyRepository.d.ts +9 -13
- package/virtualIvyRepository.js +3 -4
- package/virtualIvyRepository.js.map +1 -1
- package/virtualNpmRepository.d.ts +15 -16
- package/virtualNpmRepository.js +3 -4
- package/virtualNpmRepository.js.map +1 -1
- package/virtualNugetRepository.d.ts +12 -16
- package/virtualNugetRepository.js +3 -4
- package/virtualNugetRepository.js.map +1 -1
- package/virtualP2Repository.d.ts +9 -13
- package/virtualP2Repository.js +3 -4
- package/virtualP2Repository.js.map +1 -1
- package/virtualPubRepository.d.ts +237 -0
- package/virtualPubRepository.js +104 -0
- package/virtualPubRepository.js.map +1 -0
- package/virtualPuppetRepository.d.ts +9 -13
- package/virtualPuppetRepository.js +3 -4
- package/virtualPuppetRepository.js.map +1 -1
- package/virtualPypiRepository.d.ts +9 -13
- package/virtualPypiRepository.js +3 -4
- package/virtualPypiRepository.js.map +1 -1
- package/virtualRpmRepository.d.ts +15 -19
- package/virtualRpmRepository.js +3 -4
- package/virtualRpmRepository.js.map +1 -1
- package/virtualSbtRepository.d.ts +9 -13
- package/virtualSbtRepository.js +3 -4
- package/virtualSbtRepository.js.map +1 -1
package/buildWebhook.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.BuildWebhook = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Artifactory Build Webhook Resource
|
|
10
|
-
*
|
|
11
9
|
* Provides an Artifactory webhook resource. This can be used to register and manage Artifactory webhook subscription which enables you to be notified or notify other users when such events take place in Artifactory.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
@@ -24,19 +22,21 @@ const utilities = require("./utilities");
|
|
|
24
22
|
* includePatterns: ["foo/**"],
|
|
25
23
|
* selectedBuilds: ["build-id"],
|
|
26
24
|
* },
|
|
27
|
-
* customHttpHeaders: {
|
|
28
|
-
* "header-1": "value-1",
|
|
29
|
-
* "header-2": "value-2",
|
|
30
|
-
* },
|
|
31
25
|
* eventTypes: [
|
|
32
26
|
* "uploaded",
|
|
33
27
|
* "deleted",
|
|
34
28
|
* "promoted",
|
|
35
29
|
* ],
|
|
30
|
+
* handlers: [{
|
|
31
|
+
* customHttpHeaders: {
|
|
32
|
+
* "header-1": "value-1",
|
|
33
|
+
* "header-2": "value-2",
|
|
34
|
+
* },
|
|
35
|
+
* proxy: "proxy-key",
|
|
36
|
+
* secret: "some-secret",
|
|
37
|
+
* url: "http://tempurl.org/webhook",
|
|
38
|
+
* }],
|
|
36
39
|
* key: "build-webhook",
|
|
37
|
-
* proxy: "proxy-key",
|
|
38
|
-
* secret: "some-secret",
|
|
39
|
-
* url: "http://tempurl.org/webhook",
|
|
40
40
|
* });
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
@@ -47,14 +47,11 @@ class BuildWebhook extends pulumi.CustomResource {
|
|
|
47
47
|
if (opts.id) {
|
|
48
48
|
const state = argsOrState;
|
|
49
49
|
resourceInputs["criteria"] = state ? state.criteria : undefined;
|
|
50
|
-
resourceInputs["customHttpHeaders"] = state ? state.customHttpHeaders : undefined;
|
|
51
50
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
52
51
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
53
52
|
resourceInputs["eventTypes"] = state ? state.eventTypes : undefined;
|
|
53
|
+
resourceInputs["handlers"] = state ? state.handlers : undefined;
|
|
54
54
|
resourceInputs["key"] = state ? state.key : undefined;
|
|
55
|
-
resourceInputs["proxy"] = state ? state.proxy : undefined;
|
|
56
|
-
resourceInputs["secret"] = state ? state.secret : undefined;
|
|
57
|
-
resourceInputs["url"] = state ? state.url : undefined;
|
|
58
55
|
}
|
|
59
56
|
else {
|
|
60
57
|
const args = argsOrState;
|
|
@@ -64,21 +61,18 @@ class BuildWebhook extends pulumi.CustomResource {
|
|
|
64
61
|
if ((!args || args.eventTypes === undefined) && !opts.urn) {
|
|
65
62
|
throw new Error("Missing required property 'eventTypes'");
|
|
66
63
|
}
|
|
64
|
+
if ((!args || args.handlers === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'handlers'");
|
|
66
|
+
}
|
|
67
67
|
if ((!args || args.key === undefined) && !opts.urn) {
|
|
68
68
|
throw new Error("Missing required property 'key'");
|
|
69
69
|
}
|
|
70
|
-
if ((!args || args.url === undefined) && !opts.urn) {
|
|
71
|
-
throw new Error("Missing required property 'url'");
|
|
72
|
-
}
|
|
73
70
|
resourceInputs["criteria"] = args ? args.criteria : undefined;
|
|
74
|
-
resourceInputs["customHttpHeaders"] = args ? args.customHttpHeaders : undefined;
|
|
75
71
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
76
72
|
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
77
73
|
resourceInputs["eventTypes"] = args ? args.eventTypes : undefined;
|
|
74
|
+
resourceInputs["handlers"] = args ? args.handlers : undefined;
|
|
78
75
|
resourceInputs["key"] = args ? args.key : undefined;
|
|
79
|
-
resourceInputs["proxy"] = args ? args.proxy : undefined;
|
|
80
|
-
resourceInputs["secret"] = args ? args.secret : undefined;
|
|
81
|
-
resourceInputs["url"] = args ? args.url : undefined;
|
|
82
76
|
}
|
|
83
77
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
78
|
super(BuildWebhook.__pulumiType, name, resourceInputs, opts);
|
package/buildWebhook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildWebhook.js","sourceRoot":"","sources":["../buildWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"buildWebhook.js","sourceRoot":"","sources":["../buildWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH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;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAgGC;AAlFG,gBAAgB;AACO,yBAAY,GAAG,6CAA6C,CAAC"}
|
package/certificate.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## # Artifactory Certificate Resource
|
|
4
|
-
*
|
|
5
3
|
* Provides an Artifactory certificate resource. This can be used to create and manage Artifactory certificates which can be used as client authentication against remote repositories.
|
|
6
4
|
*
|
|
7
5
|
* ## Example Usage
|
package/certificate.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.Certificate = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Artifactory Certificate Resource
|
|
10
|
-
*
|
|
11
9
|
* Provides an Artifactory certificate resource. This can be used to create and manage Artifactory certificates which can be used as client authentication against remote repositories.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
package/certificate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificate.js","sourceRoot":"","sources":["../certificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version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AO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAgGC;AAlFG,gBAAgB;AACO,wBAAY,GAAG,2CAA2C,CAAC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This is a access token that can be given to you by your admin under `Identity and Access
|
|
2
|
+
* This is a access token that can be given to you by your admin under `Identity and Access`. If not set, the 'api_key'
|
|
3
|
+
* attribute value will be used.
|
|
3
4
|
*/
|
|
4
5
|
export declare const accessToken: string | undefined;
|
|
5
6
|
/**
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;AAOlD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,SAAS,CAAU,cAAc,CAAC,mCAAI,KAAK,CAAC;IAChE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,EAAE;IAClC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/debianRepository.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* Creates a local Debian repository and allows for the creation of a GPG key
|
|
3
|
+
* Creates a local Debian repository and allows for the creation of a GPG key.
|
|
6
4
|
*
|
|
7
5
|
* ## Example Usage
|
|
8
6
|
*
|
|
@@ -42,6 +40,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
42
40
|
* ],
|
|
43
41
|
* });
|
|
44
42
|
* ```
|
|
43
|
+
*
|
|
44
|
+
* ## Import
|
|
45
|
+
*
|
|
46
|
+
* Local repositories can be imported using their name, e.g.
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import artifactory:index/debianRepository:DebianRepository my-debian-repo my-debian-repo
|
|
50
|
+
* ```
|
|
45
51
|
*/
|
|
46
52
|
export declare class DebianRepository extends pulumi.CustomResource {
|
|
47
53
|
/**
|
|
@@ -86,17 +92,18 @@ export declare class DebianRepository extends pulumi.CustomResource {
|
|
|
86
92
|
*/
|
|
87
93
|
readonly includesPattern: pulumi.Output<string>;
|
|
88
94
|
/**
|
|
89
|
-
*
|
|
95
|
+
* The options are Bzip2 (.bz2 extension) (default), LZMA (.lzma extension)
|
|
96
|
+
* and XZ (.xz extension).
|
|
90
97
|
*/
|
|
91
98
|
readonly indexCompressionFormats: pulumi.Output<string[] | undefined>;
|
|
92
99
|
/**
|
|
93
|
-
*
|
|
100
|
+
* the identity key of the repo.
|
|
94
101
|
*/
|
|
95
102
|
readonly key: pulumi.Output<string>;
|
|
96
103
|
readonly notes: pulumi.Output<string | undefined>;
|
|
97
104
|
readonly packageType: pulumi.Output<string>;
|
|
98
105
|
/**
|
|
99
|
-
*
|
|
106
|
+
* The primary RSA key to be used to sign packages.
|
|
100
107
|
*/
|
|
101
108
|
readonly primaryKeypairRef: pulumi.Output<string | undefined>;
|
|
102
109
|
/**
|
|
@@ -121,11 +128,11 @@ export declare class DebianRepository extends pulumi.CustomResource {
|
|
|
121
128
|
*/
|
|
122
129
|
readonly repoLayoutRef: pulumi.Output<string | undefined>;
|
|
123
130
|
/**
|
|
124
|
-
*
|
|
131
|
+
* The secondary RSA key to be used to sign packages.
|
|
125
132
|
*/
|
|
126
133
|
readonly secondaryKeypairRef: pulumi.Output<string | undefined>;
|
|
127
134
|
/**
|
|
128
|
-
*
|
|
135
|
+
* When set, the repository will use the deprecated trivial layout.
|
|
129
136
|
*
|
|
130
137
|
* @deprecated You shouldn't be using this
|
|
131
138
|
*/
|
|
@@ -175,17 +182,18 @@ export interface DebianRepositoryState {
|
|
|
175
182
|
*/
|
|
176
183
|
includesPattern?: pulumi.Input<string>;
|
|
177
184
|
/**
|
|
178
|
-
*
|
|
185
|
+
* The options are Bzip2 (.bz2 extension) (default), LZMA (.lzma extension)
|
|
186
|
+
* and XZ (.xz extension).
|
|
179
187
|
*/
|
|
180
188
|
indexCompressionFormats?: pulumi.Input<pulumi.Input<string>[]>;
|
|
181
189
|
/**
|
|
182
|
-
*
|
|
190
|
+
* the identity key of the repo.
|
|
183
191
|
*/
|
|
184
192
|
key?: pulumi.Input<string>;
|
|
185
193
|
notes?: pulumi.Input<string>;
|
|
186
194
|
packageType?: pulumi.Input<string>;
|
|
187
195
|
/**
|
|
188
|
-
*
|
|
196
|
+
* The primary RSA key to be used to sign packages.
|
|
189
197
|
*/
|
|
190
198
|
primaryKeypairRef?: pulumi.Input<string>;
|
|
191
199
|
/**
|
|
@@ -210,11 +218,11 @@ export interface DebianRepositoryState {
|
|
|
210
218
|
*/
|
|
211
219
|
repoLayoutRef?: pulumi.Input<string>;
|
|
212
220
|
/**
|
|
213
|
-
*
|
|
221
|
+
* The secondary RSA key to be used to sign packages.
|
|
214
222
|
*/
|
|
215
223
|
secondaryKeypairRef?: pulumi.Input<string>;
|
|
216
224
|
/**
|
|
217
|
-
*
|
|
225
|
+
* When set, the repository will use the deprecated trivial layout.
|
|
218
226
|
*
|
|
219
227
|
* @deprecated You shouldn't be using this
|
|
220
228
|
*/
|
|
@@ -256,16 +264,17 @@ export interface DebianRepositoryArgs {
|
|
|
256
264
|
*/
|
|
257
265
|
includesPattern?: pulumi.Input<string>;
|
|
258
266
|
/**
|
|
259
|
-
*
|
|
267
|
+
* The options are Bzip2 (.bz2 extension) (default), LZMA (.lzma extension)
|
|
268
|
+
* and XZ (.xz extension).
|
|
260
269
|
*/
|
|
261
270
|
indexCompressionFormats?: pulumi.Input<pulumi.Input<string>[]>;
|
|
262
271
|
/**
|
|
263
|
-
*
|
|
272
|
+
* the identity key of the repo.
|
|
264
273
|
*/
|
|
265
274
|
key: pulumi.Input<string>;
|
|
266
275
|
notes?: pulumi.Input<string>;
|
|
267
276
|
/**
|
|
268
|
-
*
|
|
277
|
+
* The primary RSA key to be used to sign packages.
|
|
269
278
|
*/
|
|
270
279
|
primaryKeypairRef?: pulumi.Input<string>;
|
|
271
280
|
/**
|
|
@@ -290,11 +299,11 @@ export interface DebianRepositoryArgs {
|
|
|
290
299
|
*/
|
|
291
300
|
repoLayoutRef?: pulumi.Input<string>;
|
|
292
301
|
/**
|
|
293
|
-
*
|
|
302
|
+
* The secondary RSA key to be used to sign packages.
|
|
294
303
|
*/
|
|
295
304
|
secondaryKeypairRef?: pulumi.Input<string>;
|
|
296
305
|
/**
|
|
297
|
-
*
|
|
306
|
+
* When set, the repository will use the deprecated trivial layout.
|
|
298
307
|
*
|
|
299
308
|
* @deprecated You shouldn't be using this
|
|
300
309
|
*/
|
package/debianRepository.js
CHANGED
|
@@ -6,9 +6,7 @@ exports.DebianRepository = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* Creates a local Debian repository and allows for the creation of a GPG key
|
|
9
|
+
* Creates a local Debian repository and allows for the creation of a GPG key.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
14
12
|
*
|
|
@@ -48,6 +46,14 @@ const utilities = require("./utilities");
|
|
|
48
46
|
* ],
|
|
49
47
|
* });
|
|
50
48
|
* ```
|
|
49
|
+
*
|
|
50
|
+
* ## Import
|
|
51
|
+
*
|
|
52
|
+
* Local repositories can be imported using their name, e.g.
|
|
53
|
+
*
|
|
54
|
+
* ```sh
|
|
55
|
+
* $ pulumi import artifactory:index/debianRepository:DebianRepository my-debian-repo my-debian-repo
|
|
56
|
+
* ```
|
|
51
57
|
*/
|
|
52
58
|
class DebianRepository extends pulumi.CustomResource {
|
|
53
59
|
constructor(name, argsOrState, opts) {
|
package/debianRepository.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debianRepository.js","sourceRoot":"","sources":["../debianRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"debianRepository.js","sourceRoot":"","sources":["../debianRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF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I,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAsKC;AAxJG,gBAAgB;AACO,6BAAY,GAAG,qDAAqD,CAAC"}
|
package/distributionWebhook.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* ## # Artifactory Distribution Webhook Resource
|
|
5
|
-
*
|
|
6
4
|
* Provides an Artifactory webhook resource. This can be used to register and manage Artifactory webhook subscription which enables you to be notified or notify other users when such events take place in Artifactory.
|
|
7
5
|
*
|
|
8
6
|
* ## Example Usage
|
|
@@ -19,10 +17,6 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
19
17
|
* includePatterns: ["foo/**"],
|
|
20
18
|
* registeredReleaseBundleNames: ["bundle-name"],
|
|
21
19
|
* },
|
|
22
|
-
* customHttpHeaders: {
|
|
23
|
-
* "header-1": "value-1",
|
|
24
|
-
* "header-2": "value-2",
|
|
25
|
-
* },
|
|
26
20
|
* eventTypes: [
|
|
27
21
|
* "distribute_started",
|
|
28
22
|
* "distribute_completed",
|
|
@@ -32,10 +26,16 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
32
26
|
* "delete_completed",
|
|
33
27
|
* "delete_failed",
|
|
34
28
|
* ],
|
|
29
|
+
* handlers: [{
|
|
30
|
+
* customHttpHeaders: {
|
|
31
|
+
* "header-1": "value-1",
|
|
32
|
+
* "header-2": "value-2",
|
|
33
|
+
* },
|
|
34
|
+
* proxy: "proxy-key",
|
|
35
|
+
* secret: "some-secret",
|
|
36
|
+
* url: "http://tempurl.org/webhook",
|
|
37
|
+
* }],
|
|
35
38
|
* key: "distribution-webhook",
|
|
36
|
-
* proxy: "proxy-key",
|
|
37
|
-
* secret: "some-secret",
|
|
38
|
-
* url: "http://tempurl.org/webhook",
|
|
39
39
|
* });
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
@@ -59,18 +59,12 @@ export declare class DistributionWebhook extends pulumi.CustomResource {
|
|
|
59
59
|
* Specifies where the webhook will be applied on which repositories.
|
|
60
60
|
*/
|
|
61
61
|
readonly criteria: pulumi.Output<outputs.DistributionWebhookCriteria>;
|
|
62
|
-
/**
|
|
63
|
-
* Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
|
|
64
|
-
*/
|
|
65
|
-
readonly customHttpHeaders: pulumi.Output<{
|
|
66
|
-
[key: string]: string;
|
|
67
|
-
} | undefined>;
|
|
68
62
|
/**
|
|
69
63
|
* Webhook description. Max length 1000 characters.
|
|
70
64
|
*/
|
|
71
65
|
readonly description: pulumi.Output<string | undefined>;
|
|
72
66
|
/**
|
|
73
|
-
* Status of webhook. Default to 'true'
|
|
67
|
+
* Status of webhook. Default to 'true'.
|
|
74
68
|
*/
|
|
75
69
|
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
76
70
|
/**
|
|
@@ -78,21 +72,13 @@ export declare class DistributionWebhook extends pulumi.CustomResource {
|
|
|
78
72
|
*/
|
|
79
73
|
readonly eventTypes: pulumi.Output<string[]>;
|
|
80
74
|
/**
|
|
81
|
-
*
|
|
82
|
-
*/
|
|
83
|
-
readonly key: pulumi.Output<string>;
|
|
84
|
-
/**
|
|
85
|
-
* Proxy key from Artifactory Proxies setting
|
|
75
|
+
* At least one is required.
|
|
86
76
|
*/
|
|
87
|
-
readonly
|
|
77
|
+
readonly handlers: pulumi.Output<outputs.DistributionWebhookHandler[]>;
|
|
88
78
|
/**
|
|
89
|
-
*
|
|
90
|
-
*/
|
|
91
|
-
readonly secret: pulumi.Output<string | undefined>;
|
|
92
|
-
/**
|
|
93
|
-
* Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
|
|
79
|
+
* The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
|
|
94
80
|
*/
|
|
95
|
-
readonly
|
|
81
|
+
readonly key: pulumi.Output<string>;
|
|
96
82
|
/**
|
|
97
83
|
* Create a DistributionWebhook resource with the given unique name, arguments, and options.
|
|
98
84
|
*
|
|
@@ -110,18 +96,12 @@ export interface DistributionWebhookState {
|
|
|
110
96
|
* Specifies where the webhook will be applied on which repositories.
|
|
111
97
|
*/
|
|
112
98
|
criteria?: pulumi.Input<inputs.DistributionWebhookCriteria>;
|
|
113
|
-
/**
|
|
114
|
-
* Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
|
|
115
|
-
*/
|
|
116
|
-
customHttpHeaders?: pulumi.Input<{
|
|
117
|
-
[key: string]: pulumi.Input<string>;
|
|
118
|
-
}>;
|
|
119
99
|
/**
|
|
120
100
|
* Webhook description. Max length 1000 characters.
|
|
121
101
|
*/
|
|
122
102
|
description?: pulumi.Input<string>;
|
|
123
103
|
/**
|
|
124
|
-
* Status of webhook. Default to 'true'
|
|
104
|
+
* Status of webhook. Default to 'true'.
|
|
125
105
|
*/
|
|
126
106
|
enabled?: pulumi.Input<boolean>;
|
|
127
107
|
/**
|
|
@@ -129,21 +109,13 @@ export interface DistributionWebhookState {
|
|
|
129
109
|
*/
|
|
130
110
|
eventTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
131
111
|
/**
|
|
132
|
-
*
|
|
133
|
-
*/
|
|
134
|
-
key?: pulumi.Input<string>;
|
|
135
|
-
/**
|
|
136
|
-
* Proxy key from Artifactory Proxies setting
|
|
137
|
-
*/
|
|
138
|
-
proxy?: pulumi.Input<string>;
|
|
139
|
-
/**
|
|
140
|
-
* Secret authentication token that will be sent to the configured URL
|
|
112
|
+
* At least one is required.
|
|
141
113
|
*/
|
|
142
|
-
|
|
114
|
+
handlers?: pulumi.Input<pulumi.Input<inputs.DistributionWebhookHandler>[]>;
|
|
143
115
|
/**
|
|
144
|
-
*
|
|
116
|
+
* The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
|
|
145
117
|
*/
|
|
146
|
-
|
|
118
|
+
key?: pulumi.Input<string>;
|
|
147
119
|
}
|
|
148
120
|
/**
|
|
149
121
|
* The set of arguments for constructing a DistributionWebhook resource.
|
|
@@ -153,18 +125,12 @@ export interface DistributionWebhookArgs {
|
|
|
153
125
|
* Specifies where the webhook will be applied on which repositories.
|
|
154
126
|
*/
|
|
155
127
|
criteria: pulumi.Input<inputs.DistributionWebhookCriteria>;
|
|
156
|
-
/**
|
|
157
|
-
* Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
|
|
158
|
-
*/
|
|
159
|
-
customHttpHeaders?: pulumi.Input<{
|
|
160
|
-
[key: string]: pulumi.Input<string>;
|
|
161
|
-
}>;
|
|
162
128
|
/**
|
|
163
129
|
* Webhook description. Max length 1000 characters.
|
|
164
130
|
*/
|
|
165
131
|
description?: pulumi.Input<string>;
|
|
166
132
|
/**
|
|
167
|
-
* Status of webhook. Default to 'true'
|
|
133
|
+
* Status of webhook. Default to 'true'.
|
|
168
134
|
*/
|
|
169
135
|
enabled?: pulumi.Input<boolean>;
|
|
170
136
|
/**
|
|
@@ -172,19 +138,11 @@ export interface DistributionWebhookArgs {
|
|
|
172
138
|
*/
|
|
173
139
|
eventTypes: pulumi.Input<pulumi.Input<string>[]>;
|
|
174
140
|
/**
|
|
175
|
-
*
|
|
176
|
-
*/
|
|
177
|
-
key: pulumi.Input<string>;
|
|
178
|
-
/**
|
|
179
|
-
* Proxy key from Artifactory Proxies setting
|
|
141
|
+
* At least one is required.
|
|
180
142
|
*/
|
|
181
|
-
|
|
143
|
+
handlers: pulumi.Input<pulumi.Input<inputs.DistributionWebhookHandler>[]>;
|
|
182
144
|
/**
|
|
183
|
-
*
|
|
184
|
-
*/
|
|
185
|
-
secret?: pulumi.Input<string>;
|
|
186
|
-
/**
|
|
187
|
-
* Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
|
|
145
|
+
* The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
|
|
188
146
|
*/
|
|
189
|
-
|
|
147
|
+
key: pulumi.Input<string>;
|
|
190
148
|
}
|
package/distributionWebhook.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.DistributionWebhook = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Artifactory Distribution Webhook Resource
|
|
10
|
-
*
|
|
11
9
|
* Provides an Artifactory webhook resource. This can be used to register and manage Artifactory webhook subscription which enables you to be notified or notify other users when such events take place in Artifactory.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
@@ -24,10 +22,6 @@ const utilities = require("./utilities");
|
|
|
24
22
|
* includePatterns: ["foo/**"],
|
|
25
23
|
* registeredReleaseBundleNames: ["bundle-name"],
|
|
26
24
|
* },
|
|
27
|
-
* customHttpHeaders: {
|
|
28
|
-
* "header-1": "value-1",
|
|
29
|
-
* "header-2": "value-2",
|
|
30
|
-
* },
|
|
31
25
|
* eventTypes: [
|
|
32
26
|
* "distribute_started",
|
|
33
27
|
* "distribute_completed",
|
|
@@ -37,10 +31,16 @@ const utilities = require("./utilities");
|
|
|
37
31
|
* "delete_completed",
|
|
38
32
|
* "delete_failed",
|
|
39
33
|
* ],
|
|
34
|
+
* handlers: [{
|
|
35
|
+
* customHttpHeaders: {
|
|
36
|
+
* "header-1": "value-1",
|
|
37
|
+
* "header-2": "value-2",
|
|
38
|
+
* },
|
|
39
|
+
* proxy: "proxy-key",
|
|
40
|
+
* secret: "some-secret",
|
|
41
|
+
* url: "http://tempurl.org/webhook",
|
|
42
|
+
* }],
|
|
40
43
|
* key: "distribution-webhook",
|
|
41
|
-
* proxy: "proxy-key",
|
|
42
|
-
* secret: "some-secret",
|
|
43
|
-
* url: "http://tempurl.org/webhook",
|
|
44
44
|
* });
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
@@ -51,14 +51,11 @@ class DistributionWebhook extends pulumi.CustomResource {
|
|
|
51
51
|
if (opts.id) {
|
|
52
52
|
const state = argsOrState;
|
|
53
53
|
resourceInputs["criteria"] = state ? state.criteria : undefined;
|
|
54
|
-
resourceInputs["customHttpHeaders"] = state ? state.customHttpHeaders : undefined;
|
|
55
54
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
56
55
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
57
56
|
resourceInputs["eventTypes"] = state ? state.eventTypes : undefined;
|
|
57
|
+
resourceInputs["handlers"] = state ? state.handlers : undefined;
|
|
58
58
|
resourceInputs["key"] = state ? state.key : undefined;
|
|
59
|
-
resourceInputs["proxy"] = state ? state.proxy : undefined;
|
|
60
|
-
resourceInputs["secret"] = state ? state.secret : undefined;
|
|
61
|
-
resourceInputs["url"] = state ? state.url : undefined;
|
|
62
59
|
}
|
|
63
60
|
else {
|
|
64
61
|
const args = argsOrState;
|
|
@@ -68,21 +65,18 @@ class DistributionWebhook extends pulumi.CustomResource {
|
|
|
68
65
|
if ((!args || args.eventTypes === undefined) && !opts.urn) {
|
|
69
66
|
throw new Error("Missing required property 'eventTypes'");
|
|
70
67
|
}
|
|
68
|
+
if ((!args || args.handlers === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'handlers'");
|
|
70
|
+
}
|
|
71
71
|
if ((!args || args.key === undefined) && !opts.urn) {
|
|
72
72
|
throw new Error("Missing required property 'key'");
|
|
73
73
|
}
|
|
74
|
-
if ((!args || args.url === undefined) && !opts.urn) {
|
|
75
|
-
throw new Error("Missing required property 'url'");
|
|
76
|
-
}
|
|
77
74
|
resourceInputs["criteria"] = args ? args.criteria : undefined;
|
|
78
|
-
resourceInputs["customHttpHeaders"] = args ? args.customHttpHeaders : undefined;
|
|
79
75
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
80
76
|
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
81
77
|
resourceInputs["eventTypes"] = args ? args.eventTypes : undefined;
|
|
78
|
+
resourceInputs["handlers"] = args ? args.handlers : undefined;
|
|
82
79
|
resourceInputs["key"] = args ? args.key : undefined;
|
|
83
|
-
resourceInputs["proxy"] = args ? args.proxy : undefined;
|
|
84
|
-
resourceInputs["secret"] = args ? args.secret : undefined;
|
|
85
|
-
resourceInputs["url"] = args ? args.url : undefined;
|
|
86
80
|
}
|
|
87
81
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
82
|
super(DistributionWebhook.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distributionWebhook.js","sourceRoot":"","sources":["../distributionWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"distributionWebhook.js","sourceRoot":"","sources":["../distributionWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IA6D1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,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