karavan-core 4.8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.bebelrc +3 -0
- package/.mocharc.json +11 -0
- package/.prettierignore +9 -0
- package/.prettierrc +14 -0
- package/package.json +62 -0
- package/src/core/api/CamelDefinitionApi.ts +3271 -0
- package/src/core/api/CamelDefinitionApiExt.ts +757 -0
- package/src/core/api/CamelDefinitionYaml.ts +412 -0
- package/src/core/api/CamelDefinitionYamlStep.ts +4733 -0
- package/src/core/api/CamelDisplayUtil.ts +143 -0
- package/src/core/api/CamelUtil.ts +360 -0
- package/src/core/api/ComponentApi.ts +368 -0
- package/src/core/api/KameletApi.ts +147 -0
- package/src/core/api/MainConfigurationApi.ts +47 -0
- package/src/core/api/ProjectModelApi.ts +75 -0
- package/src/core/api/SpiBeanApi.ts +104 -0
- package/src/core/api/TemplateApi.ts +58 -0
- package/src/core/api/TopologyUtils.ts +392 -0
- package/src/core/api/VariableUtil.ts +104 -0
- package/src/core/model/CamelDefinition.ts +3783 -0
- package/src/core/model/CamelMetadata.ts +2714 -0
- package/src/core/model/ComponentModels.ts +106 -0
- package/src/core/model/IntegrationDefinition.ts +188 -0
- package/src/core/model/KameletModels.ts +223 -0
- package/src/core/model/MainConfigurationModel.ts +37 -0
- package/src/core/model/ProjectModel.ts +43 -0
- package/src/core/model/SpiBeanModels.ts +53 -0
- package/src/core/model/TopologyDefinition.ts +117 -0
- package/test/addStep.spec.ts +124 -0
- package/test/addStep1.yaml +27 -0
- package/test/allowableValues.camel.yaml +19 -0
- package/test/allowableValues.spec.ts +30 -0
- package/test/avro-serialize-action.kamelet.yaml +70 -0
- package/test/beans.spec.ts +92 -0
- package/test/beans1.yaml +36 -0
- package/test/beans2.yaml +42 -0
- package/test/beans3.yaml +7 -0
- package/test/checkRequired.spec.ts +53 -0
- package/test/circuitBreaker.spec.ts +57 -0
- package/test/circuitBreaker.yaml +19 -0
- package/test/cloneDefinition.spec.ts +106 -0
- package/test/createKamelet.spec.ts +38 -0
- package/test/cxf.json +615 -0
- package/test/cxf.spec.ts +44 -0
- package/test/cxf.yaml +15 -0
- package/test/deleteStep.spec.ts +74 -0
- package/test/demo.spec.ts +49 -0
- package/test/demo.yaml +32 -0
- package/test/doCatchOnWhen.camel.yaml +20 -0
- package/test/doCatchOnWhen.spec.ts +36 -0
- package/test/errorHandler.spec.ts +38 -0
- package/test/errorHandler1.yaml +27 -0
- package/test/expression.spec.ts +55 -0
- package/test/findStep.spec.ts +112 -0
- package/test/findStep.yaml +65 -0
- package/test/getElementProperties.spec.ts +32 -0
- package/test/getElementPropertiesByName.spec.ts +31 -0
- package/test/getExpressionLanguage.spec.ts +40 -0
- package/test/hasElementWithId.camel.yaml +98 -0
- package/test/hasElementWithId.spec.ts +57 -0
- package/test/hasElementWithId1.camel.yaml +16 -0
- package/test/hasElementWithIdError.camel.yaml +98 -0
- package/test/integration.spec.ts +60 -0
- package/test/integration1.yaml +24 -0
- package/test/integration2.yaml +23 -0
- package/test/integrationToYaml.spec.ts +51 -0
- package/test/intercept.spec.ts +62 -0
- package/test/intercept.yaml +19 -0
- package/test/is-not-integration.yaml +5114 -0
- package/test/isIntegration.spec.ts +45 -0
- package/test/kamelet.spec.ts +61 -0
- package/test/metadata/components.json +697 -0
- package/test/metadata/kamelets.yaml +23414 -0
- package/test/metadata/spiBeans.json +3094 -0
- package/test/multiObjectProperties.spec.ts +46 -0
- package/test/multiObjectProperties1.yaml +19 -0
- package/test/multiple.spec.ts +38 -0
- package/test/multiple.yaml +29 -0
- package/test/openapi.spec.ts +48 -0
- package/test/openapi.yaml +7 -0
- package/test/placeholder.spec.ts +32 -0
- package/test/placeholder.yaml +133 -0
- package/test/plain-try-catch.yaml +31 -0
- package/test/plain.spec.ts +72 -0
- package/test/plain1.yaml +22 -0
- package/test/plain2.yaml +13 -0
- package/test/plain3.yaml +5 -0
- package/test/plain4.yaml +5 -0
- package/test/postgresql-source.kamelet.yaml +113 -0
- package/test/restConfigDsl.yaml +15 -0
- package/test/restDsl.spec.ts +83 -0
- package/test/restDsl.yaml +29 -0
- package/test/routes.spec.ts +37 -0
- package/test/routes1.yaml +31 -0
- package/test/supported-components.json +1221 -0
- package/test/supportedComponents.spec.ts +34 -0
- package/test/template1.AggregationStrategy.java +21 -0
- package/test/template1.Processor.java +13 -0
- package/test/template2.AggregationStrategy.java +21 -0
- package/test/template2.Processor.java +13 -0
- package/test/templateApi.spec.ts +45 -0
- package/test/timer-source.kamelet.yaml +75 -0
- package/test/tod.spec.ts +31 -0
- package/test/tod.yaml +9 -0
- package/test/topology.spec.ts +51 -0
- package/test/topology1.camel.yaml +56 -0
- package/test/topology2.camel.yaml +44 -0
- package/test/topology3.camel.yaml +27 -0
- package/test/tsconfig.testing.json +14 -0
- package/test/updateStep.spec.ts +72 -0
- package/test/variable1.camel.yaml +42 -0
- package/test/variable2.camel.yaml +42 -0
- package/test/variables.spec.ts +34 -0
- package/tsconfig.json +34 -0
package/.bebelrc
ADDED
package/.mocharc.json
ADDED
package/.prettierignore
ADDED
package/.prettierrc
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
{
|
2
|
+
"trailingComma": "all",
|
3
|
+
"tabWidth": 4,
|
4
|
+
"useTabs": false,
|
5
|
+
"semi": true,
|
6
|
+
"singleQuote": true,
|
7
|
+
"jsxSingleQuote": true,
|
8
|
+
"proseWrap": "never",
|
9
|
+
"bracketSameLine": true,
|
10
|
+
"arrowParens": "avoid",
|
11
|
+
"printWidth": 120,
|
12
|
+
"bracketSpacing": true,
|
13
|
+
"singleAttributePerLine": false
|
14
|
+
}
|
package/package.json
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
{
|
2
|
+
"name": "karavan-core",
|
3
|
+
"publisher": "camel-karavan",
|
4
|
+
"version": "4.8.0",
|
5
|
+
"description": "Apache Camel Karavan Core",
|
6
|
+
"scripts": {
|
7
|
+
"build": "babel src -d dist",
|
8
|
+
"prepublishOnly": "npm run build"
|
9
|
+
},
|
10
|
+
"repository": {
|
11
|
+
"type": "git",
|
12
|
+
"url": "https://github.com/apache/camel-karavan.git"
|
13
|
+
},
|
14
|
+
"type": "module",
|
15
|
+
"keywords": [
|
16
|
+
"Camel",
|
17
|
+
"Tool",
|
18
|
+
"Integration",
|
19
|
+
"Camel Yaml"
|
20
|
+
],
|
21
|
+
"author": {
|
22
|
+
"name": "Najib Amait",
|
23
|
+
"email": "najib.amait@gmail.com"
|
24
|
+
},
|
25
|
+
"maintainers": [
|
26
|
+
{
|
27
|
+
"name": "Marat Gubaidullin",
|
28
|
+
"email": "marat.gubaidullin@gmail.com"
|
29
|
+
}
|
30
|
+
],
|
31
|
+
"license": "Apache-2.0",
|
32
|
+
"bugs": {
|
33
|
+
"url": "https://github.com/apache/camel-karavan/issues"
|
34
|
+
},
|
35
|
+
"homepage": "https://github.com/apache/camel-karavan#readme",
|
36
|
+
"dependencies": {
|
37
|
+
"@types/js-yaml": "^4.0.9",
|
38
|
+
"@types/uuid": "^10.0.0",
|
39
|
+
"tsconfig-paths": "^4.2.0",
|
40
|
+
"uuid": "10.0.0"
|
41
|
+
},
|
42
|
+
"peerDependencies": {
|
43
|
+
"react": "^16.0.0",
|
44
|
+
"react-dom": "^16.0.0"
|
45
|
+
},
|
46
|
+
"devDependencies": {
|
47
|
+
"@babel/cli": "^7.25.6",
|
48
|
+
"@babel/preset-env": "^7.25.4",
|
49
|
+
"@babel/preset-react": "^7.24.7",
|
50
|
+
"@types/chai": "^4.3.16",
|
51
|
+
"@types/dagre": "^0.7.52",
|
52
|
+
"@types/mocha": "^10.0.7",
|
53
|
+
"@types/node": "20.14.9",
|
54
|
+
"chai": "^5.1.1",
|
55
|
+
"cross-env": "^7.0.3",
|
56
|
+
"fs": "^0.0.1-security",
|
57
|
+
"mocha": "^10.5.2",
|
58
|
+
"ts-node": "^10.9.2",
|
59
|
+
"tsc-alias": "^1.8.10",
|
60
|
+
"typescript": "4.9.5"
|
61
|
+
}
|
62
|
+
}
|