airbyte-faros-destination 0.19.57-rc5 → 0.19.57-rc6
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/converters/azure-tfvc/changesets.d.ts +0 -8
- package/lib/converters/azure-tfvc/changesets.js +27 -124
- package/lib/converters/azure-tfvc/changesets.js.map +1 -1
- package/lib/converters/azure-tfvc/common.d.ts +1 -9
- package/lib/converters/azure-tfvc/common.js +0 -14
- package/lib/converters/azure-tfvc/common.js.map +1 -1
- package/lib/converters/azure-workitems/workitems.js +6 -10
- package/lib/converters/azure-workitems/workitems.js.map +1 -1
- package/lib/converters/github/faros_pull_requests.js +22 -28
- package/lib/converters/github/faros_pull_requests.js.map +1 -1
- package/lib/converters/github/review_comments.js +1 -4
- package/lib/converters/github/review_comments.js.map +1 -1
- package/lib/converters/harness/common.d.ts +6 -88
- package/lib/converters/harness/common.js +2 -2
- package/lib/converters/harness/common.js.map +1 -1
- package/lib/converters/harness/executions.d.ts +6 -7
- package/lib/converters/harness/executions.js +143 -170
- package/lib/converters/harness/executions.js.map +1 -1
- package/lib/converters/harness/organizations.d.ts +7 -0
- package/lib/converters/harness/organizations.js +29 -0
- package/lib/converters/harness/organizations.js.map +1 -0
- package/lib/converters/harness/pipelines.d.ts +7 -0
- package/lib/converters/harness/pipelines.js +29 -0
- package/lib/converters/harness/pipelines.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -3
- package/resources/source-specific-configs/spec.json +0 -3
- package/lib/converters/azure-tfvc/users.d.ts +0 -7
- package/lib/converters/azure-tfvc/users.js +0 -56
- package/lib/converters/azure-tfvc/users.js.map +0 -1
- package/lib/converters/github/faros_stats.d.ts +0 -10
- package/lib/converters/github/faros_stats.js +0 -107
- package/lib/converters/github/faros_stats.js.map +0 -1
- package/resources/source-specific-configs/azure-tfvc.json +0 -26
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Pipelines = void 0;
|
|
4
|
+
const common_1 = require("./common");
|
|
5
|
+
class Pipelines extends common_1.HarnessConverter {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.destinationModels = [
|
|
9
|
+
'cicd_Pipeline',
|
|
10
|
+
];
|
|
11
|
+
}
|
|
12
|
+
async convert(record) {
|
|
13
|
+
const source = this.streamName.source;
|
|
14
|
+
const pipeline = record.record.data;
|
|
15
|
+
return [
|
|
16
|
+
{
|
|
17
|
+
model: 'cicd_Pipeline',
|
|
18
|
+
record: {
|
|
19
|
+
uid: pipeline.identifier,
|
|
20
|
+
name: pipeline.name,
|
|
21
|
+
description: pipeline.description,
|
|
22
|
+
organization: { uid: pipeline.orgIdentifier, source },
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
];
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.Pipelines = Pipelines;
|
|
29
|
+
//# sourceMappingURL=pipelines.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipelines.js","sourceRoot":"","sources":["../../../src/converters/harness/pipelines.ts"],"names":[],"mappings":";;;AAGA,qCAAoD;AAEpD,MAAa,SAAU,SAAQ,yBAAgB;IAA/C;;QACW,sBAAiB,GAAoC;YAC5D,eAAe;SAChB,CAAC;IAoBJ,CAAC;IAlBC,KAAK,CAAC,OAAO,CACX,MAAqB;QAErB,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;QACtC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,IAAgB,CAAC;QAEhD,OAAO;YACL;gBACE,KAAK,EAAE,eAAe;gBACtB,MAAM,EAAE;oBACN,GAAG,EAAE,QAAQ,CAAC,UAAU;oBACxB,IAAI,EAAE,QAAQ,CAAC,IAAI;oBACnB,WAAW,EAAE,QAAQ,CAAC,WAAW;oBACjC,YAAY,EAAE,EAAC,GAAG,EAAE,QAAQ,CAAC,aAAa,EAAE,MAAM,EAAC;iBACpD;aACF;SACF,CAAC;IACJ,CAAC;CACF;AAvBD,8BAuBC"}
|