@itentialopensource/adapter-onap_blueprint_processor 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +5 -0
- package/.eslintrc.js +18 -0
- package/.jshintrc +3 -0
- package/AUTH.md +37 -0
- package/BROKER.md +211 -0
- package/CALLS.md +476 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +13 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +646 -0
- package/README.md +343 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +19 -0
- package/TAB1.md +11 -0
- package/TAB2.md +319 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +4563 -0
- package/adapterBase.js +1452 -0
- package/changelogs/CHANGELOG.md +0 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/BlueprintModelCatalog/action.json +374 -0
- package/entities/BlueprintModelCatalog/mockdatafiles/getAllBlueprintModels-default.json +41 -0
- package/entities/BlueprintModelCatalog/mockdatafiles/getAllBlueprintModelsByKeyword-default.json +28 -0
- package/entities/BlueprintModelCatalog/mockdatafiles/searchBlueprintModelsByTags-default.json +28 -0
- package/entities/BlueprintModelCatalog/schema.json +36 -0
- package/entities/ExecutionServiceCatalog/action.json +24 -0
- package/entities/ExecutionServiceCatalog/schema.json +19 -0
- package/entities/ModelTypeCatalog/action.json +87 -0
- package/entities/ModelTypeCatalog/mockdatafiles/getModelTypeByDefinitionType-default.json +68 -0
- package/entities/ModelTypeCatalog/mockdatafiles/searchModelTypesByTags-default.json +68 -0
- package/entities/ModelTypeCatalog/schema.json +22 -0
- package/entities/ResourceConfiguration/action.json +107 -0
- package/entities/ResourceConfiguration/mockdatafiles/getAllConfigSnapshotsByID-default.json +26 -0
- package/entities/ResourceConfiguration/mockdatafiles/getAllConfigSnapshotsByType-default.json +18 -0
- package/entities/ResourceConfiguration/schema.json +23 -0
- package/entities/ResourceDictionary/action.json +209 -0
- package/entities/ResourceDictionary/mockdatafiles/getAllResourceDictionaryGroups-default.json +6 -0
- package/entities/ResourceDictionary/mockdatafiles/searchResourceDictionaryByNames-default.json +14609 -0
- package/entities/ResourceDictionary/mockdatafiles/searchResourceDictionaryByTags-default.json +5329 -0
- package/entities/ResourceDictionary/schema.json +28 -0
- package/entities/ResourceTemplate/action.json +65 -0
- package/entities/ResourceTemplate/mockdatafiles/getTemplatesWithOccurrences-default.json +26 -0
- package/entities/ResourceTemplate/schema.json +21 -0
- package/entities/Resources/action.json +87 -0
- package/entities/Resources/mockdatafiles/getAllResourcesUsingResolutionKey-default.json +70 -0
- package/entities/Resources/mockdatafiles/getResourcesWithOccurrences-default.json +70 -0
- package/entities/Resources/schema.json +22 -0
- package/error.json +190 -0
- package/metadata.json +89 -0
- package/package.json +80 -0
- package/pronghorn.json +22633 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1658 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +3789 -0
- package/report/adapter-openapi.yaml +2624 -0
- package/report/adapterInfo.json +10 -0
- package/report/cds-bp-processor-api-swagger.json +3203 -0
- package/report/creationReport.json +460 -0
- package/report/updateReport1727443189469.json +120 -0
- package/sampleProperties.json +268 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +142 -0
- package/test/integration/adapterTestIntegration.js +1693 -0
- package/test/unit/adapterBaseTestUnit.js +1024 -0
- package/test/unit/adapterTestUnit.js +3287 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +179 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +152 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +239 -0
- package/utils/tbUtils.js +489 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +193 -0
package/package.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@itentialopensource/adapter-onap_blueprint_processor",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "This adapter integrates with system described as: CDS Blueprint Processor.",
|
|
5
|
+
"main": "adapter.js",
|
|
6
|
+
"wizardVersion": "2.44.7",
|
|
7
|
+
"engineVersion": "1.68.2",
|
|
8
|
+
"adapterType": "http",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
11
|
+
"preinstall": "node utils/setup.js",
|
|
12
|
+
"deinstall": "node utils/removeHooks.js",
|
|
13
|
+
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
14
|
+
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
15
|
+
"test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
|
|
16
|
+
"test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
|
|
17
|
+
"test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
|
|
18
|
+
"test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
|
|
19
|
+
"adapter:install": "npm i && node utils/tbScript.js install",
|
|
20
|
+
"adapter:checkMigrate": "node utils/checkMigrate.js",
|
|
21
|
+
"adapter:findPath": "node utils/findPath.js",
|
|
22
|
+
"adapter:migrate": "node utils/modify.js -m",
|
|
23
|
+
"adapter:update": "node utils/modify.js -u",
|
|
24
|
+
"adapter:revert": "node utils/modify.js -r",
|
|
25
|
+
"troubleshoot": "node utils/tbScript.js troubleshoot",
|
|
26
|
+
"healthcheck": "node utils/tbScript.js healthcheck",
|
|
27
|
+
"basicget": "node utils/tbScript.js basicget",
|
|
28
|
+
"connectivity": "node utils/tbScript.js connectivity",
|
|
29
|
+
"deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
|
|
30
|
+
"build": "npm run deploy"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"Itential",
|
|
34
|
+
"IAP",
|
|
35
|
+
"Automation",
|
|
36
|
+
"Integration",
|
|
37
|
+
"App-Artifacts",
|
|
38
|
+
"Adapter",
|
|
39
|
+
"onap_blueprint_processor",
|
|
40
|
+
"Pre-Release"
|
|
41
|
+
],
|
|
42
|
+
"license": "Apache-2.0",
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">= 14.0.0",
|
|
45
|
+
"npm": ">= 6.0.0"
|
|
46
|
+
},
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "git@gitlab.com:itentialopensource/adapters/adapter-onap_blueprint_processor.git"
|
|
50
|
+
},
|
|
51
|
+
"author": "Itential",
|
|
52
|
+
"homepage": "https://gitlab.com/itentialopensource/adapters/adapter-onap_blueprint_processor#readme",
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@itentialopensource/adapter-utils": "^5.8.0",
|
|
55
|
+
"acorn": "^8.12.1",
|
|
56
|
+
"ajv": "^8.17.1",
|
|
57
|
+
"axios": "^1.7.4",
|
|
58
|
+
"commander": "^11.0.0",
|
|
59
|
+
"dns-lookup-promise": "^1.0.4",
|
|
60
|
+
"fs-extra": "^11.2.0",
|
|
61
|
+
"json-query": "^2.2.2",
|
|
62
|
+
"mocha": "^10.7.3",
|
|
63
|
+
"mocha-param": "^2.0.1",
|
|
64
|
+
"mongodb": "^4.16.0",
|
|
65
|
+
"ping": "^0.4.4",
|
|
66
|
+
"prompts": "^2.4.2",
|
|
67
|
+
"readline-sync": "^1.4.10",
|
|
68
|
+
"semver": "^7.6.3",
|
|
69
|
+
"winston": "^3.14.2"
|
|
70
|
+
},
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"chai": "^4.3.7",
|
|
73
|
+
"eslint": "^8.44.0",
|
|
74
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
75
|
+
"eslint-plugin-import": "^2.27.5",
|
|
76
|
+
"eslint-plugin-json": "^3.1.0",
|
|
77
|
+
"testdouble": "^3.18.0"
|
|
78
|
+
},
|
|
79
|
+
"private": false
|
|
80
|
+
}
|