@pulumi/artifactory 2.5.0-alpha.1657824664 → 2.6.0

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.
@@ -7,7 +7,7 @@ import * as pulumi from "@pulumi/pulumi";
7
7
  * ```typescript
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as artifactory from "@pulumi/artifactory";
10
- * import * from "fs";
10
+ * import * as fs from "fs";
11
11
  *
12
12
  * const some_keypairRSA = new artifactory.Keypair("some-keypairRSA", {
13
13
  * pairName: "some-keypair",
@@ -13,7 +13,7 @@ const utilities = require("./utilities");
13
13
  * ```typescript
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as artifactory from "@pulumi/artifactory";
16
- * import * from "fs";
16
+ * import * as fs from "fs";
17
17
  *
18
18
  * const some_keypairRSA = new artifactory.Keypair("some-keypairRSA", {
19
19
  * pairName: "some-keypair",
@@ -7,7 +7,7 @@ import * as pulumi from "@pulumi/pulumi";
7
7
  * ```typescript
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as artifactory from "@pulumi/artifactory";
10
- * import * from "fs";
10
+ * import * as fs from "fs";
11
11
  *
12
12
  * const some_keypairGPG1 = new artifactory.Keypair("some-keypairGPG1", {
13
13
  * pairName: `some-keypair${random_id.randid.id}`,
@@ -13,7 +13,7 @@ const utilities = require("./utilities");
13
13
  * ```typescript
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as artifactory from "@pulumi/artifactory";
16
- * import * from "fs";
16
+ * import * as fs from "fs";
17
17
  *
18
18
  * const some_keypairGPG1 = new artifactory.Keypair("some-keypairGPG1", {
19
19
  * pairName: `some-keypair${random_id.randid.id}`,
package/keypair.d.ts CHANGED
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * ```typescript
13
13
  * import * as pulumi from "@pulumi/pulumi";
14
14
  * import * as artifactory from "@pulumi/artifactory";
15
- * import * from "fs";
15
+ * import * as fs from "fs";
16
16
  *
17
17
  * const some_keypair6543461672124900137 = new artifactory.Keypair("some-keypair6543461672124900137", {
18
18
  * pairName: "some-keypair6543461672124900137",
package/keypair.js CHANGED
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
18
18
  * ```typescript
19
19
  * import * as pulumi from "@pulumi/pulumi";
20
20
  * import * as artifactory from "@pulumi/artifactory";
21
- * import * from "fs";
21
+ * import * as fs from "fs";
22
22
  *
23
23
  * const some_keypair6543461672124900137 = new artifactory.Keypair("some-keypair6543461672124900137", {
24
24
  * pairName: "some-keypair6543461672124900137",
@@ -7,7 +7,7 @@ import * as pulumi from "@pulumi/pulumi";
7
7
  * ```typescript
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as artifactory from "@pulumi/artifactory";
10
- * import * from "fs";
10
+ * import * as fs from "fs";
11
11
  *
12
12
  * const some_keypair_gpg_1 = new artifactory.Keypair("some-keypair-gpg-1", {
13
13
  * pairName: `some-keypair${random_id.randid.id}`,
@@ -13,7 +13,7 @@ const utilities = require("./utilities");
13
13
  * ```typescript
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as artifactory from "@pulumi/artifactory";
16
- * import * from "fs";
16
+ * import * as fs from "fs";
17
17
  *
18
18
  * const some_keypair_gpg_1 = new artifactory.Keypair("some-keypair-gpg-1", {
19
19
  * pairName: `some-keypair${random_id.randid.id}`,
@@ -29,7 +29,7 @@ import * as pulumi from "@pulumi/pulumi";
29
29
  * repoLayoutRef: "maven-2-default",
30
30
  * repositories: [
31
31
  * bar.key,
32
- * artifactory_local_maven_repository_baz.key,
32
+ * baz.key,
33
33
  * ],
34
34
  * });
35
35
  * ```
@@ -35,7 +35,7 @@ const utilities = require("./utilities");
35
35
  * repoLayoutRef: "maven-2-default",
36
36
  * repositories: [
37
37
  * bar.key,
38
- * artifactory_local_maven_repository_baz.key,
38
+ * baz.key,
39
39
  * ],
40
40
  * });
41
41
  * ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/artifactory",
3
- "version": "v2.5.0-alpha.1657824664+b897faeb",
3
+ "version": "v2.6.0",
4
4
  "description": "A Pulumi package for creating and managing artifactory cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource artifactory v2.5.0-alpha.1657824664+b897faeb"
14
+ "install": "node scripts/install-pulumi-plugin.js resource artifactory v2.6.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
@@ -22,6 +22,7 @@
22
22
  "typescript": "^4.3.5"
23
23
  },
24
24
  "pulumi": {
25
- "resource": true
25
+ "resource": true,
26
+ "name": "artifactory"
26
27
  }
27
28
  }
package/package.json.bak CHANGED
@@ -22,6 +22,7 @@
22
22
  "typescript": "^4.3.5"
23
23
  },
24
24
  "pulumi": {
25
- "resource": true
25
+ "resource": true,
26
+ "name": "artifactory"
26
27
  }
27
28
  }
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/artifactory",
3
- "version": "v2.5.0-alpha.1657824664+b897faeb",
3
+ "version": "v2.6.0",
4
4
  "description": "A Pulumi package for creating and managing artifactory cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource artifactory v2.5.0-alpha.1657824664+b897faeb"
14
+ "install": "node scripts/install-pulumi-plugin.js resource artifactory v2.6.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
@@ -22,6 +22,7 @@
22
22
  "typescript": "^4.3.5"
23
23
  },
24
24
  "pulumi": {
25
- "resource": true
25
+ "resource": true,
26
+ "name": "artifactory"
26
27
  }
27
28
  }
@@ -12,22 +12,23 @@ import { input as inputs, output as outputs } from "./types";
12
12
  * import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as artifactory from "@pulumi/artifactory";
14
14
  *
15
+ * const config = new pulumi.Config();
16
+ * const artifactoryUrl = config.require("artifactoryUrl");
17
+ * const artifactoryUsername = config.require("artifactoryUsername");
18
+ * const artifactoryPassword = config.require("artifactoryPassword");
15
19
  * // Create a replication between two artifactory local repositories
16
- * const providerTestSource = new artifactory.LocalMavenRepository("provider_test_source", {
17
- * key: "provider_test_source",
18
- * });
19
- * const providerTestDest = new artifactory.LocalMavenRepository("provider_test_dest", {
20
- * key: "provider_test_dest",
21
- * });
20
+ * const providerTestSource = new artifactory.LocalMavenRepository("providerTestSource", {key: "provider_test_source"});
21
+ * const providerTestDest = new artifactory.LocalMavenRepository("providerTestDest", {key: "provider_test_dest"});
22
22
  * const foo_rep = new artifactory.PushReplication("foo-rep", {
23
+ * repoKey: providerTestSource.key,
23
24
  * cronExp: "0 0 * * * ?",
24
25
  * enableEventReplication: true,
25
26
  * replications: [{
26
- * password: "$var.artifactory_password",
27
- * url: "$var.artifactory_url",
28
- * username: "$var.artifactory_username",
27
+ * url: pulumi.interpolate`${artifactoryUrl}/${providerTestDest.key}`,
28
+ * username: `$var.artifactory_username`,
29
+ * password: `$var.artifactory_password`,
30
+ * enabled: true,
29
31
  * }],
30
- * repoKey: providerTestSource.key,
31
32
  * });
32
33
  * ```
33
34
  *
@@ -17,22 +17,23 @@ const utilities = require("./utilities");
17
17
  * import * as pulumi from "@pulumi/pulumi";
18
18
  * import * as artifactory from "@pulumi/artifactory";
19
19
  *
20
+ * const config = new pulumi.Config();
21
+ * const artifactoryUrl = config.require("artifactoryUrl");
22
+ * const artifactoryUsername = config.require("artifactoryUsername");
23
+ * const artifactoryPassword = config.require("artifactoryPassword");
20
24
  * // Create a replication between two artifactory local repositories
21
- * const providerTestSource = new artifactory.LocalMavenRepository("provider_test_source", {
22
- * key: "provider_test_source",
23
- * });
24
- * const providerTestDest = new artifactory.LocalMavenRepository("provider_test_dest", {
25
- * key: "provider_test_dest",
26
- * });
25
+ * const providerTestSource = new artifactory.LocalMavenRepository("providerTestSource", {key: "provider_test_source"});
26
+ * const providerTestDest = new artifactory.LocalMavenRepository("providerTestDest", {key: "provider_test_dest"});
27
27
  * const foo_rep = new artifactory.PushReplication("foo-rep", {
28
+ * repoKey: providerTestSource.key,
28
29
  * cronExp: "0 0 * * * ?",
29
30
  * enableEventReplication: true,
30
31
  * replications: [{
31
- * password: "$var.artifactory_password",
32
- * url: "$var.artifactory_url",
33
- * username: "$var.artifactory_username",
32
+ * url: pulumi.interpolate`${artifactoryUrl}/${providerTestDest.key}`,
33
+ * username: `$var.artifactory_username`,
34
+ * password: `$var.artifactory_password`,
35
+ * enabled: true,
34
36
  * }],
35
- * repoKey: providerTestSource.key,
36
37
  * });
37
38
  * ```
38
39
  *
@@ -1 +1 @@
1
- {"version":3,"file":"pushReplication.js","sourceRoot":"","sources":["../pushReplication.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IA4CtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAA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AAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAqEC;AAvDG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
@@ -8,7 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  * ```typescript
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as artifactory from "@pulumi/artifactory";
11
- * import * from "fs";
11
+ * import * as fs from "fs";
12
12
  *
13
13
  * const primary_keypair = new artifactory.Keypair("primary-keypair", {
14
14
  * pairName: "primary-keypair",
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
14
14
  * ```typescript
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
16
  * import * as artifactory from "@pulumi/artifactory";
17
- * import * from "fs";
17
+ * import * as fs from "fs";
18
18
  *
19
19
  * const primary_keypair = new artifactory.Keypair("primary-keypair", {
20
20
  * pairName: "primary-keypair",