@sap/artifact-management 1.53.2 → 1.53.3

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.
Files changed (40) hide show
  1. package/dist/src/definitions/PluginDefintionProvider.js +0 -6
  2. package/dist/src/definitions/PluginDefintionProvider.js.map +1 -1
  3. package/dist/tsconfig.tsbuildinfo +252 -323
  4. package/package.json +8 -12
  5. package/dist/src/plugins/dataproduct/InfoList.js +0 -43
  6. package/dist/src/plugins/dataproduct/InfoList.js.map +0 -1
  7. package/dist/src/plugins/dataproduct/index.js +0 -36
  8. package/dist/src/plugins/dataproduct/index.js.map +0 -1
  9. package/dist/src/plugins/dataproduct/readers/DataProductItemReader.js +0 -163
  10. package/dist/src/plugins/dataproduct/readers/DataProductItemReader.js.map +0 -1
  11. package/dist/src/plugins/dataproduct/readers/DataProductModuleReader.js +0 -43
  12. package/dist/src/plugins/dataproduct/readers/DataProductModuleReader.js.map +0 -1
  13. package/dist/src/plugins/dataproduct/readers/DataProductProjectReader.js +0 -59
  14. package/dist/src/plugins/dataproduct/readers/DataProductProjectReader.js.map +0 -1
  15. package/dist/src/plugins/dataproduct/types/DataProductDefinition.js +0 -6
  16. package/dist/src/plugins/dataproduct/types/DataProductDefinition.js.map +0 -1
  17. package/dist/src/plugins/doc/index.js +0 -27
  18. package/dist/src/plugins/doc/index.js.map +0 -1
  19. package/dist/src/plugins/doc/readers/DocModuleReader.js +0 -88
  20. package/dist/src/plugins/doc/readers/DocModuleReader.js.map +0 -1
  21. package/dist/src/plugins/doc/readers/DocProjectReader.js +0 -55
  22. package/dist/src/plugins/doc/readers/DocProjectReader.js.map +0 -1
  23. package/dist/src/plugins/workflow/index.js +0 -27
  24. package/dist/src/plugins/workflow/index.js.map +0 -1
  25. package/dist/src/plugins/workflow/readers/WorkflowModuleReader.js +0 -78
  26. package/dist/src/plugins/workflow/readers/WorkflowModuleReader.js.map +0 -1
  27. package/dist/src/plugins/workflow/readers/WorkflowProjectReader.js +0 -44
  28. package/dist/src/plugins/workflow/readers/WorkflowProjectReader.js.map +0 -1
  29. package/dist/types/src/plugins/dataproduct/InfoList.d.ts +0 -37
  30. package/dist/types/src/plugins/dataproduct/index.d.ts +0 -8
  31. package/dist/types/src/plugins/dataproduct/readers/DataProductItemReader.d.ts +0 -34
  32. package/dist/types/src/plugins/dataproduct/readers/DataProductModuleReader.d.ts +0 -17
  33. package/dist/types/src/plugins/dataproduct/readers/DataProductProjectReader.d.ts +0 -16
  34. package/dist/types/src/plugins/dataproduct/types/DataProductDefinition.d.ts +0 -98
  35. package/dist/types/src/plugins/doc/index.d.ts +0 -3
  36. package/dist/types/src/plugins/doc/readers/DocModuleReader.d.ts +0 -22
  37. package/dist/types/src/plugins/doc/readers/DocProjectReader.d.ts +0 -12
  38. package/dist/types/src/plugins/workflow/index.d.ts +0 -3
  39. package/dist/types/src/plugins/workflow/readers/WorkflowModuleReader.d.ts +0 -24
  40. package/dist/types/src/plugins/workflow/readers/WorkflowProjectReader.d.ts +0 -11
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plugins/workflow/index.ts"],"names":[],"mappings":";;;;;AACA,0FAAkE;AAClE,4FAAoE;AAEpE,MAAM,cAAc,GAAW;IAC3B,IAAI,EAAE,8BAA8B;IAEpC,eAAe;QACX,OAAO,EAAE,CAAC;IACd,CAAC;IAED,iBAAiB;QACb,OAAO,CAAC,IAAI,+BAAqB,EAAE,CAAC,CAAC;IACzC,CAAC;IAED,gBAAgB;QACZ,OAAO,CAAC,IAAI,8BAAoB,EAAE,CAAC,CAAC;IACxC,CAAC;IAED,4BAA4B;QACxB,OAAO,EAAE,CAAC;IACd,CAAC;IAED,2BAA2B;QACvB,OAAO,EAAE,CAAC;IACd,CAAC;CACJ,CAAC;AAEF,kBAAe,cAAc,CAAC"}
@@ -1,78 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const artifact_management_base_1 = require("@sap/artifact-management-base");
4
- const path_1 = require("path");
5
- class WorkflowModuleReader extends artifact_management_base_1.ModuleReader {
6
- constructor() {
7
- super(...arguments);
8
- this.workflowFolderName = 'workflows';
9
- this.supportedProjectType = [
10
- artifact_management_base_1.ProjectType.Workflow,
11
- artifact_management_base_1.ProjectType.CAP,
12
- artifact_management_base_1.ProjectType.LCAP,
13
- artifact_management_base_1.ProjectType.CAPJAVA,
14
- ];
15
- this.matchConditions = {
16
- requiredFilePatterns: ['*.json'],
17
- };
18
- this.itemTags = [artifact_management_base_1.Tag.Item, artifact_management_base_1.Tag.Workflow, artifact_management_base_1.Tag.N8N];
19
- this.itemReaders = [
20
- {
21
- matchConditions: {
22
- requiredFilePatterns: ['*.json'],
23
- },
24
- types: [artifact_management_base_1.ItemType.N8NWorkflow],
25
- tags: this.itemTags,
26
- read: async (options) => this.readWorkflows(options),
27
- },
28
- ];
29
- this.tags = [artifact_management_base_1.Tag.Module, artifact_management_base_1.Tag.N8N, artifact_management_base_1.Tag.Workflow];
30
- }
31
- getType() {
32
- return artifact_management_base_1.ModuleType.Workflow;
33
- }
34
- getDetectionMechanism() {
35
- return artifact_management_base_1.DetectionMechanism.UNIQUE_IDENTIFICATION;
36
- }
37
- async read({ fs }) {
38
- const folderName = fs.getName(path_1.resolve(fs.basePath));
39
- if (folderName !== this.workflowFolderName) {
40
- return undefined;
41
- }
42
- const module = {
43
- type: artifact_management_base_1.ModuleType.Workflow,
44
- name: this.workflowFolderName,
45
- path: fs.relativeToRoot(),
46
- tags: this.tags,
47
- };
48
- return module;
49
- }
50
- async readWorkflows({ fs, matchedFiles }) {
51
- const items = [];
52
- let files = [];
53
- for (const pattern of Object.keys(matchedFiles)) {
54
- files = files.concat(matchedFiles[pattern]);
55
- }
56
- for (const file of files) {
57
- const workflowContent = await fs.readJson(file);
58
- if (!workflowContent.name) {
59
- continue;
60
- }
61
- const item = {
62
- type: artifact_management_base_1.ItemType.N8NWorkflow,
63
- name: workflowContent.name,
64
- ref: file,
65
- path: fs.relativeToRoot(file),
66
- tags: this.itemTags,
67
- info: {
68
- version: workflowContent.versionId,
69
- updatedAt: workflowContent.updatedAt,
70
- },
71
- };
72
- items.push(item);
73
- }
74
- return items;
75
- }
76
- }
77
- exports.default = WorkflowModuleReader;
78
- //# sourceMappingURL=WorkflowModuleReader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WorkflowModuleReader.js","sourceRoot":"","sources":["../../../../../src/plugins/workflow/readers/WorkflowModuleReader.ts"],"names":[],"mappings":";;AAAA,4EAIuC;AACvC,+BAA+B;AAE/B,MAAqB,oBAAqB,SAAQ,uCAAY;IAA9D;;QACY,uBAAkB,GAAG,WAAW,CAAC;QAGzC,yBAAoB,GAAG;YACnB,sCAAW,CAAC,QAAQ;YACpB,sCAAW,CAAC,GAAG;YACf,sCAAW,CAAC,IAAI;YAChB,sCAAW,CAAC,OAAO;SACtB,CAAC;QAWF,oBAAe,GAAG;YACd,oBAAoB,EAAE,CAAC,QAAQ,CAAC;SACnC,CAAC;QAEF,aAAQ,GAAG,CAAC,8BAAG,CAAC,IAAI,EAAE,8BAAG,CAAC,QAAQ,EAAE,8BAAG,CAAC,GAAG,CAAC,CAAC;QAE7C,gBAAW,GAAG;YACV;gBACI,eAAe,EAAE;oBACb,oBAAoB,EAAE,CAAC,QAAQ,CAAC;iBACnC;gBACD,KAAK,EAAE,CAAC,mCAAQ,CAAC,WAAW,CAAC;gBAC7B,IAAI,EAAE,IAAI,CAAC,QAAQ;gBACnB,IAAI,EAAE,KAAK,EAAC,OAAuC,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC;aACtF;SACJ,CAAC;QAEF,SAAI,GAAG,CAAC,8BAAG,CAAC,MAAM,EAAE,8BAAG,CAAC,GAAG,EAAE,8BAAG,CAAC,QAAQ,CAAC,CAAC;IAkD/C,CAAC;IA3EG,OAAO;QACH,OAAO,qCAAU,CAAC,QAAQ,CAAC;IAC/B,CAAC;IAED,qBAAqB;QAC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E,eAAe,CAAC,SAAS;oBAClC,SAAS,EAAE,eAAe,CAAC,SAAS;iBACvC;aACJ,CAAC;YAEF,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACpB;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ;AAvFD,uCAuFC"}
@@ -1,44 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const artifact_management_base_1 = require("@sap/artifact-management-base");
4
- const path_1 = require("path");
5
- class WorkflowProjectReader extends artifact_management_base_1.ProjectReader {
6
- constructor() {
7
- super({
8
- requiredFilePatterns: ['*.json'],
9
- });
10
- this.workflowFolderName = 'workflows';
11
- this.tags = [artifact_management_base_1.Tag.Project, artifact_management_base_1.Tag.Workflow];
12
- }
13
- getType() {
14
- return artifact_management_base_1.ProjectType.Workflow;
15
- }
16
- getDetectionMechanism() {
17
- return artifact_management_base_1.DetectionMechanism.UNIQUE_IDENTIFICATION;
18
- }
19
- async moduleSearchPattern() {
20
- return ['*'];
21
- }
22
- async read({ fs }) {
23
- if (!this.isWorkflowProject(fs))
24
- return undefined;
25
- const projectData = {
26
- ...artifact_management_base_1.ProjectDataDefaults,
27
- typeName: artifact_management_base_1.ProjectTypeName[artifact_management_base_1.ProjectType.Workflow],
28
- type: artifact_management_base_1.ProjectType.Workflow,
29
- path: fs.basePath,
30
- prefix: '',
31
- version: '',
32
- cloudService: '',
33
- name: this.workflowFolderName,
34
- tags: this.tags,
35
- };
36
- return projectData;
37
- }
38
- isWorkflowProject(fs) {
39
- const folderName = fs.getName(path_1.resolve(fs.basePath));
40
- return folderName === this.workflowFolderName;
41
- }
42
- }
43
- exports.default = WorkflowProjectReader;
44
- //# sourceMappingURL=WorkflowProjectReader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WorkflowProjectReader.js","sourceRoot":"","sources":["../../../../../src/plugins/workflow/readers/WorkflowProjectReader.ts"],"names":[],"mappings":";;AAAA,4EAIuC;AACvC,+BAA+B;AA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foList: Readonly<{
5
- ERR_DPD_FILE_INVALID: {
6
- code: string;
7
- description: string;
8
- };
9
- ERR_DPD_HEADER_MISSING: {
10
- code: string;
11
- description: string;
12
- };
13
- ERR_DPD_NAME_UNDEFINED: {
14
- code: string;
15
- description: string;
16
- };
17
- ERR_DPD_NAMESPACE_UNDEFINED: {
18
- code: string;
19
- description: string;
20
- };
21
- ERR_DPD_VERSION_UNDEFINED: {
22
- code: string;
23
- description: string;
24
- };
25
- ERR_DATAPRODUCTS_FOLDER_EMPTY: {
26
- code: string;
27
- description: string;
28
- };
29
- WARN_DPD_TITLE_UNDEFINED: {
30
- code: string;
31
- description: string;
32
- };
33
- WARN_DPD_DESCRIPTION_UNDEFINED: {
34
- code: string;
35
- description: string;
36
- };
37
- }>;
@@ -1,8 +0,0 @@
1
- import { Plugin } from '@sap/artifact-management-base';
2
- /**
3
- * Data Product Plugin for Artifact Management.
4
- * Provides support for Data Product projects containing .dpd files.
5
- */
6
- declare const DataProductPlugin: Plugin;
7
- export default DataProductPlugin;
8
- export { InfoList } from './InfoList';
@@ -1,34 +0,0 @@
1
- import { Item, ProjectEntityReaderReadOptions } from '@sap/artifact-management-base';
2
- /**
3
- * Item reader for individual .dpd files.
4
- * Extracts metadata from each data product definition file.
5
- */
6
- export default class DataProductItemReader {
7
- private static readonly BDC_DESTINATION_NAME;
8
- private static readonly DEFAULT_DOMAIN;
9
- matchConditions: {
10
- filePatterns: string[];
11
- };
12
- types: string[];
13
- tags: string[];
14
- /**
15
- * Read all .dpd files in the current directory and extract their metadata.
16
- */
17
- read({ fs }: ProjectEntityReaderReadOptions): Promise<Item[]>;
18
- /**
19
- * Resolves the base URL of the SAP BDC destination.
20
- */
21
- private getBDCBaseUrl;
22
- /**
23
- * Builds the full SAP Data Product Studio URL for a given data product.
24
- */
25
- private buildFullUrl;
26
- /**
27
- * Parse a .dpd file and create an Item from it.
28
- */
29
- private parseDataProductFile;
30
- /**
31
- * Create an error item when parsing fails.
32
- */
33
- private createErrorItem;
34
- }
@@ -1,17 +0,0 @@
1
- import { DetectionMechanism, KeyIn, ModuleData, ModuleReader, ModuleType, ProjectEntityReaderReadOptions } from '@sap/artifact-management-base';
2
- import DataProductItemReader from './DataProductItemReader';
3
- /**
4
- * Module reader for the dataProducts folder.
5
- * Reads the dataProducts folder and its .dpd files.
6
- */
7
- export default class DataProductModuleReader extends ModuleReader {
8
- supportedProjectType: string[];
9
- getType(): KeyIn<typeof ModuleType>;
10
- getDetectionMechanism(): DetectionMechanism;
11
- matchConditions: {
12
- requiredFilePatterns: string[];
13
- };
14
- itemReaders: DataProductItemReader[];
15
- tags: string[];
16
- read({ fs }: ProjectEntityReaderReadOptions): Promise<ModuleData | undefined>;
17
- }
@@ -1,16 +0,0 @@
1
- import { DetectionMechanism, KeyIn, ProjectData, ProjectReader, ProjectReaderOptions, ProjectType } from '@sap/artifact-management-base';
2
- import DataProductModuleReader from './DataProductModuleReader';
3
- /**
4
- * Project reader for Data Product projects.
5
- * Detects projects that have a 'dataProducts' folder directly under root
6
- * containing .dpd files.
7
- */
8
- export default class DataProductProjectReader extends ProjectReader {
9
- constructor();
10
- getType(): KeyIn<typeof ProjectType>;
11
- getDetectionMechanism(): DetectionMechanism;
12
- additionalModuleReaders: DataProductModuleReader[][];
13
- tags: string[];
14
- moduleSearchPattern(): Promise<string[]>;
15
- read({ fs }: ProjectReaderOptions): Promise<ProjectData | undefined>;
16
- }
@@ -1,98 +0,0 @@
1
- /**
2
- * TypeScript interfaces for Data Product Definition (.dpd) files
3
- */
4
- /**
5
- * Header section of the data product definition
6
- */
7
- export interface DataProductHeader {
8
- name: string;
9
- namespace: string;
10
- version: string;
11
- title?: string;
12
- description?: string;
13
- shortDescription?: string;
14
- type?: string;
15
- category?: string;
16
- }
17
- /**
18
- * Output port configuration
19
- */
20
- export interface DataProductOutputPort {
21
- name: string;
22
- protocol: string;
23
- }
24
- /**
25
- * Input port configuration
26
- */
27
- export interface DataProductInputPort {
28
- name?: string;
29
- protocol?: string;
30
- }
31
- /**
32
- * Meta information
33
- */
34
- export interface DataProductMeta {
35
- creator?: string;
36
- }
37
- /**
38
- * Data source definition
39
- */
40
- export interface DataProductDataSource {
41
- name: string;
42
- definition?: Record<string, unknown>;
43
- }
44
- /**
45
- * Source configuration
46
- */
47
- export interface DataProductSource {
48
- systemTypes?: string[];
49
- systemId?: string;
50
- dataSourceType?: string;
51
- dataSources?: DataProductDataSource[];
52
- }
53
- /**
54
- * Target configuration
55
- */
56
- export interface DataProductTarget {
57
- definition?: {
58
- definitions?: Record<string, unknown>;
59
- };
60
- }
61
- /**
62
- * Transformation configuration
63
- */
64
- export interface DataProductTransformation {
65
- transformers?: Record<string, unknown>;
66
- }
67
- /**
68
- * Main definition structure
69
- */
70
- export interface DataProductDefinitionContent {
71
- header: DataProductHeader;
72
- dataProductDefinitionInterop?: string;
73
- inputPorts?: DataProductInputPort[];
74
- outputPorts?: DataProductOutputPort[];
75
- meta?: DataProductMeta;
76
- source?: DataProductSource;
77
- target?: DataProductTarget;
78
- transformation?: DataProductTransformation;
79
- }
80
- /**
81
- * Root structure of a .dpd file
82
- */
83
- export interface DataProductFile {
84
- definition: DataProductDefinitionContent;
85
- }
86
- /**
87
- * Extracted information from a data product for Project API
88
- */
89
- export interface DataProductInfo {
90
- id: string;
91
- title: string;
92
- namespace: string;
93
- version: string;
94
- majorVersion: string;
95
- description?: string;
96
- hostUrl?: string;
97
- fullUrl?: string;
98
- }
@@ -1,3 +0,0 @@
1
- import { Plugin } from '@sap/artifact-management-base';
2
- declare const DocPlugin: Plugin;
3
- export default DocPlugin;
@@ -1,22 +0,0 @@
1
- import { KeyIn, ProjectEntityReaderReadOptions, ModuleType, Item, ModuleData, ModuleReader, DetectionMechanism } from '@sap/artifact-management-base';
2
- export default class DocModuleReader extends ModuleReader {
3
- supportedProjectType: string[];
4
- getType(): KeyIn<typeof ModuleType>;
5
- getDetectionMechanism(): DetectionMechanism;
6
- matchConditions: {
7
- filePatterns: string[];
8
- };
9
- tags: string[];
10
- itemTags: string[];
11
- itemReaders: {
12
- matchConditions: {
13
- filePatterns: string[];
14
- };
15
- types: string[];
16
- tags: string[];
17
- read: (options: ProjectEntityReaderReadOptions) => Promise<Item[]>;
18
- }[];
19
- read({ fs }: ProjectEntityReaderReadOptions): Promise<ModuleData | undefined>;
20
- private readPrd;
21
- private readSpecs;
22
- }
@@ -1,12 +0,0 @@
1
- import { ProjectReader, ProjectReaderOptions, ProjectData, ProjectType, DetectionMechanism, KeyIn } from '@sap/artifact-management-base';
2
- import DocModuleReader from './DocModuleReader';
3
- export default class DocProjectReader extends ProjectReader {
4
- constructor();
5
- getType(): KeyIn<typeof ProjectType>;
6
- getDetectionMechanism(): DetectionMechanism;
7
- moduleSearchPattern(): Promise<string[]>;
8
- additionalModuleReaders: DocModuleReader[][];
9
- tags: string[];
10
- read({ fs }: ProjectReaderOptions): Promise<ProjectData | undefined>;
11
- private isDocProject;
12
- }
@@ -1,3 +0,0 @@
1
- import { Plugin } from '@sap/artifact-management-base';
2
- declare const WorkflowPlugin: Plugin;
3
- export default WorkflowPlugin;
@@ -1,24 +0,0 @@
1
- import { ProjectFileSystem, KeyIn, ProjectEntityReaderReadOptions, ModuleType, Item, ModuleData, ModuleReader, DetectionMechanism } from '@sap/artifact-management-base';
2
- export default class WorkflowModuleReader extends ModuleReader {
3
- private workflowFolderName;
4
- supportedProjectType: string[];
5
- getType(): KeyIn<typeof ModuleType>;
6
- getDetectionMechanism(): DetectionMechanism;
7
- matchConditions: {
8
- requiredFilePatterns: string[];
9
- };
10
- itemTags: string[];
11
- itemReaders: {
12
- matchConditions: {
13
- requiredFilePatterns: string[];
14
- };
15
- types: string[];
16
- tags: string[];
17
- read: (options: ProjectEntityReaderReadOptions) => Promise<Item[]>;
18
- }[];
19
- tags: string[];
20
- read({ fs }: {
21
- fs: ProjectFileSystem;
22
- }): Promise<ModuleData | undefined>;
23
- readWorkflows({ fs, matchedFiles }: ProjectEntityReaderReadOptions): Promise<Item[]>;
24
- }
@@ -1,11 +0,0 @@
1
- import { ProjectReader, ProjectReaderOptions, ProjectData, ProjectType, DetectionMechanism, KeyIn } from '@sap/artifact-management-base';
2
- export default class WorkflowProjectReader extends ProjectReader {
3
- private workflowFolderName;
4
- constructor();
5
- getType(): KeyIn<typeof ProjectType>;
6
- getDetectionMechanism(): DetectionMechanism;
7
- moduleSearchPattern(): Promise<string[]>;
8
- tags: string[];
9
- read({ fs }: ProjectReaderOptions): Promise<ProjectData | undefined>;
10
- private isWorkflowProject;
11
- }