oci-devops 2.54.0 → 2.55.1
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/lib/client.d.ts +99 -89
- package/lib/client.js +155 -89
- package/lib/client.js.map +1 -1
- package/lib/model/build-pipeline-parameter.d.ts +1 -1
- package/lib/model/build-runner-shape-config.d.ts +22 -0
- package/lib/model/build-runner-shape-config.js +72 -0
- package/lib/model/build-runner-shape-config.js.map +1 -0
- package/lib/model/build-stage-summary.d.ts +1 -0
- package/lib/model/build-stage-summary.js +6 -0
- package/lib/model/build-stage-summary.js.map +1 -1
- package/lib/model/build-stage.d.ts +1 -0
- package/lib/model/build-stage.js +6 -0
- package/lib/model/build-stage.js.map +1 -1
- package/lib/model/connection-summary.d.ts +2 -0
- package/lib/model/connection-summary.js +10 -2
- package/lib/model/connection-summary.js.map +1 -1
- package/lib/model/connection-validation-result.d.ts +42 -0
- package/lib/model/connection-validation-result.js +39 -0
- package/lib/model/connection-validation-result.js.map +1 -0
- package/lib/model/connection.d.ts +2 -0
- package/lib/model/connection.js +10 -2
- package/lib/model/connection.js.map +1 -1
- package/lib/model/create-build-stage-details.d.ts +1 -0
- package/lib/model/create-build-stage-details.js +6 -0
- package/lib/model/create-build-stage-details.js.map +1 -1
- package/lib/model/custom-build-runner-shape-config.d.ts +32 -0
- package/lib/model/custom-build-runner-shape-config.js +54 -0
- package/lib/model/custom-build-runner-shape-config.js.map +1 -0
- package/lib/model/default-build-runner-shape-config.d.ts +24 -0
- package/lib/model/default-build-runner-shape-config.js +54 -0
- package/lib/model/default-build-runner-shape-config.js.map +1 -0
- package/lib/model/index.d.ts +8 -0
- package/lib/model/index.js +18 -9
- package/lib/model/index.js.map +1 -1
- package/lib/model/update-build-stage-details.d.ts +1 -0
- package/lib/model/update-build-stage-details.js +6 -0
- package/lib/model/update-build-stage-details.js.map +1 -1
- package/lib/request/approve-deployment-request.d.ts +1 -1
- package/lib/request/cancel-build-run-request.d.ts +1 -1
- package/lib/request/cancel-deployment-request.d.ts +1 -1
- package/lib/request/cancel-scheduled-cascading-project-deletion-request.d.ts +1 -1
- package/lib/request/change-project-compartment-request.d.ts +1 -1
- package/lib/request/create-build-pipeline-request.d.ts +1 -1
- package/lib/request/create-build-pipeline-stage-request.d.ts +1 -1
- package/lib/request/create-build-run-request.d.ts +1 -1
- package/lib/request/create-connection-request.d.ts +1 -1
- package/lib/request/create-deploy-artifact-request.d.ts +1 -1
- package/lib/request/create-deploy-environment-request.d.ts +1 -1
- package/lib/request/create-deploy-pipeline-request.d.ts +1 -1
- package/lib/request/create-deploy-stage-request.d.ts +1 -1
- package/lib/request/create-deployment-request.d.ts +1 -1
- package/lib/request/create-project-request.d.ts +1 -1
- package/lib/request/create-repository-request.d.ts +1 -1
- package/lib/request/create-trigger-request.d.ts +1 -1
- package/lib/request/delete-build-pipeline-request.d.ts +1 -1
- package/lib/request/delete-build-pipeline-stage-request.d.ts +1 -1
- package/lib/request/delete-connection-request.d.ts +1 -1
- package/lib/request/delete-deploy-artifact-request.d.ts +1 -1
- package/lib/request/delete-deploy-environment-request.d.ts +1 -1
- package/lib/request/delete-deploy-pipeline-request.d.ts +1 -1
- package/lib/request/delete-deploy-stage-request.d.ts +1 -1
- package/lib/request/delete-project-request.d.ts +1 -1
- package/lib/request/delete-ref-request.d.ts +1 -1
- package/lib/request/delete-repository-request.d.ts +1 -1
- package/lib/request/delete-trigger-request.d.ts +1 -1
- package/lib/request/get-build-pipeline-request.d.ts +1 -1
- package/lib/request/get-build-pipeline-stage-request.d.ts +1 -1
- package/lib/request/get-build-run-request.d.ts +1 -1
- package/lib/request/get-commit-diff-request.d.ts +2 -2
- package/lib/request/get-commit-request.d.ts +1 -1
- package/lib/request/get-connection-request.d.ts +1 -1
- package/lib/request/get-deploy-artifact-request.d.ts +1 -1
- package/lib/request/get-deploy-environment-request.d.ts +1 -1
- package/lib/request/get-deploy-pipeline-request.d.ts +1 -1
- package/lib/request/get-deploy-stage-request.d.ts +1 -1
- package/lib/request/get-deployment-request.d.ts +1 -1
- package/lib/request/get-file-diff-request.d.ts +1 -1
- package/lib/request/get-mirror-record-request.d.ts +1 -1
- package/lib/request/get-object-content-request.d.ts +1 -1
- package/lib/request/get-object-request.d.ts +1 -1
- package/lib/request/get-project-request.d.ts +1 -1
- package/lib/request/get-ref-request.d.ts +1 -1
- package/lib/request/get-repo-file-diff-request.d.ts +1 -1
- package/lib/request/get-repo-file-lines-request.d.ts +1 -1
- package/lib/request/get-repository-archive-content-request.d.ts +1 -1
- package/lib/request/get-repository-file-lines-request.d.ts +1 -1
- package/lib/request/get-repository-request.d.ts +1 -1
- package/lib/request/get-trigger-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +2 -0
- package/lib/request/list-authors-request.d.ts +1 -1
- package/lib/request/list-build-pipeline-stages-request.d.ts +1 -1
- package/lib/request/list-build-pipelines-request.d.ts +1 -1
- package/lib/request/list-build-runs-request.d.ts +1 -1
- package/lib/request/list-commit-diffs-request.d.ts +1 -1
- package/lib/request/list-commits-request.d.ts +1 -1
- package/lib/request/list-connections-request.d.ts +1 -1
- package/lib/request/list-deploy-artifacts-request.d.ts +1 -1
- package/lib/request/list-deploy-environments-request.d.ts +1 -1
- package/lib/request/list-deploy-pipelines-request.d.ts +1 -1
- package/lib/request/list-deploy-stages-request.d.ts +1 -1
- package/lib/request/list-deployments-request.d.ts +1 -1
- package/lib/request/list-mirror-records-request.d.ts +1 -1
- package/lib/request/list-paths-request.d.ts +1 -1
- package/lib/request/list-projects-request.d.ts +1 -1
- package/lib/request/list-refs-request.d.ts +1 -1
- package/lib/request/list-repositories-request.d.ts +1 -1
- package/lib/request/list-triggers-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/mirror-repository-request.d.ts +1 -1
- package/lib/request/put-repository-ref-request.d.ts +1 -1
- package/lib/request/schedule-cascading-project-deletion-request.d.ts +1 -1
- package/lib/request/update-build-pipeline-request.d.ts +1 -1
- package/lib/request/update-build-pipeline-stage-request.d.ts +1 -1
- package/lib/request/update-build-run-request.d.ts +1 -1
- package/lib/request/update-connection-request.d.ts +1 -1
- package/lib/request/update-deploy-artifact-request.d.ts +1 -1
- package/lib/request/update-deploy-environment-request.d.ts +1 -1
- package/lib/request/update-deploy-pipeline-request.d.ts +1 -1
- package/lib/request/update-deploy-stage-request.d.ts +1 -1
- package/lib/request/update-deployment-request.d.ts +1 -1
- package/lib/request/update-project-request.d.ts +1 -1
- package/lib/request/update-repository-request.d.ts +1 -1
- package/lib/request/update-trigger-request.d.ts +1 -1
- package/lib/request/validate-connection-request.d.ts +34 -0
- package/lib/request/validate-connection-request.js +15 -0
- package/lib/request/validate-connection-request.js.map +1 -0
- package/lib/response/index.d.ts +2 -0
- package/lib/response/validate-connection-response.d.ts +27 -0
- package/lib/response/validate-connection-response.js +15 -0
- package/lib/response/validate-connection-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevOps API
|
|
3
|
+
* Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](/Content/devops/using/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20210630
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The information about build runner.
|
|
15
|
+
*/
|
|
16
|
+
export interface BuildRunnerShapeConfig {
|
|
17
|
+
"buildRunnerType": string;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace BuildRunnerShapeConfig {
|
|
20
|
+
function getJsonObj(obj: BuildRunnerShapeConfig): object;
|
|
21
|
+
function getDeserializedJsonObj(obj: BuildRunnerShapeConfig): object;
|
|
22
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DevOps API
|
|
4
|
+
* Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](/Content/devops/using/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20210630
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.BuildRunnerShapeConfig = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
const common = require("oci-common");
|
|
37
|
+
var BuildRunnerShapeConfig;
|
|
38
|
+
(function (BuildRunnerShapeConfig) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
41
|
+
if (obj && "buildRunnerType" in obj && obj.buildRunnerType) {
|
|
42
|
+
switch (obj.buildRunnerType) {
|
|
43
|
+
case "DEFAULT":
|
|
44
|
+
return model.DefaultBuildRunnerShapeConfig.getJsonObj(jsonObj, true);
|
|
45
|
+
case "CUSTOM":
|
|
46
|
+
return model.CustomBuildRunnerShapeConfig.getJsonObj(jsonObj, true);
|
|
47
|
+
default:
|
|
48
|
+
if (common.LOG.logger)
|
|
49
|
+
common.LOG.logger.info(`Unknown value for: ${obj.buildRunnerType}`);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
BuildRunnerShapeConfig.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
57
|
+
if (obj && "buildRunnerType" in obj && obj.buildRunnerType) {
|
|
58
|
+
switch (obj.buildRunnerType) {
|
|
59
|
+
case "DEFAULT":
|
|
60
|
+
return model.DefaultBuildRunnerShapeConfig.getDeserializedJsonObj(jsonObj, true);
|
|
61
|
+
case "CUSTOM":
|
|
62
|
+
return model.CustomBuildRunnerShapeConfig.getDeserializedJsonObj(jsonObj, true);
|
|
63
|
+
default:
|
|
64
|
+
if (common.LOG.logger)
|
|
65
|
+
common.LOG.logger.info(`Unknown value for: ${obj.buildRunnerType}`);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return jsonObj;
|
|
69
|
+
}
|
|
70
|
+
BuildRunnerShapeConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
71
|
+
})(BuildRunnerShapeConfig = exports.BuildRunnerShapeConfig || (exports.BuildRunnerShapeConfig = {}));
|
|
72
|
+
//# sourceMappingURL=build-runner-shape-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-runner-shape-config.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/build-runner-shape-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,sBAAsB,CA6CtC;AA7CD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,iBAAiB,IAAI,GAAG,IAAI,GAAG,CAAC,eAAe,EAAE;YAC1D,QAAQ,GAAG,CAAC,eAAe,EAAE;gBAC3B,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,6BAA6B,CAAC,UAAU,CACL,OAAQ,EACtD,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,4BAA4B,CAAC,UAAU,CACL,OAAQ,EACrD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,eAAe,EAAE,CAAC,CAAC;aACzE;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,iCAAU,aAqBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,iBAAiB,IAAI,GAAG,IAAI,GAAG,CAAC,eAAe,EAAE;YAC1D,QAAQ,GAAG,CAAC,eAAe,EAAE;gBAC3B,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,6BAA6B,CAAC,sBAAsB,CACjB,OAAQ,EACtD,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACjB,OAAQ,EACrD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,eAAe,EAAE,CAAC,CAAC;aACzE;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,6CAAsB,yBAqBrC,CAAA;AACH,CAAC,EA7CgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QA6CtC"}
|
|
@@ -32,6 +32,7 @@ export interface BuildStageSummary extends model.BuildPipelineStageSummary {
|
|
|
32
32
|
* Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
|
|
33
33
|
*/
|
|
34
34
|
"primaryBuildSource"?: string;
|
|
35
|
+
"buildRunnerShapeConfig"?: model.DefaultBuildRunnerShapeConfig | model.CustomBuildRunnerShapeConfig;
|
|
35
36
|
"privateAccessConfig"?: model.ServiceVnicChannel | model.PrivateEndpointChannel;
|
|
36
37
|
"buildPipelineStageType": string;
|
|
37
38
|
}
|
|
@@ -42,6 +42,9 @@ var BuildStageSummary;
|
|
|
42
42
|
"buildSourceCollection": obj.buildSourceCollection
|
|
43
43
|
? model.BuildSourceCollection.getJsonObj(obj.buildSourceCollection)
|
|
44
44
|
: undefined,
|
|
45
|
+
"buildRunnerShapeConfig": obj.buildRunnerShapeConfig
|
|
46
|
+
? model.BuildRunnerShapeConfig.getJsonObj(obj.buildRunnerShapeConfig)
|
|
47
|
+
: undefined,
|
|
45
48
|
"privateAccessConfig": obj.privateAccessConfig
|
|
46
49
|
? model.NetworkChannel.getJsonObj(obj.privateAccessConfig)
|
|
47
50
|
: undefined
|
|
@@ -57,6 +60,9 @@ var BuildStageSummary;
|
|
|
57
60
|
"buildSourceCollection": obj.buildSourceCollection
|
|
58
61
|
? model.BuildSourceCollection.getDeserializedJsonObj(obj.buildSourceCollection)
|
|
59
62
|
: undefined,
|
|
63
|
+
"buildRunnerShapeConfig": obj.buildRunnerShapeConfig
|
|
64
|
+
? model.BuildRunnerShapeConfig.getDeserializedJsonObj(obj.buildRunnerShapeConfig)
|
|
65
|
+
: undefined,
|
|
60
66
|
"privateAccessConfig": obj.privateAccessConfig
|
|
61
67
|
? model.NetworkChannel.getDeserializedJsonObj(obj.privateAccessConfig)
|
|
62
68
|
: undefined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-stage-summary.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/build-stage-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"build-stage-summary.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/build-stage-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgClC,IAAiB,iBAAiB,CA+CjC;AA/CD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB,EAAE,eAAyB;QAC1E,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAuB,CAAC,GACx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,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,wCAAsB,yBAuBrC,CAAA;AACH,CAAC,EA/CgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA+CjC"}
|
|
@@ -32,6 +32,7 @@ export interface BuildStage extends model.BuildPipelineStage {
|
|
|
32
32
|
* Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
|
|
33
33
|
*/
|
|
34
34
|
"primaryBuildSource"?: string;
|
|
35
|
+
"buildRunnerShapeConfig"?: model.DefaultBuildRunnerShapeConfig | model.CustomBuildRunnerShapeConfig;
|
|
35
36
|
"privateAccessConfig"?: model.ServiceVnicChannel | model.PrivateEndpointChannel;
|
|
36
37
|
"buildPipelineStageType": string;
|
|
37
38
|
}
|
package/lib/model/build-stage.js
CHANGED
|
@@ -49,6 +49,9 @@ var BuildStage;
|
|
|
49
49
|
"buildSourceCollection": obj.buildSourceCollection
|
|
50
50
|
? model.BuildSourceCollection.getJsonObj(obj.buildSourceCollection)
|
|
51
51
|
: undefined,
|
|
52
|
+
"buildRunnerShapeConfig": obj.buildRunnerShapeConfig
|
|
53
|
+
? model.BuildRunnerShapeConfig.getJsonObj(obj.buildRunnerShapeConfig)
|
|
54
|
+
: undefined,
|
|
52
55
|
"privateAccessConfig": obj.privateAccessConfig
|
|
53
56
|
? model.NetworkChannel.getJsonObj(obj.privateAccessConfig)
|
|
54
57
|
: undefined
|
|
@@ -64,6 +67,9 @@ var BuildStage;
|
|
|
64
67
|
"buildSourceCollection": obj.buildSourceCollection
|
|
65
68
|
? model.BuildSourceCollection.getDeserializedJsonObj(obj.buildSourceCollection)
|
|
66
69
|
: undefined,
|
|
70
|
+
"buildRunnerShapeConfig": obj.buildRunnerShapeConfig
|
|
71
|
+
? model.BuildRunnerShapeConfig.getDeserializedJsonObj(obj.buildRunnerShapeConfig)
|
|
72
|
+
: undefined,
|
|
67
73
|
"privateAccessConfig": obj.privateAccessConfig
|
|
68
74
|
? model.NetworkChannel.getDeserializedJsonObj(obj.privateAccessConfig)
|
|
69
75
|
: undefined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-stage.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/build-stage.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"build-stage.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/build-stage.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgClC,IAAiB,UAAU,CAmD1B;AAnDD,WAAiB,UAAU;IACzB,IAAY,KAOX;IAPD,WAAY,KAAK;QACf,sDAA6C,CAAA;QAC7C;;;WAGG;QACH,uCAA8B,CAAA;IAChC,CAAC,EAPW,KAAK,GAAL,gBAAK,KAAL,gBAAK,QAOhB;IAED,SAAgB,UAAU,CAAC,GAAe,EAAE,eAAyB;QACnE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAgB,CAAC,GAClF;YACD,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAAC,qBAAqB,CAAC;gBACnE,CAAC,CAAC,SAAS;YAEb,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,GAAG,CAAC,sBAAsB,CAAC;gBACrE,CAAC,CAAC,SAAS;YACb,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,mBAAmB,CAAC;gBAC1D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,qBAAU,aAkBzB,CAAA;IACY,iCAAsB,GAAG,OAAO,CAAC;IAC9C,SAAgB,sBAAsB,CAAC,GAAe,EAAE,eAAyB;QAC/E,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAAgB,CAAC,GACtE;YACD,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,GAAG,CAAC,qBAAqB,CAAC;gBAC/E,CAAC,CAAC,SAAS;YAEb,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,GAAG,CAAC,sBAAsB,CAAC;gBACjF,CAAC,CAAC,SAAS;YACb,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,mBAAmB,CAAC;gBACtE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,iCAAsB,yBAoBrC,CAAA;AACH,CAAC,EAnDgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAmD1B"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
11
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
12
|
*/
|
|
13
|
+
import * as model from "../model";
|
|
13
14
|
/**
|
|
14
15
|
* Summary information for a connection.
|
|
15
16
|
*/
|
|
@@ -42,6 +43,7 @@ export interface ConnectionSummary {
|
|
|
42
43
|
* The time the connection was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339).
|
|
43
44
|
*/
|
|
44
45
|
"timeUpdated"?: Date;
|
|
46
|
+
"lastConnectionValidationResult"?: model.ConnectionValidationResult;
|
|
45
47
|
/**
|
|
46
48
|
* A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.
|
|
47
49
|
*/
|
|
@@ -37,7 +37,11 @@ const common = require("oci-common");
|
|
|
37
37
|
var ConnectionSummary;
|
|
38
38
|
(function (ConnectionSummary) {
|
|
39
39
|
function getJsonObj(obj) {
|
|
40
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
41
|
+
"lastConnectionValidationResult": obj.lastConnectionValidationResult
|
|
42
|
+
? model.ConnectionValidationResult.getJsonObj(obj.lastConnectionValidationResult)
|
|
43
|
+
: undefined
|
|
44
|
+
});
|
|
41
45
|
if (obj && "connectionType" in obj && obj.connectionType) {
|
|
42
46
|
switch (obj.connectionType) {
|
|
43
47
|
case "BITBUCKET_CLOUD_APP_PASSWORD":
|
|
@@ -61,7 +65,11 @@ var ConnectionSummary;
|
|
|
61
65
|
}
|
|
62
66
|
ConnectionSummary.getJsonObj = getJsonObj;
|
|
63
67
|
function getDeserializedJsonObj(obj) {
|
|
64
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
68
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
69
|
+
"lastConnectionValidationResult": obj.lastConnectionValidationResult
|
|
70
|
+
? model.ConnectionValidationResult.getDeserializedJsonObj(obj.lastConnectionValidationResult)
|
|
71
|
+
: undefined
|
|
72
|
+
});
|
|
65
73
|
if (obj && "connectionType" in obj && obj.connectionType) {
|
|
66
74
|
switch (obj.connectionType) {
|
|
67
75
|
case "BITBUCKET_CLOUD_APP_PASSWORD":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection-summary.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/connection-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;
|
|
1
|
+
{"version":3,"file":"connection-summary.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/connection-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AA4DtC,IAAiB,iBAAiB,CAmGjC;AAnGD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gCAAgC,EAAE,GAAG,CAAC,8BAA8B;gBAClE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,GAAG,CAAC,8BAA8B,CAAC;gBACjF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,IAAI,GAAG,IAAI,gBAAgB,IAAI,GAAG,IAAI,GAAG,CAAC,cAAc,EAAE;YACxD,QAAQ,GAAG,CAAC,cAAc,EAAE;gBAC1B,KAAK,8BAA8B;oBACjC,OAAO,KAAK,CAAC,0CAA0C,CAAC,UAAU,CACL,OAAQ,EACnE,IAAI,CACL,CAAC;gBACJ,KAAK,kBAAkB;oBACrB,OAAO,KAAK,CAAC,+BAA+B,CAAC,UAAU,CACL,OAAQ,EACxD,IAAI,CACL,CAAC;gBACJ,KAAK,qBAAqB;oBACxB,OAAO,KAAK,CAAC,kCAAkC,CAAC,UAAU,CACL,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ,KAAK,qBAAqB;oBACxB,OAAO,KAAK,CAAC,kCAAkC,CAAC,UAAU,CACL,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ,KAAK,+BAA+B;oBAClC,OAAO,KAAK,CAAC,qCAAqC,CAAC,UAAU,CACL,OAAQ,EAC9D,IAAI,CACL,C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AA4B;oBAC/B,OAAO,KAAK,CAAC,wCAAwC,CAAC,sBAAsB,CACjB,OAAQ,EACjE,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,cAAc,EAAE,CAAC,CAAC;aAC7F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAjDe,wCAAsB,yBAiDrC,CAAA;AACH,CAAC,EAnGgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAmGjC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevOps API
|
|
3
|
+
* Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](/Content/devops/using/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20210630
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The result of validating the credentials of a connection.
|
|
15
|
+
*/
|
|
16
|
+
export interface ConnectionValidationResult {
|
|
17
|
+
/**
|
|
18
|
+
* The latest result of whether the credentials pass the validation.
|
|
19
|
+
*/
|
|
20
|
+
"result"?: ConnectionValidationResult.Result;
|
|
21
|
+
/**
|
|
22
|
+
* The latest timestamp when the connection was validated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339).
|
|
23
|
+
*/
|
|
24
|
+
"timeValidated"?: Date;
|
|
25
|
+
/**
|
|
26
|
+
* A message describing the result of connection validation in more detail.
|
|
27
|
+
*/
|
|
28
|
+
"message"?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace ConnectionValidationResult {
|
|
31
|
+
enum Result {
|
|
32
|
+
Pass = "PASS",
|
|
33
|
+
Fail = "FAIL",
|
|
34
|
+
/**
|
|
35
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
36
|
+
* version of the SDK.
|
|
37
|
+
*/
|
|
38
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
39
|
+
}
|
|
40
|
+
function getJsonObj(obj: ConnectionValidationResult): object;
|
|
41
|
+
function getDeserializedJsonObj(obj: ConnectionValidationResult): object;
|
|
42
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DevOps API
|
|
4
|
+
* Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](/Content/devops/using/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20210630
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ConnectionValidationResult = void 0;
|
|
16
|
+
var ConnectionValidationResult;
|
|
17
|
+
(function (ConnectionValidationResult) {
|
|
18
|
+
let Result;
|
|
19
|
+
(function (Result) {
|
|
20
|
+
Result["Pass"] = "PASS";
|
|
21
|
+
Result["Fail"] = "FAIL";
|
|
22
|
+
/**
|
|
23
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
24
|
+
* version of the SDK.
|
|
25
|
+
*/
|
|
26
|
+
Result["UnknownValue"] = "UNKNOWN_VALUE";
|
|
27
|
+
})(Result = ConnectionValidationResult.Result || (ConnectionValidationResult.Result = {}));
|
|
28
|
+
function getJsonObj(obj) {
|
|
29
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
30
|
+
return jsonObj;
|
|
31
|
+
}
|
|
32
|
+
ConnectionValidationResult.getJsonObj = getJsonObj;
|
|
33
|
+
function getDeserializedJsonObj(obj) {
|
|
34
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
35
|
+
return jsonObj;
|
|
36
|
+
}
|
|
37
|
+
ConnectionValidationResult.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
38
|
+
})(ConnectionValidationResult = exports.ConnectionValidationResult || (exports.ConnectionValidationResult = {}));
|
|
39
|
+
//# sourceMappingURL=connection-validation-result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection-validation-result.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/connection-validation-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuBH,IAAiB,0BAA0B,CAqB1C;AArBD,WAAiB,0BAA0B;IACzC,IAAY,MAQX;IARD,WAAY,MAAM;QAChB,uBAAa,CAAA;QACb,uBAAa,CAAA;QACb;;;WAGG;QACH,wCAA8B,CAAA;IAChC,CAAC,EARW,MAAM,GAAN,iCAAM,KAAN,iCAAM,QAQjB;IAED,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iDAAsB,yBAIrC,CAAA;AACH,CAAC,EArBgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAqB1C"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
11
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
12
|
*/
|
|
13
|
+
import * as model from "../model";
|
|
13
14
|
/**
|
|
14
15
|
* The properties that define a connection to external repositories.
|
|
15
16
|
*/
|
|
@@ -42,6 +43,7 @@ export interface Connection {
|
|
|
42
43
|
* The time the connection was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339).
|
|
43
44
|
*/
|
|
44
45
|
"timeUpdated"?: Date;
|
|
46
|
+
"lastConnectionValidationResult"?: model.ConnectionValidationResult;
|
|
45
47
|
/**
|
|
46
48
|
* A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.
|
|
47
49
|
*/
|
package/lib/model/connection.js
CHANGED
|
@@ -47,7 +47,11 @@ var Connection;
|
|
|
47
47
|
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
48
48
|
})(LifecycleState = Connection.LifecycleState || (Connection.LifecycleState = {}));
|
|
49
49
|
function getJsonObj(obj) {
|
|
50
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"lastConnectionValidationResult": obj.lastConnectionValidationResult
|
|
52
|
+
? model.ConnectionValidationResult.getJsonObj(obj.lastConnectionValidationResult)
|
|
53
|
+
: undefined
|
|
54
|
+
});
|
|
51
55
|
if (obj && "connectionType" in obj && obj.connectionType) {
|
|
52
56
|
switch (obj.connectionType) {
|
|
53
57
|
case "BITBUCKET_SERVER_ACCESS_TOKEN":
|
|
@@ -71,7 +75,11 @@ var Connection;
|
|
|
71
75
|
}
|
|
72
76
|
Connection.getJsonObj = getJsonObj;
|
|
73
77
|
function getDeserializedJsonObj(obj) {
|
|
74
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
78
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
79
|
+
"lastConnectionValidationResult": obj.lastConnectionValidationResult
|
|
80
|
+
? model.ConnectionValidationResult.getDeserializedJsonObj(obj.lastConnectionValidationResult)
|
|
81
|
+
: undefined
|
|
82
|
+
});
|
|
75
83
|
if (obj && "connectionType" in obj && obj.connectionType) {
|
|
76
84
|
switch (obj.connectionType) {
|
|
77
85
|
case "BITBUCKET_SERVER_ACCESS_TOKEN":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/connection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/connection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AA2DtC,IAAiB,UAAU,CA6G1B;AA7GD,WAAiB,UAAU;IACzB,IAAY,cAQX;IARD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EARW,cAAc,GAAd,yBAAc,KAAd,yBAAc,QAQzB;IAED,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gCAAgC,EAAE,GAAG,CAAC,8BAA8B;gBAClE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,GAAG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SAAS;SACd,CACF,CAAC;QAEF,IAAI,GAAG,IAAI,gBAAgB,IAAI,GAAG,IAAI,GAAG,CAAC,cAAc,EAAE;YACxD,QAAQ,GAAG,CAAC,cAAc,EAAE;gBAC1B,KAAK,+BAA+B;oBAClC,OAAO,KAAK,CAAC,oCAAoC,CAAC,sBAAsB,CACjB,OAAQ,EAC7D,IAAI,CACL,CAAC;gBACJ,KAAK,qBAAqB;oBACxB,OAAO,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACjB,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ,KAAK,qBAAqB;oBACxB,OAAO,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACjB,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ,KAAK,8BAA8B;oBACjC,OAAO,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CACjB,OAAQ,EAC5D,IAAI,CACL,CAAC;gBACJ,KAAK,4BAA4B;oBAC/B,OAAO,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CACjB,OAAQ,EAC1D,IAAI,CACL,CAAC;gBACJ,KAAK,kBAAkB;oBACrB,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CACjB,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,cAAc,EAAE,CAAC,CAAC;aAC7F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAjDe,iCAAsB,yBAiDrC,CAAA;AACH,CAAC,EA7GgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA6G1B"}
|
|
@@ -32,6 +32,7 @@ export interface CreateBuildStageDetails extends model.CreateBuildPipelineStageD
|
|
|
32
32
|
* Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
|
|
33
33
|
*/
|
|
34
34
|
"primaryBuildSource"?: string;
|
|
35
|
+
"buildRunnerShapeConfig"?: model.DefaultBuildRunnerShapeConfig | model.CustomBuildRunnerShapeConfig;
|
|
35
36
|
"privateAccessConfig"?: model.ServiceVnicChannel | model.PrivateEndpointChannel;
|
|
36
37
|
"buildPipelineStageType": string;
|
|
37
38
|
}
|
|
@@ -42,6 +42,9 @@ var CreateBuildStageDetails;
|
|
|
42
42
|
"buildSourceCollection": obj.buildSourceCollection
|
|
43
43
|
? model.BuildSourceCollection.getJsonObj(obj.buildSourceCollection)
|
|
44
44
|
: undefined,
|
|
45
|
+
"buildRunnerShapeConfig": obj.buildRunnerShapeConfig
|
|
46
|
+
? model.BuildRunnerShapeConfig.getJsonObj(obj.buildRunnerShapeConfig)
|
|
47
|
+
: undefined,
|
|
45
48
|
"privateAccessConfig": obj.privateAccessConfig
|
|
46
49
|
? model.NetworkChannel.getJsonObj(obj.privateAccessConfig)
|
|
47
50
|
: undefined
|
|
@@ -57,6 +60,9 @@ var CreateBuildStageDetails;
|
|
|
57
60
|
"buildSourceCollection": obj.buildSourceCollection
|
|
58
61
|
? model.BuildSourceCollection.getDeserializedJsonObj(obj.buildSourceCollection)
|
|
59
62
|
: undefined,
|
|
63
|
+
"buildRunnerShapeConfig": obj.buildRunnerShapeConfig
|
|
64
|
+
? model.BuildRunnerShapeConfig.getDeserializedJsonObj(obj.buildRunnerShapeConfig)
|
|
65
|
+
: undefined,
|
|
60
66
|
"privateAccessConfig": obj.privateAccessConfig
|
|
61
67
|
? model.NetworkChannel.getDeserializedJsonObj(obj.privateAccessConfig)
|
|
62
68
|
: undefined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-build-stage-details.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/create-build-stage-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"create-build-stage-details.js","sourceRoot":"","sources":["../../../../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AC/E,CAAC,CAAC,SAAS;YAEb,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,GAAG,CAAC,sBAAsB,CAAC;gBACjF,CAAC,CAAC,SAAS;YACb,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,mBAAmB,CAAC;gBACtE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,8CAAsB,yBAyBrC,CAAA;AACH,CAAC,EAjDgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAiDvC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevOps API
|
|
3
|
+
* Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](/Content/devops/using/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20210630
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the custom build runner shape config.
|
|
16
|
+
*/
|
|
17
|
+
export interface CustomBuildRunnerShapeConfig extends model.BuildRunnerShapeConfig {
|
|
18
|
+
/**
|
|
19
|
+
* The total number of OCPUs set for the instance. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
20
|
+
*/
|
|
21
|
+
"ocpus": number;
|
|
22
|
+
/**
|
|
23
|
+
* The total amount of memory set for the instance in gigabytes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
24
|
+
*/
|
|
25
|
+
"memoryInGBs": number;
|
|
26
|
+
"buildRunnerType": string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace CustomBuildRunnerShapeConfig {
|
|
29
|
+
function getJsonObj(obj: CustomBuildRunnerShapeConfig, isParentJsonObj?: boolean): object;
|
|
30
|
+
const buildRunnerType = "CUSTOM";
|
|
31
|
+
function getDeserializedJsonObj(obj: CustomBuildRunnerShapeConfig, isParentJsonObj?: boolean): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DevOps API
|
|
4
|
+
* Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](/Content/devops/using/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20210630
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.CustomBuildRunnerShapeConfig = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CustomBuildRunnerShapeConfig;
|
|
37
|
+
(function (CustomBuildRunnerShapeConfig) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.BuildRunnerShapeConfig.getJsonObj(obj))), {});
|
|
42
|
+
return jsonObj;
|
|
43
|
+
}
|
|
44
|
+
CustomBuildRunnerShapeConfig.getJsonObj = getJsonObj;
|
|
45
|
+
CustomBuildRunnerShapeConfig.buildRunnerType = "CUSTOM";
|
|
46
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
48
|
+
? obj
|
|
49
|
+
: model.BuildRunnerShapeConfig.getDeserializedJsonObj(obj))), {});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
CustomBuildRunnerShapeConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
53
|
+
})(CustomBuildRunnerShapeConfig = exports.CustomBuildRunnerShapeConfig || (exports.CustomBuildRunnerShapeConfig = {}));
|
|
54
|
+
//# sourceMappingURL=custom-build-runner-shape-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-build-runner-shape-config.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/custom-build-runner-shape-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,4BAA4B,CA2B5C;AA3BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC,EAAE,eAAyB;QACrF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,GAAG,CAAkC,CAAC,GAChF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,uCAAU,aASzB,CAAA;IACY,4CAAe,GAAG,QAAQ,CAAC;IACxC,SAAgB,sBAAsB,CACpC,GAAiC,EACjC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAClD,GAAG,CAC6B,CAAC,GACpC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,mDAAsB,yBAcrC,CAAA;AACH,CAAC,EA3BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA2B5C"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevOps API
|
|
3
|
+
* Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](/Content/devops/using/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20210630
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the default build runner shape config.
|
|
16
|
+
*/
|
|
17
|
+
export interface DefaultBuildRunnerShapeConfig extends model.BuildRunnerShapeConfig {
|
|
18
|
+
"buildRunnerType": string;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace DefaultBuildRunnerShapeConfig {
|
|
21
|
+
function getJsonObj(obj: DefaultBuildRunnerShapeConfig, isParentJsonObj?: boolean): object;
|
|
22
|
+
const buildRunnerType = "DEFAULT";
|
|
23
|
+
function getDeserializedJsonObj(obj: DefaultBuildRunnerShapeConfig, isParentJsonObj?: boolean): object;
|
|
24
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DevOps API
|
|
4
|
+
* Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](/Content/devops/using/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20210630
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.DefaultBuildRunnerShapeConfig = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var DefaultBuildRunnerShapeConfig;
|
|
37
|
+
(function (DefaultBuildRunnerShapeConfig) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.BuildRunnerShapeConfig.getJsonObj(obj))), {});
|
|
42
|
+
return jsonObj;
|
|
43
|
+
}
|
|
44
|
+
DefaultBuildRunnerShapeConfig.getJsonObj = getJsonObj;
|
|
45
|
+
DefaultBuildRunnerShapeConfig.buildRunnerType = "DEFAULT";
|
|
46
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
48
|
+
? obj
|
|
49
|
+
: model.BuildRunnerShapeConfig.getDeserializedJsonObj(obj))), {});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
DefaultBuildRunnerShapeConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
53
|
+
})(DefaultBuildRunnerShapeConfig = exports.DefaultBuildRunnerShapeConfig || (exports.DefaultBuildRunnerShapeConfig = {}));
|
|
54
|
+
//# sourceMappingURL=default-build-runner-shape-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-build-runner-shape-config.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/default-build-runner-shape-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,6BAA6B,CA8B7C;AA9BD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CACxB,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,GAAG,CAAmC,CAAC,GACjF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,wCAAU,aAYzB,CAAA;IACY,6CAAe,GAAG,SAAS,CAAC;IACzC,SAAgB,sBAAsB,CACpC,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAClD,GAAG,CAC8B,CAAC,GACrC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,oDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA8B7C"}
|