oci-goldengate 2.45.0 → 2.47.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 +160 -35
- package/lib/client.js +846 -70
- package/lib/client.js.map +1 -1
- package/lib/goldengate-waiter.d.ts +16 -0
- package/lib/goldengate-waiter.js +24 -0
- package/lib/goldengate-waiter.js.map +1 -1
- package/lib/model/change-connection-compartment-details.d.ts +28 -0
- package/lib/model/change-connection-compartment-details.js +30 -0
- package/lib/model/change-connection-compartment-details.js.map +1 -0
- package/lib/model/connection-assignment-collection.d.ts +29 -0
- package/lib/model/connection-assignment-collection.js +62 -0
- package/lib/model/connection-assignment-collection.js.map +1 -0
- package/lib/model/connection-assignment-summary.d.ts +65 -0
- package/lib/model/connection-assignment-summary.js +30 -0
- package/lib/model/connection-assignment-summary.js.map +1 -0
- package/lib/model/connection-assignment.d.ts +79 -0
- package/lib/model/connection-assignment.js +43 -0
- package/lib/model/connection-assignment.js.map +1 -0
- package/lib/model/connection-collection.d.ts +29 -0
- package/lib/model/connection-collection.js +62 -0
- package/lib/model/connection-collection.js.map +1 -0
- package/lib/model/connection-summary.d.ts +136 -0
- package/lib/model/connection-summary.js +97 -0
- package/lib/model/connection-summary.js.map +1 -0
- package/lib/model/connection-type.d.ts +33 -0
- package/lib/model/connection-type.js +44 -0
- package/lib/model/connection-type.js.map +1 -0
- package/lib/model/connection.d.ts +149 -0
- package/lib/model/connection.js +111 -0
- package/lib/model/connection.js.map +1 -0
- package/lib/model/create-connection-assignment-details.d.ts +34 -0
- package/lib/model/create-connection-assignment-details.js +30 -0
- package/lib/model/create-connection-assignment-details.js.map +1 -0
- package/lib/model/create-connection-details.d.ts +88 -0
- package/lib/model/create-connection-details.js +85 -0
- package/lib/model/create-connection-details.js.map +1 -0
- package/lib/model/create-database-registration-details.d.ts +42 -17
- package/lib/model/create-database-registration-details.js.map +1 -1
- package/lib/model/create-deployment-backup-details.d.ts +11 -8
- package/lib/model/create-deployment-backup-details.js.map +1 -1
- package/lib/model/create-deployment-details.d.ts +15 -11
- package/lib/model/create-deployment-details.js.map +1 -1
- package/lib/model/create-golden-gate-connection-details.d.ts +54 -0
- package/lib/model/create-golden-gate-connection-details.js +55 -0
- package/lib/model/create-golden-gate-connection-details.js.map +1 -0
- package/lib/model/create-kafka-connection-details.d.ts +99 -0
- package/lib/model/create-kafka-connection-details.js +67 -0
- package/lib/model/create-kafka-connection-details.js.map +1 -0
- package/lib/model/create-mysql-connection-details.d.ts +111 -0
- package/lib/model/create-mysql-connection-details.js +67 -0
- package/lib/model/create-mysql-connection-details.js.map +1 -0
- package/lib/model/create-oci-object-storage-connection-details.d.ts +58 -0
- package/lib/model/create-oci-object-storage-connection-details.js +55 -0
- package/lib/model/create-oci-object-storage-connection-details.js.map +1 -0
- package/lib/model/create-ogg-deployment-details.d.ts +5 -2
- package/lib/model/create-ogg-deployment-details.js.map +1 -1
- package/lib/model/create-oracle-connection-details.d.ts +78 -0
- package/lib/model/create-oracle-connection-details.js +55 -0
- package/lib/model/create-oracle-connection-details.js.map +1 -0
- package/lib/model/database-registration-summary.d.ts +39 -20
- package/lib/model/database-registration-summary.js.map +1 -1
- package/lib/model/database-registration.d.ts +60 -25
- package/lib/model/database-registration.js.map +1 -1
- package/lib/model/default-cancel-deployment-backup-details.d.ts +1 -1
- package/lib/model/default-restore-deployment-details.d.ts +1 -1
- package/lib/model/default-start-deployment-details.d.ts +1 -1
- package/lib/model/default-stop-deployment-details.d.ts +1 -1
- package/lib/model/deployment-backup-summary.d.ts +28 -17
- package/lib/model/deployment-backup-summary.js.map +1 -1
- package/lib/model/deployment-backup.d.ts +28 -17
- package/lib/model/deployment-backup.js.map +1 -1
- package/lib/model/deployment-summary.d.ts +33 -19
- package/lib/model/deployment-summary.js.map +1 -1
- package/lib/model/deployment-type-collection.d.ts +29 -0
- package/lib/model/deployment-type-collection.js +62 -0
- package/lib/model/deployment-type-collection.js.map +1 -0
- package/lib/model/deployment-type-summary.d.ts +82 -0
- package/lib/model/deployment-type-summary.js +53 -0
- package/lib/model/deployment-type-summary.js.map +1 -0
- package/lib/model/deployment-type.d.ts +3 -0
- package/lib/model/deployment-type.js +3 -0
- package/lib/model/deployment-type.js.map +1 -1
- package/lib/model/deployment-upgrade-summary.d.ts +28 -17
- package/lib/model/deployment-upgrade-summary.js.map +1 -1
- package/lib/model/deployment-upgrade.d.ts +28 -17
- package/lib/model/deployment-upgrade.js.map +1 -1
- package/lib/model/deployment.d.ts +34 -20
- package/lib/model/deployment.js.map +1 -1
- package/lib/model/golden-gate-connection-summary.d.ts +54 -0
- package/lib/model/golden-gate-connection-summary.js +55 -0
- package/lib/model/golden-gate-connection-summary.js.map +1 -0
- package/lib/model/golden-gate-connection.d.ts +62 -0
- package/lib/model/golden-gate-connection.js +62 -0
- package/lib/model/golden-gate-connection.js.map +1 -0
- package/lib/model/index.d.ts +74 -0
- package/lib/model/index.js +76 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/ingress-ip-details.d.ts +30 -0
- package/lib/model/ingress-ip-details.js +30 -0
- package/lib/model/ingress-ip-details.js.map +1 -0
- package/lib/model/kafka-bootstrap-server.d.ts +42 -0
- package/lib/model/kafka-bootstrap-server.js +30 -0
- package/lib/model/kafka-bootstrap-server.js.map +1 -0
- package/lib/model/kafka-connection-summary.d.ts +56 -0
- package/lib/model/kafka-connection-summary.js +67 -0
- package/lib/model/kafka-connection-summary.js.map +1 -0
- package/lib/model/kafka-connection.d.ts +76 -0
- package/lib/model/kafka-connection.js +87 -0
- package/lib/model/kafka-connection.js.map +1 -0
- package/lib/model/mysql-connection-summary.d.ts +80 -0
- package/lib/model/mysql-connection-summary.js +67 -0
- package/lib/model/mysql-connection-summary.js.map +1 -0
- package/lib/model/mysql-connection.d.ts +117 -0
- package/lib/model/mysql-connection.js +105 -0
- package/lib/model/mysql-connection.js.map +1 -0
- package/lib/model/name-value-pair.d.ts +33 -0
- package/lib/model/name-value-pair.js +30 -0
- package/lib/model/name-value-pair.js.map +1 -0
- package/lib/model/oci-object-storage-connection-summary.d.ts +46 -0
- package/lib/model/oci-object-storage-connection-summary.js +55 -0
- package/lib/model/oci-object-storage-connection-summary.js.map +1 -0
- package/lib/model/oci-object-storage-connection.d.ts +54 -0
- package/lib/model/oci-object-storage-connection.js +62 -0
- package/lib/model/oci-object-storage-connection.js.map +1 -0
- package/lib/model/ogg-deployment.d.ts +2 -1
- package/lib/model/ogg-deployment.js.map +1 -1
- package/lib/model/operation-type.d.ts +8 -1
- package/lib/model/operation-type.js +8 -1
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/oracle-connection-summary.d.ts +65 -0
- package/lib/model/oracle-connection-summary.js +55 -0
- package/lib/model/oracle-connection-summary.js.map +1 -0
- package/lib/model/oracle-connection.d.ts +85 -0
- package/lib/model/oracle-connection.js +75 -0
- package/lib/model/oracle-connection.js.map +1 -0
- package/lib/model/technology-type.d.ts +39 -0
- package/lib/model/technology-type.js +50 -0
- package/lib/model/technology-type.js.map +1 -0
- package/lib/model/trail-file-summary.d.ts +2 -1
- package/lib/model/trail-file-summary.js.map +1 -1
- package/lib/model/trail-sequence-summary.d.ts +2 -1
- package/lib/model/trail-sequence-summary.js.map +1 -1
- package/lib/model/update-connection-details.d.ts +78 -0
- package/lib/model/update-connection-details.js +85 -0
- package/lib/model/update-connection-details.js.map +1 -0
- package/lib/model/update-database-registration-details.d.ts +26 -14
- package/lib/model/update-database-registration-details.js.map +1 -1
- package/lib/model/update-deployment-backup-details.d.ts +11 -8
- package/lib/model/update-deployment-backup-details.js.map +1 -1
- package/lib/model/update-deployment-details.d.ts +12 -9
- package/lib/model/update-deployment-details.js.map +1 -1
- package/lib/model/update-golden-gate-connection-details.d.ts +50 -0
- package/lib/model/update-golden-gate-connection-details.js +55 -0
- package/lib/model/update-golden-gate-connection-details.js.map +1 -0
- package/lib/model/update-kafka-connection-details.d.ts +94 -0
- package/lib/model/update-kafka-connection-details.js +67 -0
- package/lib/model/update-kafka-connection-details.js.map +1 -0
- package/lib/model/update-mysql-connection-details.d.ts +107 -0
- package/lib/model/update-mysql-connection-details.js +67 -0
- package/lib/model/update-mysql-connection-details.js.map +1 -0
- package/lib/model/update-oci-object-storage-connection-details.d.ts +54 -0
- package/lib/model/update-oci-object-storage-connection-details.js +55 -0
- package/lib/model/update-oci-object-storage-connection-details.js.map +1 -0
- package/lib/model/update-ogg-deployment-details.d.ts +3 -1
- package/lib/model/update-ogg-deployment-details.js.map +1 -1
- package/lib/model/update-oracle-connection-details.d.ts +74 -0
- package/lib/model/update-oracle-connection-details.js +55 -0
- package/lib/model/update-oracle-connection-details.js.map +1 -0
- package/lib/model/upgrade-deployment-current-release-details.d.ts +1 -1
- package/lib/model/work-request-error.d.ts +4 -2
- package/lib/model/work-request-error.js.map +1 -1
- package/lib/model/work-request-log-entry.d.ts +2 -1
- package/lib/model/work-request-log-entry.js.map +1 -1
- package/lib/model/work-request-resource.d.ts +4 -1
- package/lib/model/work-request-resource.js.map +1 -1
- package/lib/model/work-request.d.ts +14 -5
- package/lib/model/work-request.js.map +1 -1
- package/lib/request/cancel-deployment-backup-request.d.ts +10 -3
- package/lib/request/change-connection-compartment-request.d.ts +42 -0
- package/lib/request/change-connection-compartment-request.js +15 -0
- package/lib/request/change-connection-compartment-request.js.map +1 -0
- package/lib/request/change-database-registration-compartment-request.d.ts +10 -3
- package/lib/request/change-deployment-backup-compartment-request.d.ts +10 -3
- package/lib/request/change-deployment-compartment-request.d.ts +10 -3
- package/lib/request/create-connection-assignment-request.d.ts +37 -0
- package/lib/request/create-connection-assignment-request.js +15 -0
- package/lib/request/create-connection-assignment-request.js.map +1 -0
- package/lib/request/create-connection-request.d.ts +38 -0
- package/lib/request/create-connection-request.js +15 -0
- package/lib/request/create-connection-request.js.map +1 -0
- package/lib/request/create-database-registration-request.d.ts +6 -2
- package/lib/request/create-deployment-backup-request.d.ts +6 -2
- package/lib/request/create-deployment-request.d.ts +6 -2
- package/lib/request/delete-connection-assignment-request.d.ts +36 -0
- package/lib/request/delete-connection-assignment-request.js +15 -0
- package/lib/request/delete-connection-assignment-request.js.map +1 -0
- package/lib/request/delete-connection-request.d.ts +36 -0
- package/lib/request/delete-connection-request.js +15 -0
- package/lib/request/delete-connection-request.js.map +1 -0
- package/lib/request/delete-database-registration-request.d.ts +5 -2
- package/lib/request/delete-deployment-backup-request.d.ts +5 -2
- package/lib/request/delete-deployment-request.d.ts +5 -2
- package/lib/request/get-connection-assignment-request.d.ts +28 -0
- package/lib/request/get-connection-assignment-request.js +15 -0
- package/lib/request/get-connection-assignment-request.js.map +1 -0
- package/lib/request/get-connection-request.d.ts +28 -0
- package/lib/request/get-connection-request.js +15 -0
- package/lib/request/get-connection-request.js.map +1 -0
- package/lib/request/get-database-registration-request.d.ts +1 -1
- package/lib/request/get-deployment-backup-request.d.ts +1 -1
- package/lib/request/get-deployment-request.d.ts +1 -1
- package/lib/request/get-deployment-upgrade-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +2 -2
- package/lib/request/index.d.ts +22 -0
- package/lib/request/index.js +7 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-connection-assignments-request.d.ts +76 -0
- package/lib/request/list-connection-assignments-request.js +24 -0
- package/lib/request/list-connection-assignments-request.js.map +1 -0
- package/lib/request/list-connections-request.d.ts +93 -0
- package/lib/request/list-connections-request.js +24 -0
- package/lib/request/list-connections-request.js.map +1 -0
- package/lib/request/list-database-registrations-request.d.ts +7 -4
- package/lib/request/list-database-registrations-request.js.map +1 -1
- package/lib/request/list-deployment-backups-request.d.ts +8 -5
- package/lib/request/list-deployment-backups-request.js.map +1 -1
- package/lib/request/list-deployment-types-request.d.ts +63 -0
- package/lib/request/list-deployment-types-request.js +24 -0
- package/lib/request/list-deployment-types-request.js.map +1 -0
- package/lib/request/list-deployment-upgrades-request.d.ts +8 -5
- package/lib/request/list-deployment-upgrades-request.js.map +1 -1
- package/lib/request/list-deployments-request.d.ts +22 -4
- package/lib/request/list-deployments-request.js.map +1 -1
- package/lib/request/list-messages-request.d.ts +3 -2
- package/lib/request/list-trail-files-request.d.ts +3 -2
- package/lib/request/list-trail-files-request.js.map +1 -1
- package/lib/request/list-trail-sequences-request.d.ts +3 -2
- package/lib/request/list-trail-sequences-request.js.map +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +4 -3
- package/lib/request/list-work-request-logs-request.d.ts +4 -3
- package/lib/request/list-work-requests-request.d.ts +5 -4
- package/lib/request/restore-deployment-request.d.ts +10 -3
- package/lib/request/start-deployment-request.d.ts +10 -3
- package/lib/request/stop-deployment-request.d.ts +10 -3
- package/lib/request/update-connection-request.d.ts +42 -0
- package/lib/request/update-connection-request.js +15 -0
- package/lib/request/update-connection-request.js.map +1 -0
- package/lib/request/update-database-registration-request.d.ts +5 -2
- package/lib/request/update-deployment-backup-request.d.ts +5 -2
- package/lib/request/update-deployment-request.d.ts +5 -2
- package/lib/request/upgrade-deployment-request.d.ts +10 -3
- package/lib/response/cancel-deployment-backup-response.d.ts +4 -2
- package/lib/response/change-connection-compartment-response.d.ts +26 -0
- package/lib/response/change-connection-compartment-response.js +15 -0
- package/lib/response/change-connection-compartment-response.js.map +1 -0
- package/lib/response/change-database-registration-compartment-response.d.ts +9 -2
- package/lib/response/change-deployment-backup-compartment-response.d.ts +2 -1
- package/lib/response/change-deployment-compartment-response.d.ts +4 -2
- package/lib/response/create-connection-assignment-response.d.ts +36 -0
- package/lib/response/create-connection-assignment-response.js +15 -0
- package/lib/response/create-connection-assignment-response.js.map +1 -0
- package/lib/response/create-connection-response.d.ts +36 -0
- package/lib/response/create-connection-response.js +15 -0
- package/lib/response/create-connection-response.js.map +1 -0
- package/lib/response/create-database-registration-response.d.ts +9 -2
- package/lib/response/create-deployment-backup-response.d.ts +4 -2
- package/lib/response/create-deployment-response.d.ts +4 -2
- package/lib/response/delete-connection-assignment-response.d.ts +26 -0
- package/lib/response/delete-connection-assignment-response.js +15 -0
- package/lib/response/delete-connection-assignment-response.js.map +1 -0
- package/lib/response/delete-connection-response.d.ts +26 -0
- package/lib/response/delete-connection-response.js +15 -0
- package/lib/response/delete-connection-response.js.map +1 -0
- package/lib/response/delete-database-registration-response.d.ts +9 -2
- package/lib/response/delete-deployment-backup-response.d.ts +4 -2
- package/lib/response/delete-deployment-response.d.ts +4 -2
- package/lib/response/get-connection-assignment-response.d.ts +30 -0
- package/lib/response/get-connection-assignment-response.js +15 -0
- package/lib/response/get-connection-assignment-response.js.map +1 -0
- package/lib/response/get-connection-response.d.ts +30 -0
- package/lib/response/get-connection-response.js +15 -0
- package/lib/response/get-connection-response.js.map +1 -0
- package/lib/response/get-database-registration-response.d.ts +7 -1
- package/lib/response/get-deployment-backup-response.d.ts +2 -1
- package/lib/response/get-deployment-response.d.ts +2 -1
- package/lib/response/get-deployment-upgrade-response.d.ts +2 -1
- package/lib/response/get-work-request-response.d.ts +2 -1
- package/lib/response/index.d.ts +22 -0
- package/lib/response/list-connection-assignments-response.d.ts +32 -0
- package/lib/response/list-connection-assignments-response.js +15 -0
- package/lib/response/list-connection-assignments-response.js.map +1 -0
- package/lib/response/list-connections-response.d.ts +32 -0
- package/lib/response/list-connections-response.js +15 -0
- package/lib/response/list-connections-response.js.map +1 -0
- package/lib/response/list-database-registrations-response.d.ts +10 -2
- package/lib/response/list-deployment-backups-response.d.ts +5 -2
- package/lib/response/list-deployment-types-response.d.ts +32 -0
- package/lib/response/list-deployment-types-response.js +15 -0
- package/lib/response/list-deployment-types-response.js.map +1 -0
- package/lib/response/list-deployment-upgrades-response.d.ts +5 -2
- package/lib/response/list-deployments-response.d.ts +5 -2
- package/lib/response/list-messages-response.d.ts +2 -1
- package/lib/response/list-trail-files-response.d.ts +5 -2
- package/lib/response/list-trail-sequences-response.d.ts +5 -2
- package/lib/response/list-work-request-errors-response.d.ts +5 -2
- package/lib/response/list-work-request-logs-response.d.ts +5 -2
- package/lib/response/list-work-requests-response.d.ts +5 -2
- package/lib/response/restore-deployment-response.d.ts +4 -2
- package/lib/response/start-deployment-response.d.ts +4 -2
- package/lib/response/stop-deployment-response.d.ts +4 -2
- package/lib/response/update-connection-response.d.ts +26 -0
- package/lib/response/update-connection-response.js +15 -0
- package/lib/response/update-connection-response.js.map +1 -0
- package/lib/response/update-database-registration-response.d.ts +9 -2
- package/lib/response/update-deployment-backup-response.d.ts +2 -1
- package/lib/response/update-deployment-response.d.ts +4 -2
- package/lib/response/upgrade-deployment-response.d.ts +4 -2
- package/package.json +3 -3
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* GoldenGate API
|
|
4
|
+
* Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20200407
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ConnectionAssignmentSummary = void 0;
|
|
17
|
+
var ConnectionAssignmentSummary;
|
|
18
|
+
(function (ConnectionAssignmentSummary) {
|
|
19
|
+
function getJsonObj(obj) {
|
|
20
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
21
|
+
return jsonObj;
|
|
22
|
+
}
|
|
23
|
+
ConnectionAssignmentSummary.getJsonObj = getJsonObj;
|
|
24
|
+
function getDeserializedJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
ConnectionAssignmentSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
29
|
+
})(ConnectionAssignmentSummary = exports.ConnectionAssignmentSummary || (exports.ConnectionAssignmentSummary = {}));
|
|
30
|
+
//# sourceMappingURL=connection-assignment-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection-assignment-summary.js","sourceRoot":"","sources":["../../../../../lib/goldengate/lib/model/connection-assignment-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAsDH,IAAiB,2BAA2B,CAW3C;AAXD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAW3C"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GoldenGate API
|
|
3
|
+
* Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations.
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20200407
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, 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
|
+
/**
|
|
15
|
+
* Represents the metadata description of a connection assignment.
|
|
16
|
+
* Before you can use a connection as a GoldenGate source or target, you must assign it to a deployment.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface ConnectionAssignment {
|
|
20
|
+
/**
|
|
21
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the connection assignment being
|
|
22
|
+
* referenced.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
"id": string;
|
|
26
|
+
/**
|
|
27
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the connection being
|
|
28
|
+
* referenced.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"connectionId": string;
|
|
32
|
+
/**
|
|
33
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the deployment being referenced.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"deploymentId": string;
|
|
37
|
+
/**
|
|
38
|
+
* Credential store alias.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"aliasName"?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced.
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
"compartmentId": string;
|
|
47
|
+
/**
|
|
48
|
+
* Possible lifecycle states for connection assignments.
|
|
49
|
+
*/
|
|
50
|
+
"lifecycleState": ConnectionAssignment.LifecycleState;
|
|
51
|
+
/**
|
|
52
|
+
* The time the resource was created. The format is defined by
|
|
53
|
+
* [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`.
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
"timeCreated": Date;
|
|
57
|
+
/**
|
|
58
|
+
* The time the resource was last updated. The format is defined by
|
|
59
|
+
* [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`.
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
"timeUpdated": Date;
|
|
63
|
+
}
|
|
64
|
+
export declare namespace ConnectionAssignment {
|
|
65
|
+
enum LifecycleState {
|
|
66
|
+
Creating = "CREATING",
|
|
67
|
+
Active = "ACTIVE",
|
|
68
|
+
Failed = "FAILED",
|
|
69
|
+
Updating = "UPDATING",
|
|
70
|
+
Deleting = "DELETING",
|
|
71
|
+
/**
|
|
72
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
73
|
+
* version of the SDK.
|
|
74
|
+
*/
|
|
75
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
76
|
+
}
|
|
77
|
+
function getJsonObj(obj: ConnectionAssignment): object;
|
|
78
|
+
function getDeserializedJsonObj(obj: ConnectionAssignment): object;
|
|
79
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* GoldenGate API
|
|
4
|
+
* Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20200407
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ConnectionAssignment = void 0;
|
|
17
|
+
var ConnectionAssignment;
|
|
18
|
+
(function (ConnectionAssignment) {
|
|
19
|
+
let LifecycleState;
|
|
20
|
+
(function (LifecycleState) {
|
|
21
|
+
LifecycleState["Creating"] = "CREATING";
|
|
22
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
23
|
+
LifecycleState["Failed"] = "FAILED";
|
|
24
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
25
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
26
|
+
/**
|
|
27
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
28
|
+
* version of the SDK.
|
|
29
|
+
*/
|
|
30
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
31
|
+
})(LifecycleState = ConnectionAssignment.LifecycleState || (ConnectionAssignment.LifecycleState = {}));
|
|
32
|
+
function getJsonObj(obj) {
|
|
33
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
34
|
+
return jsonObj;
|
|
35
|
+
}
|
|
36
|
+
ConnectionAssignment.getJsonObj = getJsonObj;
|
|
37
|
+
function getDeserializedJsonObj(obj) {
|
|
38
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
39
|
+
return jsonObj;
|
|
40
|
+
}
|
|
41
|
+
ConnectionAssignment.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
42
|
+
})(ConnectionAssignment = exports.ConnectionAssignment || (exports.ConnectionAssignment = {}));
|
|
43
|
+
//# sourceMappingURL=connection-assignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection-assignment.js","sourceRoot":"","sources":["../../../../../lib/goldengate/lib/model/connection-assignment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAwDH,IAAiB,oBAAoB,CAwBpC;AAxBD,WAAiB,oBAAoB;IACnC,IAAY,cAWX;IAXD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAXW,cAAc,GAAd,mCAAc,KAAd,mCAAc,QAWzB;IAED,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAsB,yBAIrC,CAAA;AACH,CAAC,EAxBgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAwBpC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GoldenGate API
|
|
3
|
+
* Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations.
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20200407
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, 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
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* List of connection summary objects.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface ConnectionCollection {
|
|
20
|
+
/**
|
|
21
|
+
* An array of Connection summaries.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"items": Array<model.ConnectionSummary>;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace ConnectionCollection {
|
|
27
|
+
function getJsonObj(obj: ConnectionCollection): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: ConnectionCollection): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* GoldenGate API
|
|
4
|
+
* Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20200407
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ConnectionCollection = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var ConnectionCollection;
|
|
38
|
+
(function (ConnectionCollection) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
41
|
+
"items": obj.items
|
|
42
|
+
? obj.items.map(item => {
|
|
43
|
+
return model.ConnectionSummary.getJsonObj(item);
|
|
44
|
+
})
|
|
45
|
+
: undefined
|
|
46
|
+
});
|
|
47
|
+
return jsonObj;
|
|
48
|
+
}
|
|
49
|
+
ConnectionCollection.getJsonObj = getJsonObj;
|
|
50
|
+
function getDeserializedJsonObj(obj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
52
|
+
"items": obj.items
|
|
53
|
+
? obj.items.map(item => {
|
|
54
|
+
return model.ConnectionSummary.getDeserializedJsonObj(item);
|
|
55
|
+
})
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
ConnectionCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
61
|
+
})(ConnectionCollection = exports.ConnectionCollection || (exports.ConnectionCollection = {}));
|
|
62
|
+
//# sourceMappingURL=connection-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection-collection.js","sourceRoot":"","sources":["../../../../../lib/goldengate/lib/model/connection-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,oBAAoB,CA6BpC;AA7BD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,+BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,2CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QA6BpC"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GoldenGate API
|
|
3
|
+
* Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations.
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20200407
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, 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
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Summary of the Connection.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface ConnectionSummary {
|
|
20
|
+
/**
|
|
21
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the connection being
|
|
22
|
+
* referenced.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
"id": string;
|
|
26
|
+
/**
|
|
27
|
+
* An object's Display Name.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"displayName": string;
|
|
31
|
+
/**
|
|
32
|
+
* Metadata about this specific object.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"description"?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment being referenced.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
"compartmentId": string;
|
|
41
|
+
/**
|
|
42
|
+
* A simple key-value pair that is applied without any predefined name, type, or scope. Exists
|
|
43
|
+
* for cross-compatibility only.
|
|
44
|
+
* <p>
|
|
45
|
+
Example: `{\"bar-key\": \"value\"}`
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"freeformTags"?: {
|
|
49
|
+
[key: string]: string;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Tags defined for this resource. Each key is predefined and scoped to a namespace.
|
|
53
|
+
* <p>
|
|
54
|
+
Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
"definedTags"?: {
|
|
58
|
+
[key: string]: {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* The system tags associated with this resource, if any. The system tags are set by Oracle
|
|
64
|
+
* Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more
|
|
65
|
+
* information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
66
|
+
* <p>
|
|
67
|
+
Example: `{orcl-cloud: {free-tier-retain: true}}`
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"systemTags"?: {
|
|
71
|
+
[key: string]: {
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Possible lifecycle states for connection.
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
"lifecycleState": string;
|
|
80
|
+
/**
|
|
81
|
+
* Describes the object's current state in detail. For example, it can be used to provide
|
|
82
|
+
* actionable information for a resource in a Failed state.
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
"lifecycleDetails"?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The time the resource was created. The format is defined by
|
|
88
|
+
* [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`.
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
"timeCreated": Date;
|
|
92
|
+
/**
|
|
93
|
+
* The time the resource was last updated. The format is defined by
|
|
94
|
+
* [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`.
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
97
|
+
"timeUpdated": Date;
|
|
98
|
+
/**
|
|
99
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer vault being
|
|
100
|
+
* referenced.
|
|
101
|
+
* If provided, this will reference a vault which the customer will be required to ensure
|
|
102
|
+
* the policies are established to permit the GoldenGate Service to manage secrets contained
|
|
103
|
+
* within this vault.
|
|
104
|
+
*
|
|
105
|
+
*/
|
|
106
|
+
"vaultId"?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer \"Master\" key being
|
|
109
|
+
* referenced.
|
|
110
|
+
* If provided, this will reference a key which the customer will be required to ensure
|
|
111
|
+
* the policies are established to permit the GoldenGate Service to utilize this key to
|
|
112
|
+
* manage secrets.
|
|
113
|
+
*
|
|
114
|
+
*/
|
|
115
|
+
"keyId"?: string;
|
|
116
|
+
/**
|
|
117
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet being referenced.
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
"subnetId"?: string;
|
|
121
|
+
/**
|
|
122
|
+
* List of ingress IP addresses, from where the GoldenGate deployment connects to this connection's privateIp.
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
125
|
+
"ingressIps"?: Array<model.IngressIpDetails>;
|
|
126
|
+
/**
|
|
127
|
+
* An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
"nsgIds"?: Array<string>;
|
|
131
|
+
"connectionType": string;
|
|
132
|
+
}
|
|
133
|
+
export declare namespace ConnectionSummary {
|
|
134
|
+
function getJsonObj(obj: ConnectionSummary): object;
|
|
135
|
+
function getDeserializedJsonObj(obj: ConnectionSummary): object;
|
|
136
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* GoldenGate API
|
|
4
|
+
* Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20200407
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ConnectionSummary = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
const common = require("oci-common");
|
|
38
|
+
var ConnectionSummary;
|
|
39
|
+
(function (ConnectionSummary) {
|
|
40
|
+
function getJsonObj(obj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
42
|
+
"ingressIps": obj.ingressIps
|
|
43
|
+
? obj.ingressIps.map(item => {
|
|
44
|
+
return model.IngressIpDetails.getJsonObj(item);
|
|
45
|
+
})
|
|
46
|
+
: undefined
|
|
47
|
+
});
|
|
48
|
+
if (obj && "connectionType" in obj && obj.connectionType) {
|
|
49
|
+
switch (obj.connectionType) {
|
|
50
|
+
case "GOLDENGATE":
|
|
51
|
+
return model.GoldenGateConnectionSummary.getJsonObj(jsonObj, true);
|
|
52
|
+
case "ORACLE":
|
|
53
|
+
return model.OracleConnectionSummary.getJsonObj(jsonObj, true);
|
|
54
|
+
case "MYSQL":
|
|
55
|
+
return model.MysqlConnectionSummary.getJsonObj(jsonObj, true);
|
|
56
|
+
case "KAFKA":
|
|
57
|
+
return model.KafkaConnectionSummary.getJsonObj(jsonObj, true);
|
|
58
|
+
case "OCI_OBJECT_STORAGE":
|
|
59
|
+
return model.OciObjectStorageConnectionSummary.getJsonObj(jsonObj, true);
|
|
60
|
+
default:
|
|
61
|
+
if (common.LOG.logger)
|
|
62
|
+
common.LOG.logger.info(`Unknown value for: ${obj.connectionType}`);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return jsonObj;
|
|
66
|
+
}
|
|
67
|
+
ConnectionSummary.getJsonObj = getJsonObj;
|
|
68
|
+
function getDeserializedJsonObj(obj) {
|
|
69
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
70
|
+
"ingressIps": obj.ingressIps
|
|
71
|
+
? obj.ingressIps.map(item => {
|
|
72
|
+
return model.IngressIpDetails.getDeserializedJsonObj(item);
|
|
73
|
+
})
|
|
74
|
+
: undefined
|
|
75
|
+
});
|
|
76
|
+
if (obj && "connectionType" in obj && obj.connectionType) {
|
|
77
|
+
switch (obj.connectionType) {
|
|
78
|
+
case "GOLDENGATE":
|
|
79
|
+
return model.GoldenGateConnectionSummary.getDeserializedJsonObj(jsonObj, true);
|
|
80
|
+
case "ORACLE":
|
|
81
|
+
return model.OracleConnectionSummary.getDeserializedJsonObj(jsonObj, true);
|
|
82
|
+
case "MYSQL":
|
|
83
|
+
return model.MysqlConnectionSummary.getDeserializedJsonObj(jsonObj, true);
|
|
84
|
+
case "KAFKA":
|
|
85
|
+
return model.KafkaConnectionSummary.getDeserializedJsonObj(jsonObj, true);
|
|
86
|
+
case "OCI_OBJECT_STORAGE":
|
|
87
|
+
return model.OciObjectStorageConnectionSummary.getDeserializedJsonObj(jsonObj, true);
|
|
88
|
+
default:
|
|
89
|
+
if (common.LOG.logger)
|
|
90
|
+
common.LOG.logger.info(`Unknown value for: ${obj.connectionType}`);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
return jsonObj;
|
|
94
|
+
}
|
|
95
|
+
ConnectionSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
96
|
+
})(ConnectionSummary = exports.ConnectionSummary || (exports.ConnectionSummary = {}));
|
|
97
|
+
//# sourceMappingURL=connection-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection-summary.js","sourceRoot":"","sources":["../../../../../lib/goldengate/lib/model/connection-summary.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GoldenGate API
|
|
3
|
+
* Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations.
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20200407
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, 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
|
+
/**
|
|
15
|
+
* The connection type.
|
|
16
|
+
*
|
|
17
|
+
**/
|
|
18
|
+
export declare enum ConnectionType {
|
|
19
|
+
Goldengate = "GOLDENGATE",
|
|
20
|
+
Kafka = "KAFKA",
|
|
21
|
+
Mysql = "MYSQL",
|
|
22
|
+
OciObjectStorage = "OCI_OBJECT_STORAGE",
|
|
23
|
+
Oracle = "ORACLE",
|
|
24
|
+
/**
|
|
25
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
26
|
+
* version of the SDK.
|
|
27
|
+
*/
|
|
28
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
29
|
+
}
|
|
30
|
+
export declare namespace ConnectionType {
|
|
31
|
+
function getJsonObj(obj: ConnectionType): ConnectionType;
|
|
32
|
+
function getDeserializedJsonObj(obj: ConnectionType): ConnectionType;
|
|
33
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* GoldenGate API
|
|
4
|
+
* Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20200407
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ConnectionType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The connection type.
|
|
19
|
+
*
|
|
20
|
+
**/
|
|
21
|
+
var ConnectionType;
|
|
22
|
+
(function (ConnectionType) {
|
|
23
|
+
ConnectionType["Goldengate"] = "GOLDENGATE";
|
|
24
|
+
ConnectionType["Kafka"] = "KAFKA";
|
|
25
|
+
ConnectionType["Mysql"] = "MYSQL";
|
|
26
|
+
ConnectionType["OciObjectStorage"] = "OCI_OBJECT_STORAGE";
|
|
27
|
+
ConnectionType["Oracle"] = "ORACLE";
|
|
28
|
+
/**
|
|
29
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
30
|
+
* version of the SDK.
|
|
31
|
+
*/
|
|
32
|
+
ConnectionType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
33
|
+
})(ConnectionType = exports.ConnectionType || (exports.ConnectionType = {}));
|
|
34
|
+
(function (ConnectionType) {
|
|
35
|
+
function getJsonObj(obj) {
|
|
36
|
+
return obj;
|
|
37
|
+
}
|
|
38
|
+
ConnectionType.getJsonObj = getJsonObj;
|
|
39
|
+
function getDeserializedJsonObj(obj) {
|
|
40
|
+
return obj;
|
|
41
|
+
}
|
|
42
|
+
ConnectionType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
43
|
+
})(ConnectionType = exports.ConnectionType || (exports.ConnectionType = {}));
|
|
44
|
+
//# sourceMappingURL=connection-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection-type.js","sourceRoot":"","sources":["../../../../../lib/goldengate/lib/model/connection-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAKH;;;IAGI;AACJ,IAAY,cAYX;AAZD,WAAY,cAAc;IACxB,2CAAyB,CAAA;IACzB,iCAAe,CAAA;IACf,iCAAe,CAAA;IACf,yDAAuC,CAAA;IACvC,mCAAiB,CAAA;IAEjB;;;OAGG;IACH,gDAA8B,CAAA;AAChC,CAAC,EAZW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAYzB;AAED,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,yBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,qCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAO9B"}
|