oci-devops 2.114.0 → 2.115.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.
- package/lib/client.d.ts +20 -0
- package/lib/client.js +132 -0
- package/lib/client.js.map +1 -1
- package/lib/model/build-stage-run-progress.d.ts +1 -0
- package/lib/model/build-stage-run-progress.js +1 -0
- package/lib/model/build-stage-run-progress.js.map +1 -1
- package/lib/model/build-stage.d.ts +1 -0
- package/lib/model/build-stage.js +1 -0
- package/lib/model/build-stage.js.map +1 -1
- package/lib/model/create-or-update-protected-branch-details.d.ts +1 -1
- package/lib/model/delete-protected-branch-details.d.ts +1 -1
- package/lib/model/index.d.ts +0 -10
- package/lib/model/index.js +9 -19
- package/lib/model/index.js.map +1 -1
- package/lib/model/merge-check-settings-value.d.ts +1 -1
- package/lib/model/merge-check-settings-value.js +1 -1
- package/lib/model/merge-settings.d.ts +2 -2
- package/lib/model/protected-branch.d.ts +1 -1
- package/lib/model/pull-request.d.ts +4 -0
- package/lib/model/pull-request.js.map +1 -1
- package/lib/model/repository-commit.d.ts +4 -0
- package/lib/model/repository-commit.js.map +1 -1
- package/lib/request/index.d.ts +4 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/reopen-pull-request-comment-request.d.ts +34 -0
- package/lib/request/reopen-pull-request-comment-request.js +15 -0
- package/lib/request/reopen-pull-request-comment-request.js.map +1 -0
- package/lib/request/resolve-pull-request-comment-request.d.ts +34 -0
- package/lib/request/resolve-pull-request-comment-request.js +15 -0
- package/lib/request/resolve-pull-request-comment-request.js.map +1 -0
- package/lib/response/index.d.ts +4 -0
- package/lib/response/reopen-pull-request-comment-response.d.ts +27 -0
- package/lib/response/reopen-pull-request-comment-response.js +15 -0
- package/lib/response/reopen-pull-request-comment-response.js.map +1 -0
- package/lib/response/resolve-pull-request-comment-response.d.ts +27 -0
- package/lib/response/resolve-pull-request-comment-response.js +15 -0
- package/lib/response/resolve-pull-request-comment-response.js.map +1 -0
- package/package.json +3 -3
- package/lib/model/generic-artifact-location-details.d.ts +0 -22
- package/lib/model/generic-artifact-location-details.js +0 -68
- package/lib/model/generic-artifact-location-details.js.map +0 -1
- package/lib/model/generic-artifacts.d.ts +0 -29
- package/lib/model/generic-artifacts.js +0 -60
- package/lib/model/generic-artifacts.js.map +0 -1
- package/lib/model/object-storage-generic-artifact-location-details.d.ts +0 -40
- package/lib/model/object-storage-generic-artifact-location-details.js +0 -54
- package/lib/model/object-storage-generic-artifact-location-details.js.map +0 -1
- package/lib/model/stage-output.d.ts +0 -26
- package/lib/model/stage-output.js +0 -72
- package/lib/model/stage-output.js.map +0 -1
- package/lib/model/test-report-output.d.ts +0 -28
- package/lib/model/test-report-output.js +0 -52
- package/lib/model/test-report-output.js.map +0 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
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, 2025, 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
|
+
//# sourceMappingURL=reopen-pull-request-comment-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reopen-pull-request-comment-request.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/request/reopen-pull-request-comment-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
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, 2025, 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 common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/devops/ResolvePullRequestComment.ts.html |here} to see how to use ResolvePullRequestCommentRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface ResolvePullRequestCommentRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* unique PullRequest identifier
|
|
20
|
+
*/
|
|
21
|
+
"pullRequestId": string;
|
|
22
|
+
/**
|
|
23
|
+
* unique PullRequest Comment identifier
|
|
24
|
+
*/
|
|
25
|
+
"commentId": string;
|
|
26
|
+
/**
|
|
27
|
+
* For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match} parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
28
|
+
*/
|
|
29
|
+
"ifMatch"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
|
|
32
|
+
*/
|
|
33
|
+
"opcRequestId"?: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
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, 2025, 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
|
+
//# sourceMappingURL=resolve-pull-request-comment-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-pull-request-comment-request.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/request/resolve-pull-request-comment-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
package/lib/response/index.d.ts
CHANGED
|
@@ -238,6 +238,10 @@ import * as PutRepositoryRefResponse from "./put-repository-ref-response";
|
|
|
238
238
|
export import PutRepositoryRefResponse = PutRepositoryRefResponse.PutRepositoryRefResponse;
|
|
239
239
|
import * as ReopenPullRequestResponse from "./reopen-pull-request-response";
|
|
240
240
|
export import ReopenPullRequestResponse = ReopenPullRequestResponse.ReopenPullRequestResponse;
|
|
241
|
+
import * as ReopenPullRequestCommentResponse from "./reopen-pull-request-comment-response";
|
|
242
|
+
export import ReopenPullRequestCommentResponse = ReopenPullRequestCommentResponse.ReopenPullRequestCommentResponse;
|
|
243
|
+
import * as ResolvePullRequestCommentResponse from "./resolve-pull-request-comment-response";
|
|
244
|
+
export import ResolvePullRequestCommentResponse = ResolvePullRequestCommentResponse.ResolvePullRequestCommentResponse;
|
|
241
245
|
import * as ReviewPullRequestResponse from "./review-pull-request-response";
|
|
242
246
|
export import ReviewPullRequestResponse = ReviewPullRequestResponse.ReviewPullRequestResponse;
|
|
243
247
|
import * as ScheduleCascadingProjectDeletionResponse from "./schedule-cascading-project-deletion-response";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
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, 2025, 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
|
+
export interface ReopenPullRequestCommentResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
|
|
17
|
+
*/
|
|
18
|
+
"opcRequestId": string;
|
|
19
|
+
/**
|
|
20
|
+
* For optimistic concurrency control. See {@code if-match}.
|
|
21
|
+
*/
|
|
22
|
+
"etag": string;
|
|
23
|
+
/**
|
|
24
|
+
* The returned model.PullRequestComment instance.
|
|
25
|
+
*/
|
|
26
|
+
"pullRequestComment": model.PullRequestComment;
|
|
27
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
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, 2025, 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
|
+
//# sourceMappingURL=reopen-pull-request-comment-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reopen-pull-request-comment-response.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/response/reopen-pull-request-comment-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
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, 2025, 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
|
+
export interface ResolvePullRequestCommentResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
|
|
17
|
+
*/
|
|
18
|
+
"opcRequestId": string;
|
|
19
|
+
/**
|
|
20
|
+
* For optimistic concurrency control. See {@code if-match}.
|
|
21
|
+
*/
|
|
22
|
+
"etag": string;
|
|
23
|
+
/**
|
|
24
|
+
* The returned model.PullRequestComment instance.
|
|
25
|
+
*/
|
|
26
|
+
"pullRequestComment": model.PullRequestComment;
|
|
27
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
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, 2025, 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
|
+
//# sourceMappingURL=resolve-pull-request-comment-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-pull-request-comment-response.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/response/resolve-pull-request-comment-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-devops",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.115.0",
|
|
4
4
|
"description": "OCI NodeJS client for Devops Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.115.0",
|
|
19
|
+
"oci-workrequests": "2.115.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|
|
@@ -1,22 +0,0 @@
|
|
|
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](https://docs.oracle.com/iaas/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, 2025, 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
|
-
* Location where artifact is uploaded for user access.
|
|
15
|
-
*/
|
|
16
|
-
export interface GenericArtifactLocationDetails {
|
|
17
|
-
"storageType": string;
|
|
18
|
-
}
|
|
19
|
-
export declare namespace GenericArtifactLocationDetails {
|
|
20
|
-
function getJsonObj(obj: GenericArtifactLocationDetails): object;
|
|
21
|
-
function getDeserializedJsonObj(obj: GenericArtifactLocationDetails): object;
|
|
22
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
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](https://docs.oracle.com/iaas/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, 2025, 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.GenericArtifactLocationDetails = void 0;
|
|
35
|
-
const model = __importStar(require("../model"));
|
|
36
|
-
const common = require("oci-common");
|
|
37
|
-
var GenericArtifactLocationDetails;
|
|
38
|
-
(function (GenericArtifactLocationDetails) {
|
|
39
|
-
function getJsonObj(obj) {
|
|
40
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
41
|
-
if (obj && "storageType" in obj && obj.storageType) {
|
|
42
|
-
switch (obj.storageType) {
|
|
43
|
-
case "OBJECT_STORAGE":
|
|
44
|
-
return model.ObjectStorageGenericArtifactLocationDetails.getJsonObj(jsonObj, true);
|
|
45
|
-
default:
|
|
46
|
-
if (common.LOG.logger)
|
|
47
|
-
common.LOG.logger.info(`Unknown value for: ${obj.storageType}`);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
return jsonObj;
|
|
51
|
-
}
|
|
52
|
-
GenericArtifactLocationDetails.getJsonObj = getJsonObj;
|
|
53
|
-
function getDeserializedJsonObj(obj) {
|
|
54
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
55
|
-
if (obj && "storageType" in obj && obj.storageType) {
|
|
56
|
-
switch (obj.storageType) {
|
|
57
|
-
case "OBJECT_STORAGE":
|
|
58
|
-
return model.ObjectStorageGenericArtifactLocationDetails.getDeserializedJsonObj(jsonObj, true);
|
|
59
|
-
default:
|
|
60
|
-
if (common.LOG.logger)
|
|
61
|
-
common.LOG.logger.info(`Unknown value for: ${obj.storageType}`);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
return jsonObj;
|
|
65
|
-
}
|
|
66
|
-
GenericArtifactLocationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
67
|
-
})(GenericArtifactLocationDetails = exports.GenericArtifactLocationDetails || (exports.GenericArtifactLocationDetails = {}));
|
|
68
|
-
//# sourceMappingURL=generic-artifact-location-details.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generic-artifact-location-details.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/generic-artifact-location-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,8BAA8B,CAiC9C;AAjCD,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CAAC,GAAmC;QAC5D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,aAAa,IAAI,GAAG,IAAI,GAAG,CAAC,WAAW,EAAE;YAClD,QAAQ,GAAG,CAAC,WAAW,EAAE;gBACvB,KAAK,gBAAgB;oBACnB,OAAO,KAAK,CAAC,2CAA2C,CAAC,UAAU,CACL,OAAQ,EACpE,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;aAC1F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,yCAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmC;QACxE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,aAAa,IAAI,GAAG,IAAI,GAAG,CAAC,WAAW,EAAE;YAClD,QAAQ,GAAG,CAAC,WAAW,EAAE;gBACvB,KAAK,gBAAgB;oBACnB,OAAO,KAAK,CAAC,2CAA2C,CAAC,sBAAsB,CACjB,OAAQ,EACpE,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;aAC1F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,qDAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAiC9C"}
|
|
@@ -1,29 +0,0 @@
|
|
|
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](https://docs.oracle.com/iaas/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, 2025, 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
|
-
* Details of artifact generated via pipeline run
|
|
16
|
-
*/
|
|
17
|
-
export interface GenericArtifacts extends model.StageOutput {
|
|
18
|
-
/**
|
|
19
|
-
* Name of artifact.
|
|
20
|
-
*/
|
|
21
|
-
"name": string;
|
|
22
|
-
"locationDetails": model.ObjectStorageGenericArtifactLocationDetails;
|
|
23
|
-
"outputType": string;
|
|
24
|
-
}
|
|
25
|
-
export declare namespace GenericArtifacts {
|
|
26
|
-
function getJsonObj(obj: GenericArtifacts, isParentJsonObj?: boolean): object;
|
|
27
|
-
const outputType = "ARTIFACT";
|
|
28
|
-
function getDeserializedJsonObj(obj: GenericArtifacts, isParentJsonObj?: boolean): object;
|
|
29
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
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](https://docs.oracle.com/iaas/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, 2025, 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.GenericArtifacts = void 0;
|
|
35
|
-
const model = __importStar(require("../model"));
|
|
36
|
-
var GenericArtifacts;
|
|
37
|
-
(function (GenericArtifacts) {
|
|
38
|
-
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
-
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.StageOutput.getJsonObj(obj))), {
|
|
40
|
-
"locationDetails": obj.locationDetails
|
|
41
|
-
? model.GenericArtifactLocationDetails.getJsonObj(obj.locationDetails)
|
|
42
|
-
: undefined
|
|
43
|
-
});
|
|
44
|
-
return jsonObj;
|
|
45
|
-
}
|
|
46
|
-
GenericArtifacts.getJsonObj = getJsonObj;
|
|
47
|
-
GenericArtifacts.outputType = "ARTIFACT";
|
|
48
|
-
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
49
|
-
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
50
|
-
? obj
|
|
51
|
-
: model.StageOutput.getDeserializedJsonObj(obj))), {
|
|
52
|
-
"locationDetails": obj.locationDetails
|
|
53
|
-
? model.GenericArtifactLocationDetails.getDeserializedJsonObj(obj.locationDetails)
|
|
54
|
-
: undefined
|
|
55
|
-
});
|
|
56
|
-
return jsonObj;
|
|
57
|
-
}
|
|
58
|
-
GenericArtifacts.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
59
|
-
})(GenericArtifacts = exports.GenericArtifacts || (exports.GenericArtifacts = {}));
|
|
60
|
-
//# sourceMappingURL=generic-artifacts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generic-artifacts.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/generic-artifacts.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,gBAAgB,CA4BhC;AA5BD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB,EAAE,eAAyB;QACzE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,CAAsB,CAAC,GACjF;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACtE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,2BAAU,aAWzB,CAAA;IACY,2BAAU,GAAG,UAAU,CAAC;IACrC,SAAgB,sBAAsB,CAAC,GAAqB,EAAE,eAAyB;QACrF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,GAAG,CAAsB,CAAC,GACrE;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBAClF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAsB,yBAarC,CAAA;AACH,CAAC,EA5BgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA4BhC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
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](https://docs.oracle.com/iaas/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, 2025, 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
|
-
* ObjectStorage bucket details where artifact is located.
|
|
16
|
-
*/
|
|
17
|
-
export interface ObjectStorageGenericArtifactLocationDetails extends model.GenericArtifactLocationDetails {
|
|
18
|
-
/**
|
|
19
|
-
* Unique namespace in the tenancy which contains the bucket
|
|
20
|
-
*/
|
|
21
|
-
"namespace": string;
|
|
22
|
-
/**
|
|
23
|
-
* Specifies the Object Storage bucket.
|
|
24
|
-
*/
|
|
25
|
-
"bucketName": string;
|
|
26
|
-
/**
|
|
27
|
-
* Specifies the name of object inside the bucket.
|
|
28
|
-
*/
|
|
29
|
-
"objectName": string;
|
|
30
|
-
/**
|
|
31
|
-
* Region identifier.
|
|
32
|
-
*/
|
|
33
|
-
"region": string;
|
|
34
|
-
"storageType": string;
|
|
35
|
-
}
|
|
36
|
-
export declare namespace ObjectStorageGenericArtifactLocationDetails {
|
|
37
|
-
function getJsonObj(obj: ObjectStorageGenericArtifactLocationDetails, isParentJsonObj?: boolean): object;
|
|
38
|
-
const storageType = "OBJECT_STORAGE";
|
|
39
|
-
function getDeserializedJsonObj(obj: ObjectStorageGenericArtifactLocationDetails, isParentJsonObj?: boolean): object;
|
|
40
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
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](https://docs.oracle.com/iaas/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, 2025, 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.ObjectStorageGenericArtifactLocationDetails = void 0;
|
|
35
|
-
const model = __importStar(require("../model"));
|
|
36
|
-
var ObjectStorageGenericArtifactLocationDetails;
|
|
37
|
-
(function (ObjectStorageGenericArtifactLocationDetails) {
|
|
38
|
-
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
-
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
-
? obj
|
|
41
|
-
: model.GenericArtifactLocationDetails.getJsonObj(obj))), {});
|
|
42
|
-
return jsonObj;
|
|
43
|
-
}
|
|
44
|
-
ObjectStorageGenericArtifactLocationDetails.getJsonObj = getJsonObj;
|
|
45
|
-
ObjectStorageGenericArtifactLocationDetails.storageType = "OBJECT_STORAGE";
|
|
46
|
-
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
47
|
-
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
48
|
-
? obj
|
|
49
|
-
: model.GenericArtifactLocationDetails.getDeserializedJsonObj(obj))), {});
|
|
50
|
-
return jsonObj;
|
|
51
|
-
}
|
|
52
|
-
ObjectStorageGenericArtifactLocationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
53
|
-
})(ObjectStorageGenericArtifactLocationDetails = exports.ObjectStorageGenericArtifactLocationDetails || (exports.ObjectStorageGenericArtifactLocationDetails = {}));
|
|
54
|
-
//# sourceMappingURL=object-storage-generic-artifact-location-details.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"object-storage-generic-artifact-location-details.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/object-storage-generic-artifact-location-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4BlC,IAAiB,2CAA2C,CAgC3D;AAhCD,WAAiB,2CAA2C;IAC1D,SAAgB,UAAU,CACxB,GAAgD,EAChD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,8BAA8B,CAAC,UAAU,CAC9C,GAAG,CAC4C,CAAC,GACnD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,sDAAU,aAczB,CAAA;IACY,uDAAW,GAAG,gBAAgB,CAAC;IAC5C,SAAgB,sBAAsB,CACpC,GAAgD,EAChD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,8BAA8B,CAAC,sBAAsB,CAC1D,GAAG,CAC4C,CAAC,GACnD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,kEAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,2CAA2C,GAA3C,mDAA2C,KAA3C,mDAA2C,QAgC3D"}
|
|
@@ -1,26 +0,0 @@
|
|
|
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](https://docs.oracle.com/iaas/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, 2025, 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
|
-
* Details of the generated artifact or report.
|
|
15
|
-
*/
|
|
16
|
-
export interface StageOutput {
|
|
17
|
-
/**
|
|
18
|
-
* Name of stage step at which this output is generated.
|
|
19
|
-
*/
|
|
20
|
-
"stepName": string;
|
|
21
|
-
"outputType": string;
|
|
22
|
-
}
|
|
23
|
-
export declare namespace StageOutput {
|
|
24
|
-
function getJsonObj(obj: StageOutput): object;
|
|
25
|
-
function getDeserializedJsonObj(obj: StageOutput): object;
|
|
26
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
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](https://docs.oracle.com/iaas/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, 2025, 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.StageOutput = void 0;
|
|
35
|
-
const model = __importStar(require("../model"));
|
|
36
|
-
const common = require("oci-common");
|
|
37
|
-
var StageOutput;
|
|
38
|
-
(function (StageOutput) {
|
|
39
|
-
function getJsonObj(obj) {
|
|
40
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
41
|
-
if (obj && "outputType" in obj && obj.outputType) {
|
|
42
|
-
switch (obj.outputType) {
|
|
43
|
-
case "TEST_REPORT":
|
|
44
|
-
return model.TestReportOutput.getJsonObj(jsonObj, true);
|
|
45
|
-
case "ARTIFACT":
|
|
46
|
-
return model.GenericArtifacts.getJsonObj(jsonObj, true);
|
|
47
|
-
default:
|
|
48
|
-
if (common.LOG.logger)
|
|
49
|
-
common.LOG.logger.info(`Unknown value for: ${obj.outputType}`);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
return jsonObj;
|
|
53
|
-
}
|
|
54
|
-
StageOutput.getJsonObj = getJsonObj;
|
|
55
|
-
function getDeserializedJsonObj(obj) {
|
|
56
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
57
|
-
if (obj && "outputType" in obj && obj.outputType) {
|
|
58
|
-
switch (obj.outputType) {
|
|
59
|
-
case "TEST_REPORT":
|
|
60
|
-
return model.TestReportOutput.getDeserializedJsonObj(jsonObj, true);
|
|
61
|
-
case "ARTIFACT":
|
|
62
|
-
return model.GenericArtifacts.getDeserializedJsonObj(jsonObj, true);
|
|
63
|
-
default:
|
|
64
|
-
if (common.LOG.logger)
|
|
65
|
-
common.LOG.logger.info(`Unknown value for: ${obj.outputType}`);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
return jsonObj;
|
|
69
|
-
}
|
|
70
|
-
StageOutput.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
71
|
-
})(StageOutput = exports.StageOutput || (exports.StageOutput = {}));
|
|
72
|
-
//# sourceMappingURL=stage-output.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stage-output.js","sourceRoot":"","sources":["../../../../../lib/devops/lib/model/stage-output.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AActC,IAAiB,WAAW,CAqC3B;AArCD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAkC,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAC5F,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAkC,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAC5F;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,sBAAU,aAczB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CACjB,OAAQ,EACzC,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CACjB,OAAQ,EACzC,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,kCAAsB,yBAoBrC,CAAA;AACH,CAAC,EArCgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAqC3B"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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](https://docs.oracle.com/iaas/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, 2025, 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
|
-
* Details of test report generated via pipeline run
|
|
16
|
-
*/
|
|
17
|
-
export interface TestReportOutput extends model.StageOutput {
|
|
18
|
-
/**
|
|
19
|
-
* The OCID of the test report.
|
|
20
|
-
*/
|
|
21
|
-
"id": string;
|
|
22
|
-
"outputType": string;
|
|
23
|
-
}
|
|
24
|
-
export declare namespace TestReportOutput {
|
|
25
|
-
function getJsonObj(obj: TestReportOutput, isParentJsonObj?: boolean): object;
|
|
26
|
-
const outputType = "TEST_REPORT";
|
|
27
|
-
function getDeserializedJsonObj(obj: TestReportOutput, isParentJsonObj?: boolean): object;
|
|
28
|
-
}
|