├── .classpath ├── .github └── workflows │ ├── release-daily-develop-snapshot.yml │ ├── release-daily-next-snapshot.yml │ ├── release.yml │ └── update-version.yml ├── .gitignore ├── .gradle ├── 7.1.1 │ ├── fileChanges │ │ └── last-build.bin │ ├── fileHashes │ │ └── fileHashes.lock │ └── gc.properties ├── buildOutputCleanup │ ├── buildOutputCleanup.lock │ └── cache.properties ├── checksums │ └── checksums.lock ├── vcs-1 │ └── gc.properties └── vcsWorkingDirs │ └── gc.properties ├── .project ├── .settings ├── org.eclipse.buildship.core.prefs ├── org.eclipse.core.resources.prefs ├── org.eclipse.jdt.core.prefs └── org.eclipse.m2e.core.prefs ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── bin ├── README.md ├── mac │ ├── build.sh │ ├── buildandtest.sh │ ├── checkversions.sh │ ├── deploy.sh │ ├── lazygit.sh │ └── updateversion.sh └── win │ ├── build.bat │ ├── buildandtest.bat │ ├── checkversions.bat │ ├── lazygit.bat │ └── updateversion.bat ├── broker ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── assimbly │ └── broker │ ├── Broker.java │ ├── converter │ └── CompositeDataConverter.java │ ├── decoder │ └── AssimblyCodec.java │ └── impl │ ├── ActiveMQArtemis.java │ ├── ActiveMQClassic.java │ └── EndpointNotFoundException.java ├── brokerRest ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── assimbly │ │ └── brokerrest │ │ ├── BrokerConfigurerRuntime.java │ │ ├── BrokerManagerRuntime.java │ │ ├── ManagedBrokerRuntime.java │ │ ├── MessageBrokerRuntime.java │ │ ├── QueueManagerRuntime.java │ │ └── TopicManagerRuntime.java │ └── test │ ├── java │ └── org │ │ └── assimbly │ │ └── brokerrest │ │ ├── BrokerConfigureRuntimeTest.java │ │ ├── BrokerManagerRuntimeTest.java │ │ ├── HealthBrokerResourceTest.java │ │ ├── MessageBrokerRuntimeTest.java │ │ ├── QueueManagerRuntimeTest.java │ │ ├── TopicManagerRuntimeTest.java │ │ ├── testcontainers │ │ └── AssimblyGatewayBrokerContainer.java │ │ └── utils │ │ └── TestApplicationContext.java │ └── resources │ └── container │ ├── broker │ ├── activemq.xml │ ├── credentials.properties │ └── custom.properties │ ├── db │ ├── gateway.mv.db │ └── gateway.trace.db │ └── security │ ├── keystore.jks │ └── truststore.jks ├── commons ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── assimbly │ └── commons │ └── utils │ ├── AssertUtils.java │ ├── HttpUtil.java │ └── Utils.java ├── dil ├── README.md ├── pom.xml └── src │ └── main │ ├── java │ └── org │ │ └── assimbly │ │ └── dil │ │ ├── Dil.java │ │ ├── blocks │ │ ├── beans │ │ │ ├── AggregateStrategy.java │ │ │ ├── CustomHttpBinding.java │ │ │ ├── CustomHttpHeaderFilterStrategy.java │ │ │ ├── FlowLogger.java │ │ │ ├── UuidExtensionFunction.java │ │ │ ├── enrich │ │ │ │ ├── EnrichStrategy.java │ │ │ │ ├── attachment │ │ │ │ │ └── AttachmentEnrichStrategy.java │ │ │ │ ├── json │ │ │ │ │ └── JsonEnrichStrategy.java │ │ │ │ ├── override │ │ │ │ │ └── OverrideEnrichStrategy.java │ │ │ │ ├── xml │ │ │ │ │ └── XmlEnrichStrategy.java │ │ │ │ └── zipfile │ │ │ │ │ └── ZipFileEnrichStrategy.java │ │ │ ├── json │ │ │ │ └── JsonAggregateStrategy.java │ │ │ └── xml │ │ │ │ └── XmlAggregateStrategy.java │ │ ├── connections │ │ │ ├── Connection.java │ │ │ ├── broker │ │ │ │ ├── AMQPConnection.java │ │ │ │ ├── ActiveMQConnection.java │ │ │ │ ├── IBMMQConnection.java │ │ │ │ ├── MQConnection.java │ │ │ │ ├── RabbitMQConnection.java │ │ │ │ └── SonicMQConnection.java │ │ │ └── database │ │ │ │ └── JDBCConnection.java │ │ ├── errorhandler │ │ │ └── ErrorHandler.java │ │ └── processors │ │ │ ├── ConvertProcessor.java │ │ │ ├── ExceptionAsJsonProcessor.java │ │ │ ├── FailureProcessor.java │ │ │ ├── InputStreamToStringProcessor.java │ │ │ ├── JsonExchangeFormatter.java │ │ │ ├── ManageFlowProcessor.java │ │ │ ├── OpenTelemetryLogProcessor.java │ │ │ ├── RoutingRulesProcessor.java │ │ │ ├── SetBodyProcessor.java │ │ │ ├── SetHeadersProcessor.java │ │ │ ├── SetLogProcessor.java │ │ │ ├── SetOriginalMessageProcessor.java │ │ │ ├── SetPatternProcessor.java │ │ │ └── UnzipProcessor.java │ │ ├── event │ │ ├── EventConfigurer.java │ │ ├── collect │ │ │ ├── ExchangeCollector.java │ │ │ ├── LogCollector.java │ │ │ ├── RouteCollector.java │ │ │ └── StepCollector.java │ │ ├── domain │ │ │ ├── Collection.java │ │ │ ├── Filter.java │ │ │ ├── FlowEvent.java │ │ │ ├── LogEvent.java │ │ │ ├── MessageEvent.java │ │ │ └── Store.java │ │ ├── store │ │ │ ├── StoreManager.java │ │ │ └── impl │ │ │ │ ├── ConsoleStore.java │ │ │ │ ├── ElasticStore.java │ │ │ │ └── FileStore.java │ │ └── util │ │ │ └── EventUtil.java │ │ ├── impl │ │ └── DilImpl.java │ │ ├── loader │ │ ├── FlowLoader.java │ │ ├── FlowLoaderReport.java │ │ └── RouteLoader.java │ │ ├── transpiler │ │ ├── JSONFileConfiguration.java │ │ ├── XMLFileConfiguration.java │ │ ├── YAMLFileConfiguration.java │ │ ├── marshalling │ │ │ ├── Marshall.java │ │ │ ├── Unmarshall.java │ │ │ ├── catalog │ │ │ │ └── CustomKameletCatalog.java │ │ │ └── core │ │ │ │ ├── Connection.java │ │ │ │ ├── Message.java │ │ │ │ ├── Route.java │ │ │ │ ├── RouteConfiguration.java │ │ │ │ └── RouteTemplate.java │ │ ├── ssl │ │ │ └── SSLConfiguration.java │ │ └── transform │ │ │ └── Transform.java │ │ └── validation │ │ ├── CertificateRetriever.java │ │ ├── CronValidator.java │ │ ├── ExpressionsValidator.java │ │ ├── FtpValidator.java │ │ ├── HttpsCertificateValidator.java │ │ ├── RegexValidator.java │ │ ├── ScriptValidator.java │ │ ├── UrlValidator.java │ │ ├── Validator.java │ │ ├── XsltValidator.java │ │ ├── beans │ │ ├── Expression.java │ │ ├── FtpSettings.java │ │ ├── Regex.java │ │ └── script │ │ │ ├── BadRequestResponse.java │ │ │ ├── EvaluationRequest.java │ │ │ ├── EvaluationResponse.java │ │ │ ├── ExchangeDto.java │ │ │ └── ScriptDto.java │ │ ├── expressions │ │ ├── ConstantValidator.java │ │ ├── GroovyValidator.java │ │ ├── JsonPathValidator.java │ │ ├── SimpleValidator.java │ │ └── XPathValidator.java │ │ ├── https │ │ ├── CompositeTrustManager.java │ │ ├── FileBasedTrustStore.java │ │ └── TrustedClientConfigurer.java │ │ ├── jsch │ │ └── JschConfig.java │ │ ├── saxon │ │ ├── SaxonConfiguration.java │ │ └── UuidExtensionFunction.java │ │ └── scripts │ │ └── ExchangeMarshaller.java │ └── resources │ ├── custom-steps-parameters.json │ ├── custom-steps.json │ ├── dil.xsd │ ├── kamelets │ ├── aggregate-router.kamelet.yaml │ ├── amazon-action.kamelet.yaml │ ├── amazon-sink.kamelet.yaml │ ├── appendtobody-action.kamelet.yaml │ ├── appendtobody-sink.kamelet.yaml │ ├── base64totext-action.kamelet.yaml │ ├── base64totext-sink.kamelet.yaml │ ├── connect-action.kamelet.yaml │ ├── connect-sink.kamelet.yaml │ ├── connect-source.kamelet.yaml │ ├── continueflow-action.kamelet.yaml │ ├── continueflow-sink.kamelet.yaml │ ├── csvtoxml-action.kamelet.yaml │ ├── csvtoxml-sink.kamelet.yaml │ ├── delete-action.kamelet.yaml │ ├── delete-sink.kamelet.yaml │ ├── delete-source.kamelet.yaml │ ├── docconverter-action.kamelet.yaml │ ├── dynamic-router.kamelet.yaml │ ├── edifactstandardstoxml-action.kamelet.yaml │ ├── edifactstandardstoxml-sink.kamelet.yaml │ ├── edifacttoxml-action.kamelet.yaml │ ├── edifacttoxml-sink.kamelet.yaml │ ├── editoxml-action.kamelet.yaml │ ├── editoxml-sink.kamelet.yaml │ ├── enrich-router.kamelet.yaml │ ├── exceltoxml-action.kamelet.yaml │ ├── exceltoxml-sink.kamelet.yaml │ ├── filter-xpath-router.kamelet.yaml │ ├── formtoxml-action.kamelet.yaml │ ├── formtoxml-sink.kamelet.yaml │ ├── generic-action.kamelet.yaml │ ├── generic-sink.kamelet.yaml │ ├── generic-source.kamelet.yaml │ ├── get-action.kamelet.yaml │ ├── get-sink.kamelet.yaml │ ├── get-source.kamelet.yaml │ ├── googledrive-action.kamelet.yaml │ ├── googledrive-sink.kamelet.yaml │ ├── googledrive-source.kamelet.yaml │ ├── groovy-action.kamelet.yaml │ ├── groovy-script.kamelet.yaml │ ├── groovy-sink.kamelet.yaml │ ├── head-action.kamelet.yaml │ ├── head-sink.kamelet.yaml │ ├── head-source.kamelet.yaml │ ├── http-action.kamelet.yaml │ ├── http-sink.kamelet.yaml │ ├── http-source.kamelet.yaml │ ├── https-action.kamelet.yaml │ ├── https-sink.kamelet.yaml │ ├── https-source.kamelet.yaml │ ├── java-script.kamelet.yaml │ ├── javascript-action.kamelet.yaml │ ├── javascript-sink.kamelet.yaml │ ├── joor-script.kamelet.yaml │ ├── jslt-action.kamelet.yaml │ ├── jslt-script.kamelet.yaml │ ├── jslt-sink.kamelet.yaml │ ├── jsontoxml-action.kamelet.yaml │ ├── jsontoxml-sink.kamelet.yaml │ ├── link-action.kamelet.yaml │ ├── link-router.kamelet.yaml │ ├── link-sink.kamelet.yaml │ ├── link-source.kamelet.yaml │ ├── manageflow-action.kamelet.yaml │ ├── manageflow-sink.kamelet.yaml │ ├── multipart-action.kamelet.yaml │ ├── multipart-sink.kamelet.yaml │ ├── options-action.kamelet.yaml │ ├── options-sink.kamelet.yaml │ ├── options-source.kamelet.yaml │ ├── oriflame-action.kamelet.yaml │ ├── oriflame-sink.kamelet.yaml │ ├── patch-action.kamelet.yaml │ ├── patch-sink.kamelet.yaml │ ├── patch-source.kamelet.yaml │ ├── pauseflow-action.kamelet.yaml │ ├── pauseflow-sink.kamelet.yaml │ ├── pollenrich-action.kamelet.yaml │ ├── pollenrich-sink.kamelet.yaml │ ├── post-action.kamelet.yaml │ ├── post-sink.kamelet.yaml │ ├── post-source.kamelet.yaml │ ├── prependtobody-action.kamelet.yaml │ ├── prependtobody-sink.kamelet.yaml │ ├── print-action.kamelet.yaml │ ├── print-sink.kamelet.yaml │ ├── put-action.kamelet.yaml │ ├── put-sink.kamelet.yaml │ ├── put-source.kamelet.yaml │ ├── python-action.kamelet.yaml │ ├── python-script.kamelet.yaml │ ├── python-sink.kamelet.yaml │ ├── queuethrottle-action.kamelet.yaml │ ├── rabbitmq-action.kamelet.yaml │ ├── rabbitmq-sink.kamelet.yaml │ ├── rabbitmq-source.kamelet.yaml │ ├── recipients-router.kamelet.yaml │ ├── removecookie-action.kamelet.yaml │ ├── removecookie-sink.kamelet.yaml │ ├── removeheaders-action.kamelet.yaml │ ├── removeheaders-sink.kamelet.yaml │ ├── replace-action.kamelet.yaml │ ├── replace-sink.kamelet.yaml │ ├── replaceinpdf-action.kamelet.yaml │ ├── replaceinpdf-sink.kamelet.yaml │ ├── resumeflow-action.kamelet.yaml │ ├── resumeflow-sink.kamelet.yaml │ ├── setbody-action.kamelet.yaml │ ├── setbody-sink.kamelet.yaml │ ├── setbodyasbytes-action.kamelet.yaml │ ├── setbodyasoneline-action.kamelet.yaml │ ├── setbodyasoneline-sink.kamelet.yaml │ ├── setbodyasstring-action.kamelet.yaml │ ├── setbodybyheader-action.kamelet.yaml │ ├── setbodybyheader-sink.kamelet.yaml │ ├── setbodybyheaders-action.kamelet.yaml │ ├── setbodybyheaders-sink.kamelet.yaml │ ├── setcookie-action.kamelet.yaml │ ├── setcookie-sink.kamelet.yaml │ ├── setheader-action.kamelet.yaml │ ├── setheader-sink.kamelet.yaml │ ├── setheaderbybody-action.kamelet.yaml │ ├── setheaderbybody-sink.kamelet.yaml │ ├── setheaders-action.kamelet.yaml │ ├── setheaders-sink.kamelet.yaml │ ├── setmessage-action.kamelet.yaml │ ├── setmessage-sink.kamelet.yaml │ ├── setoauth2token-action.kamelet.yaml │ ├── setoauth2token-sink.kamelet.yaml │ ├── setoriginalbody-action.kamelet.yaml │ ├── setoriginalbody-sink.kamelet.yaml │ ├── setpattern-action.kamelet.yaml │ ├── setprettybody-action.kamelet.yaml │ ├── setprettybody-sink.kamelet.yaml │ ├── setproperty-action.kamelet.yaml │ ├── setproperty-sink.kamelet.yaml │ ├── setuuidheader-action.kamelet.yaml │ ├── setuuidheader-sink.kamelet.yaml │ ├── simple-action.kamelet.yaml │ ├── simple-script.kamelet.yaml │ ├── simple-sink.kamelet.yaml │ ├── simplereplace-action.kamelet.yaml │ ├── simplereplace-sink.kamelet.yaml │ ├── split-xpath-router.kamelet.yaml │ ├── startflow-action.kamelet.yaml │ ├── startflow-sink.kamelet.yaml │ ├── stopflow-action.kamelet.yaml │ ├── stopflow-sink.kamelet.yaml │ ├── suspendflow-action.kamelet.yaml │ ├── suspendflow-sink.kamelet.yaml │ ├── texttobase64-action.kamelet.yaml │ ├── texttobase64-sink.kamelet.yaml │ ├── trace-action.kamelet.yaml │ ├── trace-sink.kamelet.yaml │ ├── trace-source.kamelet.yaml │ ├── univocity-csv-action.kamelet.yaml │ ├── univocity-csv-sink.kamelet.yaml │ ├── unzip-action.kamelet.yaml │ ├── unzip-sink.kamelet.yaml │ ├── velocity-action.kamelet.yaml │ ├── velocity-sink.kamelet.yaml │ ├── wastebin-sink.kamelet.yaml │ ├── wiretap-action.kamelet.yaml │ ├── wiretap-sink.kamelet.yaml │ ├── xmltocsv-action.kamelet.yaml │ ├── xmltocsv-sink.kamelet.yaml │ ├── xmltoedi-action.kamelet.yaml │ ├── xmltoedi-sink.kamelet.yaml │ ├── xmltoedifact-action.kamelet.yaml │ ├── xmltoedifact-sink.kamelet.yaml │ ├── xmltoedifactstandards-action.kamelet.yaml │ ├── xmltoedifactstandards-sink.kamelet.yaml │ ├── xmltoexcel-action.kamelet.yaml │ ├── xmltoexcel-sink.kamelet.yaml │ ├── xmltojson-action.kamelet.yaml │ ├── xmltojson-sink.kamelet.yaml │ ├── xslt-action.kamelet.yaml │ ├── xslt-script.kamelet.yaml │ ├── xslt-sink.kamelet.yaml │ ├── zip-action.kamelet.yaml │ └── zip-sink.kamelet.yaml │ ├── setbodybyheader-action.kamelet.yaml │ ├── transform-to-dil.xsl │ ├── transform-to-route.xsl │ └── velocity.properties ├── doc ├── allclasses-frame.html ├── allclasses-noframe.html ├── constant-values.html ├── deprecated-list.html ├── help-doc.html ├── index-files │ ├── index-1.html │ ├── index-10.html │ ├── index-11.html │ ├── index-12.html │ ├── index-13.html │ ├── index-14.html │ ├── index-15.html │ ├── index-16.html │ ├── index-17.html │ ├── index-18.html │ ├── index-19.html │ ├── index-2.html │ ├── index-20.html │ ├── index-3.html │ ├── index-4.html │ ├── index-5.html │ ├── index-6.html │ ├── index-7.html │ ├── index-8.html │ └── index-9.html ├── index.html ├── nl │ └── drs │ │ └── nl │ │ └── drs │ │ └── camelconnector │ │ ├── AppTest.html │ │ ├── class-use │ │ └── AppTest.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ ├── package-tree.html │ │ └── package-use.html ├── org │ └── assimbly │ │ ├── connector │ │ ├── Broker.html │ │ ├── Connector.html │ │ ├── class-use │ │ │ ├── Broker.html │ │ │ └── Connector.html │ │ ├── configuration │ │ │ ├── JSONFileConfiguration.html │ │ │ ├── XMLFileConfiguration.html │ │ │ ├── YAMLFileConfiguration.html │ │ │ ├── class-use │ │ │ │ ├── JSONFileConfiguration.html │ │ │ │ ├── XMLFileConfiguration.html │ │ │ │ └── YAMLFileConfiguration.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ ├── connect │ │ │ └── util │ │ │ │ ├── BaseDirectory.html │ │ │ │ ├── CertificatesUtil.html │ │ │ │ ├── ConnectorUtil.html │ │ │ │ ├── DependencyUtil.html │ │ │ │ ├── class-use │ │ │ │ ├── BaseDirectory.html │ │ │ │ ├── CertificatesUtil.html │ │ │ │ ├── ConnectorUtil.html │ │ │ │ └── DependencyUtil.html │ │ │ │ ├── package-frame.html │ │ │ │ ├── package-summary.html │ │ │ │ ├── package-tree.html │ │ │ │ └── package-use.html │ │ ├── event │ │ │ ├── EventCollector.html │ │ │ ├── FlowEvent.html │ │ │ ├── class-use │ │ │ │ ├── EventCollector.html │ │ │ │ └── FlowEvent.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ ├── impl │ │ │ ├── BaseConnector.html │ │ │ ├── CamelConnector.html │ │ │ ├── class-use │ │ │ │ ├── BaseConnector.html │ │ │ │ └── CamelConnector.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ ├── package-tree.html │ │ ├── package-use.html │ │ ├── processors │ │ │ ├── ConvertProcessor.html │ │ │ ├── FailureProcessor.html │ │ │ ├── HeadersProcessor.html │ │ │ ├── class-use │ │ │ │ ├── ConvertProcessor.html │ │ │ │ ├── FailureProcessor.html │ │ │ │ └── HeadersProcessor.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ ├── routes │ │ │ ├── DefaultRoute.FailureProcessorListener.html │ │ │ ├── DefaultRoute.html │ │ │ ├── PollingJdbcRoute.html │ │ │ ├── SimpleRoute.html │ │ │ ├── class-use │ │ │ │ ├── DefaultRoute.FailureProcessorListener.html │ │ │ │ ├── DefaultRoute.html │ │ │ │ ├── PollingJdbcRoute.html │ │ │ │ └── SimpleRoute.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ ├── service │ │ │ ├── ActiveMQArtemis.html │ │ │ ├── ActiveMQClassic.html │ │ │ ├── Connection.html │ │ │ ├── class-use │ │ │ │ ├── ActiveMQArtemis.html │ │ │ │ ├── ActiveMQClassic.html │ │ │ │ └── Connection.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ └── test │ │ │ ├── AppTest.html │ │ │ ├── class-use │ │ │ └── AppTest.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ └── routebuilder │ │ └── test │ │ ├── ExistingRouteBuilderTest.html │ │ ├── class-use │ │ └── ExistingRouteBuilderTest.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ ├── package-tree.html │ │ └── package-use.html ├── overview-frame.html ├── overview-summary.html ├── overview-tree.html ├── package-list ├── script.js └── stylesheet.css ├── integration ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── assimbly │ └── integration │ ├── Integration.java │ └── impl │ ├── BaseIntegration.java │ └── CamelIntegration.java ├── integrationRest ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── assimbly │ │ └── integrationrest │ │ ├── CertificateManagerRuntime.java │ │ ├── FlowConfigurerRuntime.java │ │ ├── FlowManagerRuntime.java │ │ ├── HealthIntegrationRuntime.java │ │ ├── HealthRuntime.java │ │ ├── IntegrationRuntime.java │ │ ├── MessageManagerRuntime.java │ │ ├── StatisticsRuntime.java │ │ ├── ValidationRuntime.java │ │ └── event │ │ └── FailureCollector.java │ └── test │ ├── java │ └── org │ │ └── assimbly │ │ └── integrationrest │ │ ├── AccountDBResourceTest.java │ │ ├── AuthenticationResourceTest.java │ │ ├── CertificateManagerRuntimeTest.java │ │ ├── FlowConfigurerRuntimeTest.java │ │ ├── FlowManagerRuntimeTest.java │ │ ├── HealthIntegrationRuntimeTest.java │ │ ├── HealthRuntimeTest.java │ │ ├── IntegrationRuntimeStartStopTest.java │ │ ├── IntegrationRuntimeTest.java │ │ ├── JDBCResourceTest.java │ │ ├── StatisticsRuntimeTest.java │ │ ├── UserJWTControllerTest.java │ │ ├── ValidationRuntimeTest.java │ │ ├── testcontainers │ │ └── AssimblyGatewayHeadlessContainer.java │ │ └── utils │ │ ├── GoogleTOTPUtil.java │ │ ├── MongoUtil.java │ │ └── TestApplicationContext.java │ └── resources │ ├── CollectorExample.json │ ├── InboundHttpsCamelContext.xml │ ├── Route.xml │ ├── SchedulerCamelContext.xml │ ├── certificates │ ├── certificate.csr │ ├── certificate.pem │ ├── keystore.p12 │ └── private.key │ └── security │ ├── keystore.jks │ └── truststore.jks ├── pom.xml └── rules.xml /.github/workflows/release-daily-develop-snapshot.yml: -------------------------------------------------------------------------------- 1 | name: Release Daily Development Snapshot 2 | 3 | on: 4 | schedule: 5 | - cron: '0 2 * * *' 6 | 7 | workflow_dispatch: 8 | 9 | jobs: 10 | getversion: 11 | runs-on: ubuntu-latest 12 | outputs: 13 | milestone: "${{ steps.maven-version.outputs.milestone }}" 14 | steps: 15 | - name: Checkout repository 16 | uses: actions/checkout@v4 17 | with: 18 | ref: develop 19 | 20 | - name: Set up JDK 21 21 | uses: actions/setup-java@v4 22 | with: 23 | java-version: '21' 24 | distribution: 'temurin' 25 | 26 | - name: Get Maven Project Version 27 | id: maven-version 28 | run: | 29 | VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) 30 | echo "Maven version: $VERSION" 31 | echo "milestone=$VERSION" >> $GITHUB_OUTPUT 32 | 33 | call-release: 34 | needs: getversion 35 | uses: ./.github/workflows/release.yml 36 | secrets: inherit 37 | with: 38 | branch: 'develop' 39 | milestone: ${{needs.getversion.outputs.milestone}} 40 | -------------------------------------------------------------------------------- /.github/workflows/release-daily-next-snapshot.yml: -------------------------------------------------------------------------------- 1 | name: Release Daily Next Snapshot 2 | 3 | on: 4 | #schedule: 5 | # - cron: '0 2 * * *' 6 | 7 | workflow_dispatch: 8 | 9 | jobs: 10 | getversion: 11 | runs-on: ubuntu-latest 12 | outputs: 13 | milestone: "${{ steps.maven-version.outputs.milestone }}" 14 | steps: 15 | - name: Checkout repository 16 | uses: actions/checkout@v4 17 | with: 18 | ref: develop 19 | 20 | - name: Set up JDK 21 21 | uses: actions/setup-java@v4 22 | with: 23 | java-version: '21' 24 | distribution: 'temurin' 25 | 26 | - name: Get Maven Project Version 27 | id: maven-version 28 | run: | 29 | VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) 30 | echo "Maven version: $VERSION" 31 | echo "milestone=$VERSION" >> $GITHUB_OUTPUT 32 | 33 | call-release: 34 | needs: getversion 35 | uses: ./.github/workflows/release.yml 36 | secrets: inherit 37 | with: 38 | branch: 'next' 39 | milestone: ${{needs.getversion.outputs.milestone}} 40 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled source # 2 | ################### 3 | *.class 4 | *.dll 5 | *.exe 6 | *.o 7 | *.so 8 | 9 | # Packages # 10 | ############ 11 | # it's better to unpack these files and commit the raw source 12 | # git has its own built in compression methods 13 | *.7z 14 | *.dmg 15 | *.gz 16 | *.iso 17 | *.jar 18 | *.rar 19 | *.tar 20 | *.zip 21 | 22 | 23 | ###################### 24 | # Intellij 25 | ###################### 26 | *.iws 27 | *.iml 28 | .idea_modules/ 29 | .idea/ 30 | atlassian-ide-plugin.xml 31 | out/ 32 | 33 | ###################### 34 | # Eclipse 35 | ###################### 36 | *.pydevproject 37 | .project 38 | .metadata 39 | tmp/ 40 | tmp/**/* 41 | *.tmp 42 | *.bak 43 | *.swp 44 | *~.nib 45 | .sts4-cache/ 46 | .sts-cache/ 47 | local.properties 48 | .classpath 49 | .settings/ 50 | .loadpath 51 | .factorypath 52 | /src/main/resources/rebel.xml 53 | 54 | # Logs and databases # 55 | ###################### 56 | *.log 57 | *.sql 58 | 59 | # Directories # 60 | ###################### 61 | target/ 62 | log/ -------------------------------------------------------------------------------- /.gradle/7.1.1/fileChanges/last-build.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gradle/7.1.1/fileHashes/fileHashes.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/assimbly/runtime/e4647ea87d673ba838e7457107f142e8be0e2a4c/.gradle/7.1.1/fileHashes/fileHashes.lock -------------------------------------------------------------------------------- /.gradle/7.1.1/gc.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/assimbly/runtime/e4647ea87d673ba838e7457107f142e8be0e2a4c/.gradle/7.1.1/gc.properties -------------------------------------------------------------------------------- /.gradle/buildOutputCleanup/buildOutputCleanup.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/assimbly/runtime/e4647ea87d673ba838e7457107f142e8be0e2a4c/.gradle/buildOutputCleanup/buildOutputCleanup.lock -------------------------------------------------------------------------------- /.gradle/buildOutputCleanup/cache.properties: -------------------------------------------------------------------------------- 1 | #Fri Mar 13 12:37:51 CET 2020 2 | gradle.version=6.2.2 3 | -------------------------------------------------------------------------------- /.gradle/checksums/checksums.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/assimbly/runtime/e4647ea87d673ba838e7457107f142e8be0e2a4c/.gradle/checksums/checksums.lock -------------------------------------------------------------------------------- /.gradle/vcs-1/gc.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/assimbly/runtime/e4647ea87d673ba838e7457107f142e8be0e2a4c/.gradle/vcs-1/gc.properties -------------------------------------------------------------------------------- /.gradle/vcsWorkingDirs/gc.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/assimbly/runtime/e4647ea87d673ba838e7457107f142e8be0e2a4c/.gradle/vcsWorkingDirs/gc.properties -------------------------------------------------------------------------------- /.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | arguments= 2 | auto.sync=false 3 | build.scans.enabled=false 4 | connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER) 5 | connection.project.dir= 6 | eclipse.preferences.version=1 7 | gradle.user.home= 8 | java.home= 9 | jvm.arguments= 10 | offline.mode=false 11 | override.workspace.settings=false 12 | show.console.view=false 13 | show.executions.view=false 14 | -------------------------------------------------------------------------------- /.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.8 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 13 | org.eclipse.jdt.core.compiler.processAnnotations=disabled 14 | org.eclipse.jdt.core.compiler.release=disabled 15 | org.eclipse.jdt.core.compiler.source=1.8 16 | -------------------------------------------------------------------------------- /.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | #Tue Dec 22 12:11:26 CET 2015 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | resolveWorkspaceProjects=true 5 | version=1 6 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "java.configuration.updateBuildConfiguration": "disabled", 3 | "java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m" 4 | } -------------------------------------------------------------------------------- /bin/mac/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) 3 | 4 | cd "$parent_path" 5 | 6 | if [ -z "$1" ]; then 7 | mvn -f ../../pom.xml clean install -DskipTests 8 | else 9 | mvn -f ../../$1/pom.xml clean install -DskipTests 10 | fi -------------------------------------------------------------------------------- /bin/mac/buildandtest.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) 3 | 4 | cd "$parent_path" 5 | 6 | if [ -z "$1" ]; then 7 | mvn -f ../../pom.xml clean install 8 | else 9 | mvn -f ../../$1/pom.xml clean install 10 | fi -------------------------------------------------------------------------------- /bin/mac/checkversions.sh: -------------------------------------------------------------------------------- 1 | mvn -f ../../pom.xml versions:display-dependency-updates -------------------------------------------------------------------------------- /bin/mac/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) 3 | 4 | cd "$parent_path" & 5 | 6 | mvn -f ../../broker/pom.xml clean deploy & 7 | 8 | mvn -f ../../brokerRest/pom.xml clean deploy & 9 | 10 | mvn -f ../../dil/pom.xml clean deploy & 11 | 12 | mvn -f ../../integration/pom.xml clean deploy & 13 | 14 | mvn -f ../../integrationRest/pom.xml clean deploy -------------------------------------------------------------------------------- /bin/mac/lazygit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ -n "$1" ]; then 4 | git add -A 5 | git commit -m "$1" 6 | git push 7 | else 8 | printf "\nUsage:\n" 9 | printf "\nlazygit.sh \n" 10 | fi 11 | -------------------------------------------------------------------------------- /bin/mac/updateversion.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ -n "$1" ]; then 4 | printf "\nupdate version to: $1\n" 5 | mvn -f ../../pom.xml versions:set -DgenerateBackupPoms=false -DnewVersion="$1" 6 | mvn -f ../../pom.xml versions:set-property -Dproperty=assimbly.version -DnewVersion="$1" 7 | else 8 | printf "\nUsage:\n" 9 | printf "\nupdateversion.sh \n" 10 | fi -------------------------------------------------------------------------------- /bin/win/build.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | IF "%~1"=="" GOTO :BUILDALL 4 | mvnd -f ..\..\%~1\pom.xml clean install -DskipTests 5 | :BUILDALL 6 | mvnd -f ..\..\pom.xml clean install -DskipTests -------------------------------------------------------------------------------- /bin/win/buildandtest.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | IF "%~1"=="" GOTO :BUILDALL 4 | mvn -f ..\..\%~1\pom.xml clean install 5 | :BUILDALL 6 | mvn -f ..\..\pom.xml clean install -------------------------------------------------------------------------------- /bin/win/checkversions.bat: -------------------------------------------------------------------------------- 1 | cls & mvn -f ..\..\pom.xml versions:display-dependency-updates -DlogOutput=false -------------------------------------------------------------------------------- /bin/win/lazygit.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | if [%1]==[] goto usage 4 | git pull 5 | git add -A 6 | git commit -m %1 7 | git push 8 | goto :eof 9 | :usage 10 | @echo Usage: %0 ^ 11 | exit /B 1 12 | 13 | -------------------------------------------------------------------------------- /bin/win/updateversion.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | if [%1]==[] goto usage 4 | echo: 5 | @echo update version to %1 6 | echo: 7 | mvn -f ..\..\pom.xml versions:set -DgenerateBackupPoms=false -DnewVersion=%1 8 | mvn -f ..\..\pom.xml versions:set-property -Dproperty=assimbly.version -DnewVersion=%1 9 | :usage 10 | echo: 11 | @echo updateversion ^ 12 | echo: 13 | @echo example: 14 | @echo updateversion 1.0.0 15 | exit /B 1 -------------------------------------------------------------------------------- /broker/src/main/java/org/assimbly/broker/decoder/AssimblyCodec.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.broker.decoder; 2 | 3 | import org.apache.activemq.artemis.utils.SensitiveDataCodec; 4 | import org.assimbly.util.EncryptionUtil; 5 | 6 | import java.util.Map; 7 | 8 | public class AssimblyCodec implements SensitiveDataCodec { 9 | 10 | @Override 11 | public String decode(Object mask) throws Exception { 12 | // Decode the mask into clear text password. 13 | EncryptionUtil encryptionUtil = new EncryptionUtil(EncryptionUtil.key, EncryptionUtil.algorithm); 14 | 15 | String decrypted = encryptionUtil.decrypt(mask.toString()); 16 | 17 | return decrypted; 18 | } 19 | 20 | @Override 21 | public String encode(Object secret) throws Exception { 22 | // encoding is done by environment variables 23 | return secret.toString(); 24 | } 25 | 26 | @Override 27 | public void init(Map params) { 28 | // Initialization done here. It is called right after the codec has been created. 29 | } 30 | 31 | } -------------------------------------------------------------------------------- /broker/src/main/java/org/assimbly/broker/impl/EndpointNotFoundException.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.broker.impl; 2 | 3 | public class EndpointNotFoundException extends Exception { 4 | public EndpointNotFoundException(String errorMessage) { 5 | super(errorMessage); 6 | } 7 | } -------------------------------------------------------------------------------- /brokerRest/src/test/java/org/assimbly/brokerrest/utils/TestApplicationContext.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.brokerrest.utils; 2 | 3 | public class TestApplicationContext { 4 | 5 | public static String ASSIMBLY_ENV = "test"; 6 | public static String MONGO_SECRET_KEY = "c3RlbXNldmVyeXRoaW5ncmVhbHdoaWNoZWZmb3J0b2ZmaWNlc3RpZmZjYWtlZ2VuZXJhbGVsZWN0cmljbWFpbA=="; 7 | public static String ASSIMBLY_BROKER_JMX_PORT = "1616"; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /brokerRest/src/test/resources/container/broker/custom.properties: -------------------------------------------------------------------------------- 1 | dovetail.tcpMaximumConnections=${DOVETAIL_AMQ_TCP_MAXIMUM_CONNECTIONS} 2 | assimbly.jmxPort=${ASSIMBLY_BROKER_JMX_PORT} -------------------------------------------------------------------------------- /brokerRest/src/test/resources/container/db/gateway.mv.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/assimbly/runtime/e4647ea87d673ba838e7457107f142e8be0e2a4c/brokerRest/src/test/resources/container/db/gateway.mv.db -------------------------------------------------------------------------------- /brokerRest/src/test/resources/container/db/gateway.trace.db: -------------------------------------------------------------------------------- 1 | 2024-05-03 11:10:28.111965+01:00 jdbc[3]: exception 2 | org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "DATABASECHANGELOGLOCK" not found; SQL statement: 3 | SELECT COUNT(*) FROM PUBLIC.DATABASECHANGELOGLOCK [42102-224] 4 | -------------------------------------------------------------------------------- /brokerRest/src/test/resources/container/security/keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/assimbly/runtime/e4647ea87d673ba838e7457107f142e8be0e2a4c/brokerRest/src/test/resources/container/security/keystore.jks -------------------------------------------------------------------------------- /brokerRest/src/test/resources/container/security/truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/assimbly/runtime/e4647ea87d673ba838e7457107f142e8be0e2a4c/brokerRest/src/test/resources/container/security/truststore.jks -------------------------------------------------------------------------------- /dil/README.md: -------------------------------------------------------------------------------- 1 | # DIL 2 | 3 | DIL stands for Data Integration Language. It's a language to develop 4 | integrations in an easy and flexible way. 5 | 6 | 7 | ## Key features 8 | 9 | - Validate DIL files 10 | - Transpile DIL code into [Apache Camel](https://github.com/apache/camel) code. 11 | - Run DIL flows and Camel routes 12 | - Contains predefined DIL steps 13 | 14 | 15 | # Developing 16 | 17 | The project is build with maven (mvn clean install). 18 | 19 | # prerequisite 20 | 21 | - JDK11+ 22 | - Maven 23 | - [Assimbly Base](https://github.com/assimbly/base) 24 | 25 | # build 26 | 27 | The base can also be build with Maven: 28 | 29 | ```mvn clean install``` 30 | 31 | 32 | ## Example 33 | 34 | ```xml 35 | 36 | HelloWorld 37 | 38 | 39 | source 40 | timer:foo 41 | 42 | 43 | sink 44 | print:Hello World! 45 | 46 | 47 | 48 | ``` 49 | 50 | For a longer [XML example](https://github.com/assimbly/connector/wiki/XML-Configuration-Example) see the wiki. 51 | 52 | 53 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/Dil.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil; 2 | 3 | /** 4 | *
 5 |  * This interface is meant to transpile DIL to Apache Camel.
 6 |  * 
7 | */ 8 | public interface Dil { 9 | 10 | /** 11 | * Sets the integration configuration from a string of a specific format (XML,JSON,YAML). 12 | * The configuration cleared after a integration is reinitialized. 13 | * 14 | * @param mediaType (XML,JSON,YAML) 15 | * @param configuration (DIL file in XML, JSON or YAML format) 16 | * @throws Exception if configuration can't be set 17 | */ 18 | public void transpile(String flowId, String mediaType, String configuration) throws Exception; 19 | 20 | } -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/blocks/beans/FlowLogger.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.blocks.beans; 2 | 3 | import org.apache.camel.Exchange; 4 | import org.apache.camel.Processor; 5 | import org.slf4j.Logger; 6 | import org.slf4j.LoggerFactory; 7 | 8 | public class FlowLogger implements Processor { 9 | 10 | protected Logger log = LoggerFactory.getLogger(getClass()); 11 | 12 | @Override 13 | public void process(Exchange exchange) throws Exception { 14 | 15 | String messageToLog = exchange.getProperty("DovetailLogMessage", String.class); 16 | String logLevel = exchange.getProperty("DovetailLogLevel", String.class); 17 | 18 | switch (logLevel) { 19 | case "INFO": 20 | log.info(messageToLog); 21 | break; 22 | case "WARNING": 23 | log.warn(messageToLog); 24 | break; 25 | case "ERROR": 26 | log.error(messageToLog); 27 | break; 28 | default: 29 | log.info(messageToLog); 30 | break; 31 | } 32 | 33 | exchange.removeProperty("DovetailLogMessage"); 34 | exchange.removeProperty("DovetailLogLevel"); 35 | 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/blocks/processors/ExceptionAsJsonProcessor.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.blocks.processors; 2 | 3 | import com.fasterxml.jackson.databind.ObjectMapper; 4 | import org.apache.camel.Exchange; 5 | import org.apache.camel.Expression; 6 | import org.apache.camel.Message; 7 | import org.apache.camel.Processor; 8 | import org.apache.camel.spi.Language; 9 | 10 | 11 | public class ExceptionAsJsonProcessor { 12 | 13 | public String process(Exchange exchange) throws Exception { 14 | 15 | Language resolvedLanguage = exchange.getContext().resolveLanguage("simple"); 16 | Expression expression = resolvedLanguage.createExpression("${exception}"); 17 | String result = expression.evaluate(exchange, String.class); 18 | 19 | return result; 20 | 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/blocks/processors/InputStreamToStringProcessor.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.blocks.processors; 2 | 3 | import org.apache.camel.Exchange; 4 | import org.apache.camel.Processor; 5 | import org.apache.camel.converter.stream.InputStreamCache; 6 | 7 | import java.io.*; 8 | import java.nio.charset.StandardCharsets; 9 | import java.util.stream.Collectors; 10 | 11 | public class InputStreamToStringProcessor implements Processor { 12 | 13 | public void process(Exchange exchange) throws Exception { 14 | 15 | Object body = exchange.getIn().getBody(); 16 | if (body instanceof InputStreamCache) { 17 | InputStreamCache inputStreamCache = (InputStreamCache) body; 18 | String bodyAsString = new BufferedReader(new InputStreamReader(inputStreamCache, StandardCharsets.UTF_8)) 19 | .lines() 20 | .collect(Collectors.joining("\n")); 21 | // Reset the input stream so it can be read again by other processors or routes 22 | inputStreamCache.reset(); 23 | // Set the body as string 24 | exchange.getIn().setBody(bodyAsString); 25 | } 26 | 27 | } 28 | 29 | } -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/blocks/processors/SetLogProcessor.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.blocks.processors; 2 | 3 | import org.apache.camel.Exchange; 4 | import org.apache.camel.Processor; 5 | 6 | public class SetLogProcessor implements Processor { 7 | 8 | public void process(Exchange exchange) throws Exception { 9 | 10 | JsonExchangeFormatter jsonFormatter = new JsonExchangeFormatter(); 11 | jsonFormatter.setShowAll(true); 12 | 13 | String json = jsonFormatter.format(exchange); 14 | 15 | System.out.println(json); 16 | 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/blocks/processors/SetPatternProcessor.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.blocks.processors; 2 | 3 | import org.apache.camel.*; 4 | 5 | //set headers for each step 6 | public class SetPatternProcessor implements Processor { 7 | 8 | public void process(Exchange exchange) throws Exception { 9 | 10 | String pattern = exchange.getProperty("pattern",String.class); 11 | 12 | if(pattern != null){ 13 | if(pattern.equalsIgnoreCase("InOnly") || pattern.equalsIgnoreCase("OneWay") || pattern.equalsIgnoreCase("Event") || pattern.equalsIgnoreCase("FireAndForget")){ 14 | exchange.setPattern(ExchangePattern.InOnly); 15 | }else if(pattern.equalsIgnoreCase("Inout") || pattern.equalsIgnoreCase("RequestReply")){ 16 | exchange.setPattern(ExchangePattern.InOut); 17 | } 18 | } 19 | 20 | exchange.removeProperty("pattern"); 21 | 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/event/domain/Filter.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.event.domain; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | 5 | public class Filter{ 6 | private String id; 7 | private String filter; 8 | 9 | @JsonProperty("id") 10 | public String getId() { 11 | return this.id; 12 | } 13 | 14 | public void setId(String id) { 15 | this.id = id; 16 | } 17 | 18 | @JsonProperty("filter") 19 | public String getFilter() { 20 | return this.filter; 21 | } 22 | 23 | public void setFilter(String filter) { 24 | this.filter = filter; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/event/domain/FlowEvent.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.event.domain; 2 | 3 | import java.util.Date; 4 | 5 | public class FlowEvent { 6 | 7 | private String flowId; 8 | private Date timestamp; 9 | private String error; 10 | 11 | public FlowEvent(String string, Date timestamp, String error) { 12 | this.flowId = string; 13 | this.timestamp = timestamp; 14 | this.error = error; 15 | } 16 | 17 | public FlowEvent() { 18 | // TODO Auto-generated constructor stub 19 | } 20 | 21 | public String getFlowId() { 22 | return flowId; 23 | } 24 | 25 | public void setFlowId(String flowId) { 26 | this.flowId = flowId; 27 | } 28 | 29 | public Object getTimestamp() { 30 | return timestamp; 31 | } 32 | 33 | public void setTimestamp(Date timestamp) { 34 | this.timestamp = timestamp; 35 | } 36 | 37 | public String getError() { 38 | return error; 39 | } 40 | 41 | public void setError(String error) { 42 | this.error = error; 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/event/domain/Store.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.event.domain; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | 5 | public class Store{ 6 | private String id; 7 | private String type; 8 | private String uri; 9 | 10 | private String expiryInHours; 11 | 12 | @JsonProperty("id") 13 | public String getId() { 14 | return this.id; 15 | } 16 | 17 | public void setId(String id) { 18 | this.id = id; 19 | } 20 | 21 | @JsonProperty("type") 22 | public String getType() { 23 | return this.type; 24 | } 25 | 26 | public void setType(String type) { 27 | this.type = type; 28 | } 29 | 30 | @JsonProperty("uri") 31 | public String getUri() { 32 | return this.uri; 33 | } 34 | 35 | public void setUri(String uri) { 36 | this.uri = uri; 37 | } 38 | 39 | @JsonProperty("expiryInHours") 40 | public String getExpiryInHours() { 41 | return this.expiryInHours; 42 | } 43 | 44 | public void setExpiryInHours(String expiryInHours) { 45 | this.expiryInHours = expiryInHours; 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/event/store/impl/ConsoleStore.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.event.store.impl; 2 | 3 | public class ConsoleStore { 4 | public ConsoleStore(String collectorId, org.assimbly.dil.event.domain.Store store) { 5 | } 6 | 7 | public void store(String json){ 8 | System.out.println(json); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/transpiler/marshalling/catalog/CustomKameletCatalog.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.transpiler.marshalling.catalog; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | public class CustomKameletCatalog { 7 | 8 | public static List names = new ArrayList<>(); 9 | 10 | } 11 | 12 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/CertificateRetriever.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation; 2 | 3 | import java.util.List; 4 | 5 | public interface CertificateRetriever { 6 | 7 | public void addHttpsCertificatesToTrustStore(List urls) throws Exception; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/CronValidator.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation; 2 | 3 | import org.assimbly.util.error.ValidationErrorMessage; 4 | import org.quartz.CronExpression; 5 | 6 | public class CronValidator { 7 | 8 | private static final ValidationErrorMessage EMPTY_CRON_ERROR = new ValidationErrorMessage("Empty crons aren't allowed!"); 9 | 10 | public ValidationErrorMessage validate(String cronExpression) { 11 | 12 | if (cronExpression.isEmpty()) 13 | return EMPTY_CRON_ERROR; 14 | 15 | try { 16 | new CronExpression(cronExpression); 17 | } catch (Exception e) { 18 | return new ValidationErrorMessage("Cron Validation error: " + e.getMessage()); 19 | } 20 | 21 | return null; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/RegexValidator.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation; 2 | 3 | import org.assimbly.dil.validation.beans.Regex; 4 | import org.assimbly.util.error.ValidationErrorMessage; 5 | 6 | import java.util.AbstractMap; 7 | import java.util.regex.Matcher; 8 | import java.util.regex.Pattern; 9 | import java.util.regex.PatternSyntaxException; 10 | 11 | public class RegexValidator { 12 | 13 | public AbstractMap.SimpleEntry validate(Regex expression) { 14 | 15 | AbstractMap.SimpleEntry response = null; 16 | String regex = expression.getExpression(); 17 | 18 | if (regex.isEmpty()) { 19 | return new AbstractMap.SimpleEntry(-1, "Regex cannot be empty"); 20 | } 21 | 22 | try { 23 | Pattern pattern = Pattern.compile(regex); 24 | Matcher matcher = pattern.matcher(""); 25 | response = new AbstractMap.SimpleEntry(1, String.valueOf(matcher.groupCount())); 26 | 27 | } catch (PatternSyntaxException e) { 28 | response = new AbstractMap.SimpleEntry(-1, e.getMessage()); 29 | } 30 | 31 | return response; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/Validator.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation; 2 | 3 | import org.assimbly.dil.validation.beans.Expression; 4 | import org.assimbly.util.error.ValidationErrorMessage; 5 | 6 | public interface Validator { 7 | 8 | ValidationErrorMessage validate(Expression expression); 9 | } 10 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/beans/Regex.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation.beans; 2 | 3 | public class Regex { 4 | 5 | private String expression; 6 | 7 | public Regex() {} 8 | 9 | public Regex(String expression) { 10 | this.expression = expression; 11 | } 12 | 13 | public String getExpression() { 14 | return expression; 15 | } 16 | 17 | public void setExpression(String expression) { 18 | this.expression = expression; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/beans/script/BadRequestResponse.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation.beans.script; 2 | 3 | public class BadRequestResponse { 4 | 5 | private String message; 6 | 7 | @SuppressWarnings("unused") 8 | protected BadRequestResponse() {} 9 | 10 | public BadRequestResponse(String message) { 11 | this.message = message; 12 | } 13 | 14 | public String getMessage() { 15 | return message; 16 | } 17 | 18 | @SuppressWarnings("unused") 19 | protected void setMessage(String message) { 20 | this.message = message; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/beans/script/EvaluationRequest.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation.beans.script; 2 | 3 | public class EvaluationRequest { 4 | 5 | private ExchangeDto exchange; 6 | private ScriptDto script; 7 | 8 | @SuppressWarnings("unused") 9 | protected EvaluationRequest() {} 10 | 11 | public EvaluationRequest(ExchangeDto exchange, ScriptDto script) { 12 | this.exchange= exchange; 13 | this.script = script; 14 | } 15 | public ExchangeDto getExchange() { 16 | return exchange; 17 | } 18 | 19 | @SuppressWarnings("unused") 20 | protected void setExchange(ExchangeDto exchange) { 21 | this.exchange = exchange; 22 | } 23 | 24 | public ScriptDto getScript() { 25 | return script; 26 | } 27 | 28 | @SuppressWarnings("unused") 29 | protected void setScript(ScriptDto script) { 30 | this.script = script; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/beans/script/EvaluationResponse.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation.beans.script; 2 | 3 | public class EvaluationResponse { 4 | 5 | private ExchangeDto exchange; 6 | private String result; 7 | private int code; 8 | 9 | @SuppressWarnings("unused") 10 | protected EvaluationResponse() {} 11 | 12 | public EvaluationResponse(ExchangeDto exchange, String result, int code) { 13 | this.exchange = exchange; 14 | this.result = result; 15 | this.code = code; 16 | } 17 | 18 | public ExchangeDto getExchange() { 19 | return exchange; 20 | } 21 | 22 | @SuppressWarnings("unused") 23 | protected void setExchange(ExchangeDto exchange) { 24 | this.exchange = exchange; 25 | } 26 | 27 | public String getResult() { 28 | return result; 29 | } 30 | 31 | @SuppressWarnings("unused") 32 | protected void setResult(String result) { 33 | this.result = result; 34 | } 35 | 36 | public int getCode() { 37 | return code; 38 | } 39 | 40 | @SuppressWarnings("unused") 41 | public void setCode(int code) { 42 | this.code = code; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/beans/script/ExchangeDto.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation.beans.script; 2 | 3 | import java.util.Map; 4 | 5 | public class ExchangeDto { 6 | 7 | private Map properties; 8 | private Map headers; 9 | private String body; 10 | 11 | public ExchangeDto() {} 12 | 13 | public ExchangeDto(Map properties, Map headers, String body) { 14 | this.properties = properties; 15 | this.headers = headers; 16 | this.body = body; 17 | } 18 | 19 | public Map getProperties() { 20 | return properties; 21 | } 22 | 23 | @SuppressWarnings("unused") 24 | protected void setProperties(Map properties) { 25 | this.properties = properties; 26 | } 27 | 28 | public Map getHeaders() { 29 | return headers; 30 | } 31 | 32 | @SuppressWarnings("unused") 33 | protected void setHeaders(Map headers) { 34 | this.headers = headers; 35 | } 36 | 37 | public String getBody() { 38 | return body; 39 | } 40 | 41 | @SuppressWarnings("unused") 42 | protected void setBody(String body) { 43 | this.body = body; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/beans/script/ScriptDto.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation.beans.script; 2 | 3 | public class ScriptDto { 4 | 5 | private String language; 6 | private String script; 7 | 8 | @SuppressWarnings("unused") 9 | protected ScriptDto() {} 10 | 11 | public ScriptDto(String language, String script) { 12 | this.language = language; 13 | this.script = script; 14 | } 15 | 16 | public String getLanguage() { 17 | return language; 18 | } 19 | 20 | @SuppressWarnings("unused") 21 | protected void setLanguage(String language) { 22 | this.language = language; 23 | } 24 | 25 | public String getScript() { 26 | return script; 27 | } 28 | 29 | @SuppressWarnings("unused") 30 | protected void setScript(String script) { 31 | this.script = script; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/expressions/ConstantValidator.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation.expressions; 2 | 3 | import org.apache.camel.language.constant.ConstantLanguage; 4 | import org.assimbly.dil.validation.beans.Expression; 5 | import org.assimbly.dil.validation.Validator; 6 | import org.assimbly.util.error.ValidationErrorMessage; 7 | 8 | public class ConstantValidator implements Validator { 9 | 10 | @Override 11 | public ValidationErrorMessage validate(Expression expression){ 12 | 13 | try { 14 | ConstantLanguage.constant(expression.getExpression()); 15 | } catch (Exception e) { 16 | if(expression.getName() == null) { 17 | return new ValidationErrorMessage(e.getMessage()); 18 | } 19 | 20 | return new ValidationErrorMessage("[" + expression.getName() + "]: " + e.getMessage()); 21 | } 22 | 23 | return null; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/expressions/GroovyValidator.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation.expressions; 2 | 3 | import org.assimbly.dil.validation.beans.Expression; 4 | import org.assimbly.dil.validation.Validator; 5 | import org.assimbly.util.error.ValidationErrorMessage; 6 | import org.springframework.scripting.groovy.GroovyScriptEvaluator; 7 | import org.springframework.scripting.support.StaticScriptSource; 8 | 9 | public class GroovyValidator implements Validator { 10 | 11 | @Override 12 | public ValidationErrorMessage validate(Expression expression){ 13 | 14 | if(expression.getName() == null || expression.getName().isEmpty()) 15 | return new ValidationErrorMessage("Header name cannot be empty"); 16 | else if(expression.getExpression() == null || expression.getExpression().isEmpty()) 17 | return new ValidationErrorMessage("Expression cannot be empty"); 18 | else { 19 | try { 20 | GroovyScriptEvaluator groovyScriptEvaluator = new GroovyScriptEvaluator(); 21 | groovyScriptEvaluator.evaluate(new StaticScriptSource(expression.getExpression())); 22 | } catch (Exception e) { 23 | return new ValidationErrorMessage("[" + expression.getName() + "]: " + e.getMessage()); 24 | } 25 | } 26 | 27 | return null; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/expressions/JsonPathValidator.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation.expressions; 2 | 3 | import com.jayway.jsonpath.InvalidPathException; 4 | import com.jayway.jsonpath.JsonPath; 5 | import org.apache.camel.jsonpath.JsonPathLanguage; 6 | import org.assimbly.dil.validation.beans.Expression; 7 | import org.assimbly.dil.validation.Validator; 8 | import org.assimbly.util.error.ValidationErrorMessage; 9 | 10 | public class JsonPathValidator implements Validator { 11 | 12 | @Override 13 | public ValidationErrorMessage validate(Expression expression){ 14 | try { 15 | JsonPath.compile(expression.getExpression()); 16 | } catch(InvalidPathException e) { 17 | if(expression.getName() == null) { 18 | return new ValidationErrorMessage(e.getMessage()); 19 | } 20 | 21 | return new ValidationErrorMessage("[" + expression.getName() + "]: " + e.getMessage()); 22 | } 23 | 24 | return null; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/expressions/XPathValidator.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation.expressions; 2 | 3 | import net.sf.saxon.s9api.Processor; 4 | import net.sf.saxon.s9api.SaxonApiException; 5 | import net.sf.saxon.s9api.XPathCompiler; 6 | import org.assimbly.dil.validation.beans.Expression; 7 | import org.assimbly.dil.validation.Validator; 8 | import org.assimbly.util.error.ValidationErrorMessage; 9 | 10 | public class XPathValidator implements Validator { 11 | 12 | @Override 13 | public ValidationErrorMessage validate(Expression expression){ 14 | try { 15 | Processor proc = new Processor(false); 16 | XPathCompiler xpath = proc.newXPathCompiler(); 17 | 18 | xpath.compile(expression.getExpression()); 19 | } catch (SaxonApiException e) { 20 | if(expression.getName() == null) { 21 | return new ValidationErrorMessage(e.getMessage()); 22 | } 23 | 24 | return new ValidationErrorMessage("[" + expression.getName() + "]: " + e.getMessage()); 25 | } 26 | 27 | return null; 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /dil/src/main/java/org/assimbly/dil/validation/saxon/SaxonConfiguration.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.dil.validation.saxon; 2 | 3 | import net.sf.saxon.Configuration; 4 | 5 | public class SaxonConfiguration extends Configuration { 6 | 7 | public SaxonConfiguration() { 8 | registerExtensionFunction(new UuidExtensionFunction()); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/aggregate-router.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: aggregate-router 5 | labels: 6 | camel.apache.org/kamelet.type: "router" 7 | spec: 8 | definition: 9 | title: "aggregate router" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | aggregateType: 15 | title: Aggregate Type 16 | description: Aggregate Type 17 | type: string 18 | default: "text/xml" 19 | completionSize: 20 | title: Completion Size 21 | description: Completion Size 22 | type: string 23 | default: 3 24 | dependencies: 25 | - "camel:kamelet" 26 | template: 27 | route: 28 | from: 29 | uri: "kamelet:source" 30 | steps: 31 | - setProperty: 32 | name: Aggregate-Type 33 | constant: "{{aggregateType}}" 34 | - aggregate: 35 | aggregationStrategy: "AggregateStrategy" 36 | completionSize: "{{completionSize}}" 37 | correlationExpression: 38 | constant: "true" 39 | - to: 40 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/amazon-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: amazon-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "amazon action" 10 | description: |- 11 | Amazon component 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - to: 22 | uri: "amazon:{{path}}?{{options}}" 23 | - to: 24 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/amazon-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: amazon-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "amazon action" 10 | description: |- 11 | Amazon component 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - to: 22 | uri: "amazon:{{path}}?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/appendtobody-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: appendtobody-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "appendtobody action" 10 | description: |- 11 | append to message body 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - transform: 26 | method: body().append("{{path}}") 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/appendtobody-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: appendtobody-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "appendtobody action" 10 | description: |- 11 | append to message body 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - transform: 26 | simple: "${body}{{path}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/base64totext-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: base64totext-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "base64totext action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - unmarshal: 22 | base64: {} 23 | - to: 24 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/base64totext-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: base64totext-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "base64totext sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - unmarshal: 22 | base64: {} 23 | - to: 24 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/connect-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: connect-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "connect action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:connect:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/connect-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: connect-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "connect sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:connect:{{path}}?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/connect-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: connect-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "connect source" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "rest:connect:{{path}}?{{options}}" 28 | steps: 29 | - to: 30 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/continueflow-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: continueflow-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "continueflow action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setProperty: 26 | name: flowId 27 | constant: "{{path}}" 28 | - setProperty: 29 | name: action 30 | constant: "continueflow" 31 | - process: 32 | ref: "ManageFlowProcessor" 33 | - to: 34 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/continueflow-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: continueflow-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "continueflow sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setProperty: 26 | name: flowId 27 | constant: "{{path}}" 28 | - setProperty: 29 | name: action 30 | constant: "continue" 31 | - process: 32 | ref: "ManageFlowProcessor" 33 | - to: 34 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/csvtoxml-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: csvtoxml-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "csvtoxml action" 10 | description: |- 11 | Converts CSV to XML 12 | type: object 13 | properties: 14 | delimiter: 15 | title: Delimiter 16 | description: Delimiter 17 | type: string 18 | default: "," 19 | usemaps: 20 | title: Use maps 21 | description: Wether to use maps or not 22 | type: string 23 | default: "true" 24 | encoding: 25 | title: Encoding 26 | description: Type of encoding 27 | type: string 28 | default: "UTF-8" 29 | dependencies: 30 | - "camel:kamelet" 31 | template: 32 | route: 33 | from: 34 | uri: "kamelet:source" 35 | steps: 36 | - unmarshal: 37 | csv: 38 | delimiter: "{{delimiter}}" 39 | useMaps: "{{usemaps}}" 40 | - to: 41 | uri: "csvtoxml://?encoding={{encoding}}" 42 | - to: 43 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/csvtoxml-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: csvtoxml-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "csvtoxml sink" 10 | description: |- 11 | Converts CSV to XML 12 | type: object 13 | properties: 14 | delimiter: 15 | title: Delimiter 16 | description: Delimiter 17 | type: string 18 | default: "," 19 | useMaps: 20 | title: Use Maps 21 | description: Wether to use maps or not 22 | type: string 23 | default: "true" 24 | encoding: 25 | title: Encoding 26 | description: Type of encoding 27 | type: string 28 | default: "UTF-8" 29 | dependencies: 30 | - "camel:kamelet" 31 | template: 32 | route: 33 | from: 34 | uri: "kamelet:source" 35 | steps: 36 | - unmarshal: 37 | csv: 38 | delimiter: "{{delimiter}}" 39 | useMaps: "{{useMaps}}" 40 | - to: 41 | uri: "csvtoxml://?encoding={{encoding}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/delete-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: delete-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "delete action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:delete:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/delete-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: delete-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "delete sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:delete:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/delete-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: delete-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "delete source" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "rest:delete:{{path}}?{{options}}" 28 | steps: 29 | - to: 30 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/docconverter-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: docconverter-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "DocConverter Action" 10 | description: |- 11 | Convert between various formats (XML, JSON, YAML and CSV) 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "docconverter:{{path}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/dynamic-router.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: dynamic-router 5 | labels: 6 | camel.apache.org/kamelet.type: "router" 7 | spec: 8 | definition: 9 | title: "dynamic router" 10 | description: |- 11 | Dynamic route message to on or more addresses 12 | type: object 13 | properties: 14 | out_rules_list: 15 | type: string 16 | dependencies: 17 | - "camel:kamelet" 18 | template: 19 | route: 20 | from: 21 | uri: "kamelet:source" 22 | steps: 23 | - setProperty: 24 | name: routingRules 25 | constant: "{{path}}" 26 | - setProperty: 27 | name: defaultEndpoint 28 | constant: "{{out}}" 29 | - process: 30 | ref: "RoutingRulesProcessor" 31 | - toD: 32 | uri: "${exchangeProperty.endpoint}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/edifactstandardstoxml-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: edifactstandardstoxml-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "edifactstandardstoxml action" 10 | description: |- 11 | Convert Edifact Standards to XML 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "edifact-standards:{{path}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/edifactstandardstoxml-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: edifactstandardstoxml-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "edifactstandardstoxml sink" 10 | description: |- 11 | Convert Edifact Standards to XML 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "edifact-standards:{{path}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/edifacttoxml-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: edifacttoxml-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "edifacttoxml action" 10 | description: |- 11 | Converts Edifact to XML 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "dataformat:edifact:marshal?{{options}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/edifacttoxml-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: edifacttoxml-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "edifacttoxml sink" 10 | description: |- 11 | Converts Edifact to XML 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "dataformat:edifact:marshal?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/editoxml-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: editoxml-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "editoxml action" 10 | description: |- 11 | Convert EDI to XML 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "dataformat:edi:marshal?{{options}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/editoxml-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: editoxml-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "editoxml sink" 10 | description: |- 11 | Convert EDI to XML 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "dataformat:edi:marshal?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/enrich-router.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: enrich-router 5 | labels: 6 | camel.apache.org/kamelet.type: "router" 7 | spec: 8 | definition: 9 | title: "enrich router" 10 | description: |- 11 | Enrich message 12 | type: object 13 | properties: 14 | out_rule: 15 | title: Out Rule 16 | description: Out Rule 17 | type: string 18 | enrichType: 19 | title: Enrich Type 20 | description: Type of enrichment 21 | type: string 22 | default: text/xml 23 | errorRoute: 24 | title: Error Route 25 | description: Error Route 26 | type: string 27 | default: text/xml 28 | dependencies: 29 | - "camel:kamelet" 30 | template: 31 | route: 32 | from: 33 | uri: "kamelet:source" 34 | steps: 35 | - setProperty: 36 | name: Enrich-Type 37 | constant: "{{enrichType}}" 38 | - setProperty: 39 | name: Error-Route 40 | constant: "{{errorRoute}}" 41 | - enrich: 42 | constant: "{{out_rule}}" 43 | aggregation-strategy: "#class:org.assimbly.dil.blocks.beans.enrich.EnrichStrategy" 44 | - to: 45 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/exceltoxml-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: exceltoxml-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "exceltoxml action" 10 | description: |- 11 | Convert Excel to XML 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "exceltoxml://?{{options}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/exceltoxml-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: exceltoxml-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "exceltoxml sink" 10 | description: |- 11 | Convert Excel to XML 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "exceltoxml://?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/filter-xpath-router.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: filter-xpath-router 5 | labels: 6 | camel.apache.org/kamelet.type: "xpath-router" 7 | spec: 8 | definition: 9 | title: "filter xpath-router" 10 | description: |- 11 | Filter message by XPath 12 | type: object 13 | properties: 14 | out_rule: 15 | title: Out Rules 16 | description: Out going URI 17 | type: string 18 | expression: 19 | title: Expression 20 | description: Expression 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - filter: 30 | xpath: "{{expression}}" 31 | - to: 32 | uri: "{{out_rule}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/formtoxml-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: formtoxml-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "formtoxml action" 10 | description: |- 11 | Convert Form to XML 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - to: 22 | uri: "formtoxml://?{{options}}" 23 | - to: 24 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/formtoxml-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: formtoxml-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "formtoxml sink" 10 | description: |- 11 | Convert Form to XML 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - to: 22 | uri: "formtoxml://?{{options}}" 23 | - to: 24 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/generic-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: generic-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "generic action" 10 | description: |- 11 | Generic kamelet for Camel Components 12 | type: object 13 | properties: 14 | uri: 15 | title: URI 16 | description: Endpoint URI 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - toD: 26 | uri: "{{uri}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/generic-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: generic-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "generic sink" 10 | description: |- 11 | Generic kamelet for Camel Components 12 | type: object 13 | properties: 14 | uri: 15 | title: URI 16 | description: Endpoint URI 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - toD: 26 | uri: "{{uri}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/generic-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: generic-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "generic source" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | uri: 15 | title: Uri 16 | description: Uri 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "{{uri}}" 24 | steps: 25 | - to: 26 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/get-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: get-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "get action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:get:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/get-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: get-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "get sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:trace:{{path}}?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/get-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: get-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "get source" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: 16 | description: . 17 | type: string 18 | options: 19 | title: 20 | description: . 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "rest:get:{{path}}?{{options}}" 28 | steps: 29 | - to: 30 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/googledrive-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: googledrive-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "googledrive action" 10 | description: |- 11 | Put files on GoogleDrive 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "googledrive://?{{options}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/googledrive-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: googledrive-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "googledrive sink" 10 | description: |- 11 | Put files on GoogleDrive 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "googledrive://?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/googledrive-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: googledrive-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "googledrive source" 10 | description: |- 11 | Get files from GoogleDrive 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "googledrive://?{{options}}" 24 | steps: 25 | - to: 26 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/groovy-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: groovy-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "groovy action" 10 | description: |- 11 | Apply Groovy script 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "sandbox://groovy?script=RAW({{path}})" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/groovy-script.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: groovy-script 5 | labels: 6 | camel.apache.org/kamelet.type: "script" 7 | spec: 8 | definition: 9 | title: "groovy script" 10 | description: |- 11 | Apply Groovy script 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "sandbox://groovy?script=RAW({{path}})" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/groovy-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: groovy-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "groovy sink" 10 | description: |- 11 | Apply Groovy script 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "sandbox://groovy?script=RAW({{path}})" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/head-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: head-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "head action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:head:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/head-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: head-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "head sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:get:{{path}}?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/head-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: head-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "head source" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "rest:head:{{path}}?{{options}}" 28 | steps: 29 | - to: 30 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/http-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: http-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "http action" 10 | description: |- 11 | HTTP Action 12 | type: object 13 | properties: 14 | uri: 15 | title: URI 16 | description: URI 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "{{uri}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/http-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: http-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "http sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | uri: 15 | title: URI 16 | description: Endpoint URI 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "{{uri}}" 27 | -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/http-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: http-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "http source" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path of the URL 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "jetty-nossl:http:{{path}}?jettyHttpBinding=#customHttpBinding&matchOnUriPrefix=false" 24 | steps: 25 | - removeHeaders: 26 | pattern: "CamelHttp*" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/https-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: https-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "https action" 10 | description: |- 11 | Sends HTTP Requests 12 | type: object 13 | properties: 14 | uri: 15 | title: URI 16 | description: Endpoint URI 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "{{uri}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/https-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: https-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "https sink" 10 | description: |- 11 | Sends HTTP Requests 12 | type: object 13 | properties: 14 | uri: 15 | title: URI 16 | description: Endpoint URI 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "{{uri}}" 27 | -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/https-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: https-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "https source" 10 | description: |- 11 | Receives HTTP Requests 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path of the URL 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "jetty:https:{{path}}?jettyHttpBinding=#customHttpBinding&matchOnUriPrefix=false" 24 | steps: 25 | - removeHeaders: 26 | pattern: "CamelHttp*" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/java-script.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: java-script 5 | labels: 6 | camel.apache.org/kamelet.type: "script" 7 | spec: 8 | definition: 9 | title: "java script" 10 | description: |- 11 | Runs java code (through joor) 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | joor: "{{path}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/javascript-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: javascript-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "javascript action" 10 | description: |- 11 | Apply Javascript 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | js: "{{path}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/javascript-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: javascript-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "javascript sink" 10 | description: |- 11 | Apply Javascript 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | js: "{{path}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/joor-script.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: joor-script 5 | labels: 6 | camel.apache.org/kamelet.type: "script" 7 | spec: 8 | definition: 9 | title: "joor script" 10 | description: |- 11 | Runs java code (through joor) 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | joor: "{{path}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/jslt-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: jslt-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "jslt action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setHeader: 26 | name: CamelJsltString 27 | constant: "{{path}}" 28 | - to: 29 | uri: "jslt:dummy?allowTemplateFromHeader=true" 30 | - to: 31 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/jslt-script.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: jslt-script 5 | labels: 6 | camel.apache.org/kamelet.type: "script" 7 | spec: 8 | definition: 9 | title: "jslt script" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setHeader: 26 | name: CamelJsltString 27 | constant: "{{path}}" 28 | - to: 29 | uri: "jslt:dummy?allowTemplateFromHeader=true" 30 | - to: 31 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/jslt-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: jslt-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "jslt action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setHeader: 26 | name: CamelJsltString 27 | constant: "{{path}}" 28 | - to: 29 | uri: "jslt:dummy?allowTemplateFromHeader=true" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/jsontoxml-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: jsontoxml-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "jsontoxml action" 10 | description: |- 11 | Convert JSON to XML 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "dataformat:custom-xmljson:unmarshal?{{options}}" 27 | - to: 28 | uri: "kamelet:sink" 29 | -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/jsontoxml-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: jsontoxml-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "jsontoxml sink" 10 | description: |- 11 | Convert JSON to XML 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "dataformat:custom-xmljson:unmarshal?{{options}}" 27 | -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/link-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: link-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "link action" 10 | description: |- 11 | Links steps 12 | type: object 13 | properties: 14 | uri: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "kamelet:sink" 27 | -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/link-router.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: link-router 5 | labels: 6 | camel.apache.org/kamelet.type: "router" 7 | spec: 8 | definition: 9 | title: "link router" 10 | description: |- 11 | Links steps 12 | type: object 13 | properties: 14 | out_list: 15 | title: Out List 16 | description: Out List 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - recipientList: 26 | constant: "{{out_list}}" 27 | -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/link-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: link-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "link sink" 10 | description: |- 11 | Links steps 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - to: 22 | uri: "kamelet:sink" 23 | -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/link-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: link-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "link source" 10 | description: |- 11 | Link steps 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - to: 22 | uri: "kamelet:sink" 23 | -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/manageflow-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: manageflow-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "manageflow action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | action: 19 | title: Path 20 | description: Path 21 | type: string 22 | default: "startflow" 23 | dependencies: 24 | - "camel:kamelet" 25 | template: 26 | route: 27 | from: 28 | uri: "kamelet:source" 29 | steps: 30 | - setProperty: 31 | name: flowId 32 | constant: "{{path}}" 33 | - setProperty: 34 | name: action 35 | constant: "{{action}}" 36 | - process: 37 | ref: "ManageFlowProcessor" 38 | - to: 39 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/manageflow-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: manageflow-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "manageflow sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | action: 19 | title: Path 20 | description: Path 21 | type: string 22 | default: "startflow" 23 | dependencies: 24 | - "camel:kamelet" 25 | template: 26 | route: 27 | from: 28 | uri: "kamelet:source" 29 | steps: 30 | - setProperty: 31 | name: flowId 32 | constant: "{{path}}" 33 | - setProperty: 34 | name: action 35 | constant: "{{action}}" 36 | - process: 37 | ref: "ManageFlowProcessor" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/options-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: options-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "options action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:options:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/options-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: options-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "options sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:options:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/options-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: options-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "options source" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: 16 | description: . 17 | type: string 18 | options: 19 | title: 20 | description: . 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "rest:options:{{path}}?{{options}}" 28 | steps: 29 | - to: 30 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/oriflame-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: oriflame-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "oriflame action" 10 | description: |- 11 | Oriflame component 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: options 20 | description: Options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "oriflame:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/oriflame-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: oriflame-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "oriflame sink" 10 | description: |- 11 | Oriflame component 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: options 20 | description: Options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "oriflame:{{path}}?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/patch-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: patch-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "patch action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:patch:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/patch-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: patch-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "patch sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:patch:{{path}}?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/patch-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: patch-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "patch source" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: 16 | description: . 17 | type: string 18 | options: 19 | title: 20 | description: . 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "rest:patch:{{path}}?{{options}}" 28 | steps: 29 | - to: 30 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/pauseflow-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: pauseflow-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "pauseflow action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setProperty: 26 | name: flowId 27 | constant: "{{path}}" 28 | - setProperty: 29 | name: action 30 | constant: "pauseflow" 31 | - process: 32 | ref: "ManageFlowProcessor" 33 | - to: 34 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/pauseflow-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: pauseflow-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "pauseflow sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setProperty: 26 | name: flowId 27 | constant: "{{path}}" 28 | - setProperty: 29 | name: action 30 | constant: "pauseflow" 31 | - process: 32 | ref: "ManageFlowProcessor" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/pollenrich-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: pollenrich-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "pollenrich action" 10 | description: |- 11 | Enrich message by polling 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Options 21 | type: string 22 | timeout: 23 | title: Time Out 24 | description: Time Out 25 | type: string 26 | default: "60000" 27 | dependencies: 28 | - "camel:kamelet" 29 | template: 30 | route: 31 | from: 32 | uri: "kamelet:source" 33 | steps: 34 | - pollEnrich: 35 | expression: 36 | simple: 37 | expression: "{{path}}?{{options}}" 38 | timeout: "{{timeout}}" 39 | - to: 40 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/pollenrich-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: pollenrich-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "pollenrich sink" 10 | description: |- 11 | Enrich message by polling 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Options 21 | type: string 22 | timeout: 23 | title: Time Out 24 | description: Time Out 25 | type: string 26 | default: "60000" 27 | dependencies: 28 | - "camel:kamelet" 29 | template: 30 | route: 31 | from: 32 | uri: "kamelet:source" 33 | steps: 34 | - pollEnrich: 35 | expression: 36 | simple: 37 | expression: "{{path}}?{{options}}" 38 | timeout: "{{timeout}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/post-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: post-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "post action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:post:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/post-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: post-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "post sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:post:{{path}}?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/post-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: post-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "post source" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: 16 | description: . 17 | type: string 18 | options: 19 | title: 20 | description: . 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "rest:post:{{path}}?{{options}}" 28 | steps: 29 | - to: 30 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/prependtobody-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: prependtobody-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "prependtobody action" 10 | description: |- 11 | Prepend to message body 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - transform: 26 | method: body().append("{{path}}") 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/prependtobody-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: prependtobody-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "prependtobody action" 10 | description: |- 11 | Prepend to message body 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - transform: 26 | method: body().append("{{path}}") 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/print-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: print-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "print action" 10 | description: |- 11 | Prints message to the console 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - log: "{{path}}" 26 | - to: 27 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/print-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: print-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "print sink" 10 | description: |- 11 | Prints message to the console 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - log: "{{path}}" 26 | -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/put-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: put-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "put action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:put:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/put-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: put-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "put sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:put:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/put-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: put-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "put source" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: 16 | description: . 17 | type: string 18 | options: 19 | title: 20 | description: . 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "rest:put:{{path}}?{{options}}" 28 | steps: 29 | - to: 30 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/python-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: python-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "python action" 10 | description: |- 11 | Apply Python script 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | python: "{{path}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/python-script.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: python-script 5 | labels: 6 | camel.apache.org/kamelet.type: "script" 7 | spec: 8 | definition: 9 | title: "python script" 10 | description: |- 11 | Apply Python script 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | python: "{{path}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/python-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: python-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "python sink" 10 | description: |- 11 | Apply Python script 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | python: "{{path}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/queuethrottle-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: queuethrottle-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "queuethrottle action" 10 | description: |- 11 | Throttles messages on an ActiveMQ queue 12 | type: object 13 | properties: 14 | timePeriod: 15 | title: Time Period 16 | description: Time Period 17 | type: string 18 | default: 5000 19 | messages: 20 | title: Messages 21 | description: Max number of messages 22 | type: string 23 | default: 1 24 | dependencies: 25 | - "camel:kamelet" 26 | template: 27 | route: 28 | from: 29 | uri: "kamelet:source" 30 | steps: 31 | - throttle: 32 | asyncDelayed: true 33 | timePeriodMillis: "{{timePeriod}}" 34 | expression: 35 | constant: "{{messages}}" 36 | correlationExpression: 37 | constant: 38 | expression: "{{routeId}}" 39 | - to: 40 | uri: "activemq:{{routeId}}_throttling?exchangePattern=InOnly&timeToLive=86400000" 41 | - to: 42 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/rabbitmq-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: rabbitmq-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "rabbitmq action" 10 | description: |- 11 | Sends messages to RabbitMQ 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - setProperty: 30 | name: excludedHeader_breadcrumbId 31 | simple: "${header.breadcrumbId}" 32 | - removeHeader: 33 | name: "breadcrumbId" 34 | - setHeader: 35 | name: CamelRabbitmqDeliveryMode 36 | constant: "2" 37 | - toD: 38 | uri: "rabbitmq:{{path}}?{{options}}" 39 | - setHeader: 40 | name: breadcrumbId 41 | simple: "${exchangeProperty.excludedHeader_breadcrumbId}" 42 | - removeProperty: 43 | name: "excludedHeader_breadcrumbId" 44 | - to: 45 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/rabbitmq-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: rabbitmq-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "rabbitmq sink" 10 | description: |- 11 | Sends messages to RabbitMQ 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - setProperty: 30 | name: excludedHeader_breadcrumbId 31 | simple: "${header.breadcrumbId}" 32 | - removeHeader: 33 | name: "breadcrumbId" 34 | - setHeader: 35 | name: CamelRabbitmqDeliveryMode 36 | constant: "2" 37 | - toD: 38 | uri: "rabbitmq:{{path}}?{{options}}" 39 | - setHeader: 40 | name: breadcrumbId 41 | simple: "${exchangeProperty.excludedHeader_breadcrumbId}" 42 | - removeProperty: 43 | name: "excludedHeader_breadcrumbId" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/rabbitmq-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: rabbitmq-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "rabbitmq source" 10 | description: |- 11 | Receives messages from RabbitMQ 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "rabbitmq:{{path}}?{{options}}" 28 | steps: 29 | - to: 30 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/recipients-router.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: recipients-router 5 | labels: 6 | camel.apache.org/kamelet.type: "router" 7 | spec: 8 | definition: 9 | title: "recipients router" 10 | description: |- 11 | Send message to one or more uris 12 | type: object 13 | properties: 14 | out_list: 15 | type: string 16 | dependencies: 17 | - "camel:kamelet" 18 | template: 19 | route: 20 | from: 21 | uri: "kamelet:source" 22 | steps: 23 | - to: 24 | uri: "{{out_list}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/removecookie-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: removecookie-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "removecookie action" 10 | description: |- 11 | Sets a browser cookie 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | default: AssimblyCookie 19 | domain: 20 | title: Domain 21 | description: Domain 22 | type: string 23 | default: "org.assimbly" 24 | dependencies: 25 | - "camel:kamelet" 26 | template: 27 | route: 28 | from: 29 | uri: "kamelet:source" 30 | steps: 31 | - to: 32 | uri: "bean://flowCookieStore?method=removeStringAsCookie(${exchange},'{{path}}','{{domain}}')" 33 | - to: 34 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/removecookie-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: removecookie-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "removecookie sink" 10 | description: |- 11 | Sets a browser cookie 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | default: AssimblyCookie 19 | domain: 20 | title: Domain 21 | description: Domain 22 | type: string 23 | default: "org.assimbly" 24 | dependencies: 25 | - "camel:kamelet" 26 | template: 27 | route: 28 | from: 29 | uri: "kamelet:source" 30 | steps: 31 | - to: 32 | uri: "bean://flowCookieStore?method=removeStringAsCookie(${exchange},'{{path}}','{{domain}}')" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/removeheaders-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: removeheaders-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "removeheaders action" 10 | description: |- 11 | Remove headers from message 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | excludePatterns: 19 | title: Exclude Pattern 20 | description: Exclude Pattern 21 | type: string 22 | default: 0 23 | dependencies: 24 | - "camel:kamelet" 25 | template: 26 | route: 27 | from: 28 | uri: "kamelet:source" 29 | steps: 30 | - removeHeaders: 31 | pattern: "{{path}}" 32 | exclude-pattern: "{{excludePattern}}" 33 | - to: 34 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/removeheaders-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: removeheaders-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "removeheaders sink" 10 | description: |- 11 | Remove headers from message 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | excludePatterns: 19 | title: Exclude Pattern 20 | description: Exclude Pattern 21 | type: string 22 | default: 0 23 | dependencies: 24 | - "camel:kamelet" 25 | template: 26 | route: 27 | from: 28 | uri: "kamelet:source" 29 | steps: 30 | - removeHeaders: 31 | pattern: "{{path}}" 32 | exclude-pattern: "{{excludePattern}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/replace-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: replace-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "replace action" 10 | description: |- 11 | Replace in message 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "replace://?{{options}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/replace-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: replace-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "replace action" 10 | description: |- 11 | Replace in message 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "replace://?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/replaceinpdf-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: replaceinpdf-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "replaceinpdf action" 10 | description: |- 11 | Replace headers in PDF 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "pdf-transform://{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/replaceinpdf-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: replaceinpdf-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "replaceinpdf sink" 10 | description: |- 11 | Replace headers in PDF 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "pdf-transform://{{path}}?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/resumeflow-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: resumeflow-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "resumeflow action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setProperty: 26 | name: flowId 27 | constant: "{{path}}" 28 | - setProperty: 29 | name: action 30 | constant: "resumeflow" 31 | - process: 32 | ref: "ManageFlowProcessor" 33 | - to: 34 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/resumeflow-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: resumeflow-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "resumeflow sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setProperty: 26 | name: flowId 27 | constant: "{{path}}" 28 | - setProperty: 29 | name: action 30 | constant: "resumeflow" 31 | - process: 32 | ref: "ManageFlowProcessor" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setbody-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setbody-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setbody action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | language: 15 | title: Set Body 16 | description: Set Body of a message 17 | type: string 18 | default: constant 19 | path: 20 | title: Path 21 | description: Path 22 | type: string 23 | dependencies: 24 | - "camel:kamelet" 25 | template: 26 | route: 27 | from: 28 | uri: "kamelet:source" 29 | steps: 30 | - setProperty: 31 | name: assimbly.body 32 | constant: "{{path}}" 33 | - setProperty: 34 | name: assimbly.language 35 | constant: "{{language}}" 36 | - process: 37 | ref: "SetBodyProcessor" 38 | - to: 39 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setbody-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setbody-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "setbody sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | language: 15 | title: Set Body 16 | description: Set Body of a message 17 | type: string 18 | default: constant 19 | path: 20 | title: Path 21 | description: Path 22 | type: string 23 | dependencies: 24 | - "camel:kamelet" 25 | template: 26 | route: 27 | from: 28 | uri: "kamelet:source" 29 | steps: 30 | - setProperty: 31 | name: assimbly.body 32 | constant: "{{path}}" 33 | - setProperty: 34 | name: assimbly.language 35 | constant: "{{language}}" 36 | - process: 37 | ref: "SetBodyProcessor" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setbodyasbytes-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setbodyasbytes-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setbodyasstring action" 10 | description: |- 11 | Set body as a bytes[] type 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - convertBodyTo: 22 | type: "bytes[]" 23 | - to: 24 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setbodyasoneline-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setbodyasonline-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setbodyasonline action" 10 | description: |- 11 | Converts the body to a String and removes all line-breaks so the string is in one line. 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | simple: "${bodyOneLine}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setbodyasoneline-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setbodyasonline-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "setbodyasonline sink" 10 | description: |- 11 | Converts the body to a String and removes all line-breaks so the string is in one line. 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | simple: "${bodyOneLine}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setbodyasstring-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setbodyasstring-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setbodyasstring action" 10 | description: |- 11 | Set body as a string type 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - convertBodyTo: 22 | type: "java.lang.String" 23 | - to: 24 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setbodybyheader-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setbodybyheader-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setbodybyheader action" 10 | description: |- 11 | Set body from header 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | header: "{{path}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setbodybyheader-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setbodybyheader-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "setbodybyheader sink" 10 | description: |- 11 | Set body from header 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | header: "{{path}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setbodybyheaders-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setbodybyheaders-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setbodybyheaders action" 10 | description: |- 11 | Set body as key/value map (comma-separated) from all headers 12 | type: object 13 | dependencies: 14 | - "camel:kamelet" 15 | template: 16 | route: 17 | from: 18 | uri: "kamelet:source" 19 | steps: 20 | - setBody: 21 | simple: "${headers.entrySet().stream().map(e -> e.getKey() + \"=\" + e.getValue()).collect(java.util.stream.Collectors.joining(\",\"))}" 22 | - to: 23 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setbodybyheaders-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setbodybyheaders-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "setbodybyheaders sink" 10 | description: |- 11 | Set body as key/value map (comma-separated) from all headers 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - setBody: 22 | groovy: "headers.collect { k, v -> \"$k=$v\" }.join(',')" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setcookie-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setcookie-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setcookie action" 10 | description: |- 11 | Sets browser cookie 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | default: AssimblyCookie 19 | domain: 20 | title: Domain 21 | description: Domain 22 | type: string 23 | default: "org.assimbly" 24 | value: 25 | title: Value 26 | description: Value 27 | type: string 28 | cookiePath: 29 | title: Cookie Path 30 | description: Cookie Path 31 | type: string 32 | default: "0" 33 | isSecure: 34 | title: Is Secure 35 | description: Is Secure 36 | type: string 37 | default: false 38 | dependencies: 39 | - "camel:kamelet" 40 | template: 41 | route: 42 | from: 43 | uri: "kamelet:source" 44 | steps: 45 | - to: 46 | uri: "bean://flowCookieStore?method=addStringAsCookie(${exchange},'{{path}}','{{value}}','{{domain}}','{{cookiePath}}',{{isSecure}})" 47 | - to: 48 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setcookie-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setcookie-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "setcookie sink" 10 | description: |- 11 | Sets browser cookie 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | default: AssimblyCookie 19 | domain: 20 | title: Domain 21 | description: Domain 22 | type: string 23 | default: "org.assimbly" 24 | value: 25 | title: Value 26 | description: Value 27 | type: string 28 | cookiePath: 29 | title: Cookie Path 30 | description: Cookie Path 31 | type: string 32 | default: "0" 33 | isSecure: 34 | title: Is Secure 35 | description: Is Secure 36 | type: string 37 | default: false 38 | dependencies: 39 | - "camel:kamelet" 40 | template: 41 | route: 42 | from: 43 | uri: "kamelet:source" 44 | steps: 45 | - to: 46 | uri: "bean://flowCookieStore?method=addStringAsCookie(${exchange},'{{path}}','{{value}}','{{domain}}','{{cookiePath}}',{{isSecure}})" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setheaderbybody-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setheaderbybody-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setbodybyheader action" 10 | description: |- 11 | Set header from body 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | default: body 19 | dependencies: 20 | - "camel:kamelet" 21 | template: 22 | route: 23 | from: 24 | uri: "kamelet:source" 25 | steps: 26 | - setHeader: 27 | name: "{{path}}" 28 | simple: "${body}" 29 | - to: 30 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setheaderbybody-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setheaderbybody-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setbodybyheader sink" 10 | description: |- 11 | Set header from body 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | default: body 19 | dependencies: 20 | - "camel:kamelet" 21 | template: 22 | route: 23 | from: 24 | uri: "kamelet:source" 25 | steps: 26 | - setHeader: 27 | name: "{{path}}" 28 | simple: "${body}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setheaders-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setheaders-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setmessage action" 10 | description: |- 11 | Set headers on a message 12 | type: object 13 | properties: 14 | headers: 15 | title: Headers 16 | description: Headers 17 | type: string 18 | default: 0 19 | dependencies: 20 | - "camel:kamelet" 21 | template: 22 | route: 23 | from: 24 | uri: "kamelet:source" 25 | steps: 26 | - setProperty: 27 | name: assimbly.headers 28 | constant: "{{headers}}" 29 | - process: 30 | ref: "SetHeadersProcessor" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setheaders-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setheaders-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "setmessage sink" 10 | description: |- 11 | Set headers on a message 12 | type: object 13 | properties: 14 | headers: 15 | title: Headers 16 | description: Headers 17 | type: string 18 | default: 0 19 | dependencies: 20 | - "camel:kamelet" 21 | template: 22 | route: 23 | from: 24 | uri: "kamelet:source" 25 | steps: 26 | - setProperty: 27 | name: assimbly.headers 28 | constant: "{{headers}}" 29 | - process: 30 | ref: "SetHeadersProcessor" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setmessage-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setmessage-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setmessage action" 10 | description: |- 11 | Set message (body and headers) 12 | type: object 13 | properties: 14 | headers: 15 | title: Headers 16 | description: Headers 17 | type: string 18 | default: 0 19 | language: 20 | title: Language 21 | description: Language 22 | type: string 23 | default: constant 24 | path: 25 | title: Path 26 | description: Path 27 | type: string 28 | dependencies: 29 | - "camel:kamelet" 30 | template: 31 | route: 32 | from: 33 | uri: "kamelet:source" 34 | steps: 35 | - setProperty: 36 | name: assimbly.body 37 | constant: "{{path}}" 38 | - setProperty: 39 | name: assimbly.language 40 | constant: "{{language}}" 41 | - setProperty: 42 | name: assimbly.headers 43 | constant: "{{headers}}" 44 | - process: 45 | ref: "SetBodyProcessor" 46 | - process: 47 | ref: "SetHeadersProcessor" 48 | - to: 49 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setmessage-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setmessage-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "setmessage sink" 10 | description: |- 11 | Set message (body and headers) 12 | type: object 13 | properties: 14 | headers: 15 | title: Headers 16 | description: Headers 17 | type: string 18 | default: 0 19 | language: 20 | title: Language 21 | description: Language 22 | type: string 23 | default: constant 24 | path: 25 | title: Path 26 | description: Path 27 | type: string 28 | dependencies: 29 | - "camel:kamelet" 30 | template: 31 | route: 32 | from: 33 | uri: "kamelet:source" 34 | steps: 35 | - setProperty: 36 | name: assimbly.body 37 | constant: "{{path}}" 38 | - setProperty: 39 | name: assimbly.language 40 | constant: "{{language}}" 41 | - setProperty: 42 | name: assimbly.headers 43 | constant: "{{headers}}" 44 | - process: 45 | ref: "SetBodyProcessor" 46 | - process: 47 | ref: "SetHeadersProcessor" 48 | -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setoauth2token-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setoauth2token-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setoauth2token action" 10 | description: |- 11 | Set oAuth2token 12 | type: object 13 | properties: 14 | options: 15 | type: string 16 | dependencies: 17 | - "camel:kamelet" 18 | template: 19 | route: 20 | from: 21 | uri: "kamelet:source" 22 | steps: 23 | - to: 24 | uri: "setoauth2token://?{{options}}" 25 | - to: 26 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setoauth2token-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setoauth2token-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "setoauth2token sink" 10 | description: |- 11 | Set oAuth2token 12 | type: object 13 | properties: 14 | options: 15 | type: string 16 | dependencies: 17 | - "camel:kamelet" 18 | template: 19 | route: 20 | from: 21 | uri: "kamelet:source" 22 | steps: 23 | - to: 24 | uri: "setoauth2token://?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setoriginalbody-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setoriginalbody-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setoriginalbody action" 10 | description: |- 11 | Set body from header 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | simple: "${originalBody}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setoriginalbody-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setoriginalbody-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "setoriginalbody sink" 10 | description: |- 11 | Set body from header 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | simple: "${originalBody}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setpattern-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setpattern-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setpattern action" 10 | description: |- 11 | Set the exchange pattern 12 | type: object 13 | properties: 14 | path: 15 | title: 16 | description: . 17 | type: string 18 | pattern: 19 | title: Pattern 20 | description: Pattern to use (inOnly, inOut, inOptionalOut) 21 | type: string 22 | default: InOnly 23 | dependencies: 24 | - "camel:kamelet" 25 | template: 26 | route: 27 | from: 28 | uri: "kamelet:source" 29 | steps: 30 | - setExchangePattern: "{{pattern}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setprettybody-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setprettybody-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setprettyBody action" 10 | description: |- 11 | Converts the body to a String, and attempts to pretty print if JSon or XML, otherwise the body is returned as the String value. 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | simple: "${prettyBody}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setprettybody-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setprettybody-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "setprettyBody sink" 10 | description: |- 11 | Converts the body to a String, and attempts to pretty print if JSon or XML, otherwise the body is returned as the String value. 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | simple: "${prettyBody}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setuuidheader-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setuuid-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setuuid action" 10 | description: |- 11 | Set UUID as message header 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | default: uuid 19 | generator: 20 | title: Generator 21 | description: Type of UUID Generator 22 | type: string 23 | default: default 24 | dependencies: 25 | - "camel:kamelet" 26 | template: 27 | route: 28 | from: 29 | uri: "kamelet:source" 30 | steps: 31 | - setHeader: 32 | name: "{{path}}" 33 | constant: "${uuid({{generator}})}" 34 | - to: 35 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/setuuidheader-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setuuid-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "setuuid sink" 10 | description: |- 11 | Set UUID as message header 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | default: uuid 19 | generator: 20 | title: Generator 21 | description: Type of UUID Generator 22 | type: string 23 | default: default 24 | dependencies: 25 | - "camel:kamelet" 26 | template: 27 | route: 28 | from: 29 | uri: "kamelet:source" 30 | steps: 31 | - setHeader: 32 | name: "{{path}}" 33 | constant: "${uuid({{generator}})}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/simple-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: simple-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "simple action" 10 | description: |- 11 | Applies simple expression to message body 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | simple: "{{path}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/simple-script.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: simple-script 5 | labels: 6 | camel.apache.org/kamelet.type: "script" 7 | spec: 8 | definition: 9 | title: "simple script" 10 | description: |- 11 | Applies simple expression to message body 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | simple: "{{path}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/simple-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: simple-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "simple sink" 10 | description: |- 11 | Applies simple expression to message body 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setBody: 26 | simple: "{{path}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/simplereplace-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: simplereplace-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "simplereplace action" 10 | description: |- 11 | Replace simple expression in the message body 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - to: 22 | uri: "dataformat:simple-replace:unmarshal" 23 | - to: 24 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/simplereplace-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: simplereplace-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "simplereplace sink" 10 | description: |- 11 | Replace simple expression in the message body 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - to: 22 | uri: "dataformat:simple-replace:unmarshal" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/startflow-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: startflow-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "startflow action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setProperty: 26 | name: flowId 27 | constant: "{{path}}" 28 | - setProperty: 29 | name: action 30 | constant: "startflow" 31 | - process: 32 | ref: "ManageFlowProcessor" 33 | - to: 34 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/startflow-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: startflow-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "startflow sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setProperty: 26 | name: flowId 27 | constant: "{{path}}" 28 | - setProperty: 29 | name: action 30 | constant: "startflow" 31 | - process: 32 | ref: "ManageFlowProcessor" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/stopflow-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: stopflow-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "stopflow action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setProperty: 26 | name: flowId 27 | constant: "{{path}}" 28 | - setProperty: 29 | name: action 30 | constant: "stopflow" 31 | - process: 32 | ref: "ManageFlowProcessor" 33 | - to: 34 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/stopflow-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: stopflow-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "stopflow sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setProperty: 26 | name: flowId 27 | constant: "{{path}}" 28 | - setProperty: 29 | name: action 30 | constant: "stopflow" 31 | - process: 32 | ref: "ManageFlowProcessor" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/suspendflow-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: suspendflow-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "suspendflow action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setProperty: 26 | name: flowId 27 | constant: "{{path}}" 28 | - setProperty: 29 | name: action 30 | constant: "suspendflow" 31 | - process: 32 | ref: "ManageFlowProcessor" 33 | - to: 34 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/suspendflow-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: suspendflow-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "suspendflow sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setProperty: 26 | name: flowId 27 | constant: "{{path}}" 28 | - setProperty: 29 | name: action 30 | constant: "suspendflow" 31 | - process: 32 | ref: "ManageFlowProcessor" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/texttobase64-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: texttobase64-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "texttobase64 action" 10 | description: |- 11 | Convert text to base64 string 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - marshal: 22 | base64: {} 23 | - to: 24 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/texttobase64-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: texttobase64-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "texttobase64 sink" 10 | description: |- 11 | Convert text to base64 string 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - marshal: 22 | base64: {} -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/trace-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: trace-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "trace action" 10 | description: |- 11 | REST Endpoint for the trace method 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "rest:trace:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/trace-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: trace-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "trace sink" 10 | description: |- 11 | REST Endpoint for the trace method 12 | type: object 13 | properties: 14 | options: 15 | title: Options 16 | description: Endpoint options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "rest:trace:{{path}}?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/trace-source.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: trace-source 5 | labels: 6 | camel.apache.org/kamelet.type: "source" 7 | spec: 8 | definition: 9 | title: "trace source" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: 16 | description: . 17 | type: string 18 | options: 19 | title: Options 20 | description: Endpoint options 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "rest:trace:{{path}}?{{options}}" 28 | steps: 29 | - to: 30 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/univocity-csv-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: univocity-csv-action 5 | labels: 6 | camel.apache.org/kamelet.type: "csv-action" 7 | spec: 8 | definition: 9 | title: "univocity csv-action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Path 20 | description: Path 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "dataformat:univocityCsv:{{path}}?{{options}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/univocity-csv-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: univocity-csv-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "csv-sink" 7 | spec: 8 | definition: 9 | title: "univocity csv-sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | options: 19 | title: Path 20 | description: Path 21 | type: string 22 | dependencies: 23 | - "camel:kamelet" 24 | template: 25 | route: 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - to: 30 | uri: "dataformat:univocityCsv:{{path}}?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/unzip-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: unzip-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "unzip action" 10 | description: |- 11 | Unzips a message 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - process: 22 | ref: "Unzip" 23 | - to: 24 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/unzip-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: unzip-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "unzip sink" 10 | description: |- 11 | Unzips a message 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - process: 22 | ref: "Unzip" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/velocity-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: velocity-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "velocity action" 10 | description: |- 11 | Applies a velocity template 12 | type: object 13 | properties: 14 | path: 15 | title: 16 | description: . 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setHeader: 26 | name: CamelVelocityTemplate 27 | constant: "{{path}}" 28 | - to: 29 | uri: "velocity:generate?allowTemplateFromHeader=true" 30 | - to: 31 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/velocity-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: velocity-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "velocity sink" 10 | description: |- 11 | Applies a velocity template 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - setHeader: 26 | name: CamelVelocityTemplate 27 | constant: "{{path}}" 28 | - to: 29 | uri: "velocity:generate?allowTemplateFromHeader=true" 30 | -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/wastebin-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: wastebin-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "wastebin sink" 10 | description: |- 11 | Sends a message into nowhere 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - to: 22 | uri: "mock:wastebin" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/wiretap-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: wiretap-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "wiretap action" 10 | description: |- 11 | Copy the original in a fire and forget style 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - wireTap: 26 | uri: "{{path}}" 27 | executor-service: "wiretapProfile" 28 | - to: 29 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/wiretap-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: wiretap-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "wiretap sink" 10 | description: |- 11 | Copy the original in a fire and forget style 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - wireTap: 26 | uri: "{{path}}" 27 | executor-service: "wiretapProfile" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/xmltocsv-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: xmltocsv-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "xmltocsv action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | orderHeaders: 15 | title: . 16 | description: . 17 | type: string 18 | default: UNORDERED 19 | quoteFields: 20 | title: . 21 | description: . 22 | type: string 23 | default: ALL_FIELDS 24 | delimiter: 25 | title: . 26 | description: . 27 | type: string 28 | default: LA== 29 | dependencies: 30 | - "camel:kamelet" 31 | template: 32 | route: 33 | from: 34 | uri: "kamelet:source" 35 | steps: 36 | - to: 37 | uri: "xmltocsv://?includeHeader={{includeHeader}}&includeIndexColumn={{includeIndexColumn}}&indexColumnName={{indexColumnName}}&orderHeaders={{orderHeaders}}"eFields={{quoteFields}}&delimiter=RAW({{delimiter}})&lineSeparator=RAW({{lineSeparator}})" 38 | - to: 39 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/xmltocsv-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: xmltocsv-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "xmltocsv sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | options: 15 | title: 16 | description: . 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "xmltocsv://?includeHeader={{includeHeader}}&includeIndexColumn={{includeIndexColumn}}&indexColumnName={{indexColumnName}}&orderHeaders={{orderHeaders}}"eFields={{quoteFields}}&delimiter=RAW({{delimiter}})&lineSeparator=RAW({{lineSeparator}})" 27 | 28 | -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/xmltoedi-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: xmltoedi-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "xmltoedi action" 10 | description: |- 11 | Converts XML to EDI 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - to: 22 | uri: "dataformat:edi:unmarshal" 23 | - to: 24 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/xmltoedi-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: xmltoedi-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "xmltoedi sink" 10 | description: |- 11 | Converts XML to EDI 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - to: 22 | uri: "dataformat:edi:unmarshal" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/xmltoedifact-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: xmltoedifact-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "xmltoedifact action" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | options: 15 | title: options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "dataformat:edifact:unmarshal?{{options}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/xmltoedifact-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: xmltoedifact-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "xmltoedifact sink" 10 | description: |- 11 | to do 12 | type: object 13 | properties: 14 | options: 15 | title: options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "dataformat:edifact:unmarshal?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/xmltoedifactstandards-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: xmltoedifactstandards-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "xmltoedifactstandards action" 10 | description: |- 11 | Convert XML to EDI (Standards) 12 | type: object 13 | properties: 14 | path: 15 | title: path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "edifact-standards:{{path}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/xmltoedifactstandards-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: xmltoedifactstandards-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "xmltoedifactstandards sink" 10 | description: |- 11 | Convert XML to EDI (Standards) 12 | type: object 13 | properties: 14 | path: 15 | title: path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "edifact-standards:{{path}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/xmltojson-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: xmltojson-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "xmltojson action" 10 | description: |- 11 | Convert XML to JSON 12 | type: object 13 | properties: 14 | options: 15 | title: options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "dataformat:custom-xmljson:marshal?{{options}}" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/xmltojson-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: xmltojson-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "xmltojson sink" 10 | description: |- 11 | Convert XML to JSON 12 | type: object 13 | properties: 14 | options: 15 | title: options 16 | description: Options 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "dataformat:custom-xmljson:marshal?{{options}}" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/xslt-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: xslt-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "xslt action" 10 | description: |- 11 | Apply XSLT on message 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "xslt-saxon:{{path}}?saxonExtensionFunctions=#uuid-function" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/xslt-script.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: xslt-script 5 | labels: 6 | camel.apache.org/kamelet.type: "script" 7 | spec: 8 | definition: 9 | title: "xslt script" 10 | description: |- 11 | Apply XSLT on message 12 | type: object 13 | properties: 14 | path: 15 | title: Path 16 | description: Path 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "xslt-saxon:{{path}}?saxonExtensionFunctions=#uuid-function" 27 | - to: 28 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/xslt-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: xslt-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "xslt sink" 10 | description: |- 11 | Apply XSLT on message 12 | type: object 13 | properties: 14 | options: 15 | title: 16 | description: . 17 | type: string 18 | dependencies: 19 | - "camel:kamelet" 20 | template: 21 | route: 22 | from: 23 | uri: "kamelet:source" 24 | steps: 25 | - to: 26 | uri: "xslt-saxon:{{path}}?saxonExtensionFunctions=#uuid-function" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/zip-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: zip-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "zip action" 10 | description: |- 11 | Zips a message 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - marshal: 22 | zipFile: 23 | id: zipFile-{{routeid}} 24 | - to: 25 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/kamelets/zip-sink.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: zip-sink 5 | labels: 6 | camel.apache.org/kamelet.type: "sink" 7 | spec: 8 | definition: 9 | title: "zip sink" 10 | description: |- 11 | Zips a message 12 | type: object 13 | properties: 14 | dependencies: 15 | - "camel:kamelet" 16 | template: 17 | route: 18 | from: 19 | uri: "kamelet:source" 20 | steps: 21 | - marshal: 22 | zipFile: 23 | id: zipFile-{{routeid}} 24 | -------------------------------------------------------------------------------- /dil/src/main/resources/setbodybyheader-action.kamelet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: camel.apache.org/v1alpha1 2 | kind: Kamelet 3 | metadata: 4 | name: setbodybyheader-action 5 | labels: 6 | camel.apache.org/kamelet.type: "action" 7 | spec: 8 | definition: 9 | title: "setbodybyheader action" 10 | description: |- 11 | Set body from header 12 | type: object 13 | properties: 14 | routeconfiguration_id: 15 | type: string 16 | default: "0" 17 | path: 18 | title: Path 19 | description: Path 20 | type: string 21 | dependencies: 22 | - "camel:kamelet" 23 | template: 24 | route: 25 | routeConfigurationId: "{{routeconfiguration_id}}" 26 | from: 27 | uri: "kamelet:source" 28 | steps: 29 | - setBody: 30 | header: "{{path}}" 31 | - to: 32 | uri: "kamelet:sink" -------------------------------------------------------------------------------- /dil/src/main/resources/velocity.properties: -------------------------------------------------------------------------------- 1 | space.gobbling=none -------------------------------------------------------------------------------- /doc/allclasses-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | All Classes 7 | 8 | 9 | 10 | 11 | 12 |

All Classes

13 |
14 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/allclasses-noframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | All Classes 7 | 8 | 9 | 10 | 11 | 12 |

All Classes

13 |
14 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/nl/drs/nl/drs/camelconnector/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | nl.drs.nl.drs.camelconnector 7 | 8 | 9 | 10 | 11 | 12 |

nl.drs.nl.drs.camelconnector

13 |
14 |

Classes

15 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/org/assimbly/connector/configuration/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | org.assimbly.connector.configuration 7 | 8 | 9 | 10 | 11 | 12 |

org.assimbly.connector.configuration

13 |
14 |

Classes

15 | 20 |
21 | 22 | 23 | -------------------------------------------------------------------------------- /doc/org/assimbly/connector/connect/util/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | org.assimbly.util 7 | 8 | 9 | 10 | 11 | 12 |

org.assimbly.util

13 |
14 |

Classes

15 | 21 |
22 | 23 | 24 | -------------------------------------------------------------------------------- /doc/org/assimbly/connector/event/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | org.assimbly.connector.event 7 | 8 | 9 | 10 | 11 | 12 |

org.assimbly.connector.event

13 |
14 |

Classes

15 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /doc/org/assimbly/connector/impl/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | org.assimbly.connector.impl 7 | 8 | 9 | 10 | 11 | 12 |

org.assimbly.connector.impl

13 |
14 |

Classes

15 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /doc/org/assimbly/connector/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | org.assimbly.connector 7 | 8 | 9 | 10 | 11 | 12 |

org.assimbly.connector

13 |
14 |

Interfaces

15 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/org/assimbly/connector/processors/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | org.assimbly.connector.processors 7 | 8 | 9 | 10 | 11 | 12 |

org.assimbly.connector.processors

13 |
14 |

Classes

15 | 20 |
21 | 22 | 23 | -------------------------------------------------------------------------------- /doc/org/assimbly/connector/routes/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | org.assimbly.connector.routes 7 | 8 | 9 | 10 | 11 | 12 |

org.assimbly.connector.routes

13 |
14 |

Interfaces

15 | 18 |

Classes

19 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/org/assimbly/connector/service/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | org.assimbly.connector.service 7 | 8 | 9 | 10 | 11 | 12 |

org.assimbly.connector.service

13 |
14 |

Classes

15 | 20 |
21 | 22 | 23 | -------------------------------------------------------------------------------- /doc/org/assimbly/connector/test/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | org.assimbly.connector.test 7 | 8 | 9 | 10 | 11 | 12 |

org.assimbly.connector.test

13 |
14 |

Classes

15 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/org/assimbly/routebuilder/test/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | org.assimbly.routebuilder.test 7 | 8 | 9 | 10 | 11 | 12 |

org.assimbly.routebuilder.test

13 |
14 |

Classes

15 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/package-list: -------------------------------------------------------------------------------- 1 | org.assimbly.connector 2 | -------------------------------------------------------------------------------- /doc/script.js: -------------------------------------------------------------------------------- 1 | function show(type) 2 | { 3 | count = 0; 4 | for (var key in methods) { 5 | var row = document.getElementById(key); 6 | if ((methods[key] & type) != 0) { 7 | row.style.display = ''; 8 | row.className = (count++ % 2) ? rowColor : altColor; 9 | } 10 | else 11 | row.style.display = 'none'; 12 | } 13 | updateTabs(type); 14 | } 15 | 16 | function updateTabs(type) 17 | { 18 | for (var value in tabs) { 19 | var sNode = document.getElementById(tabs[value][0]); 20 | var spanNode = sNode.firstChild; 21 | if (value == type) { 22 | sNode.className = activeTableTab; 23 | spanNode.innerHTML = tabs[value][1]; 24 | } 25 | else { 26 | sNode.className = tableTab; 27 | spanNode.innerHTML = "" + tabs[value][1] + ""; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /integrationRest/src/test/java/org/assimbly/integrationrest/utils/GoogleTOTPUtil.java: -------------------------------------------------------------------------------- 1 | package org.assimbly.integrationrest.utils; 2 | 3 | import com.warrenstrange.googleauth.*; 4 | 5 | public class GoogleTOTPUtil { 6 | 7 | public static int generateToken(String secret) { 8 | 9 | if(secret == null) { 10 | return -1; 11 | } 12 | 13 | GoogleAuthenticator gAuth = new GoogleAuthenticator(); 14 | return gAuth.getTotpPassword(secret); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /integrationRest/src/test/resources/Route.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /integrationRest/src/test/resources/certificates/certificate.csr: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIICWzCCAUMCAQAwFjEUMBIGA1UEAwwLZXhhbXBsZS5jb20wggEiMA0GCSqGSIb3 3 | DQEBAQUAA4IBDwAwggEKAoIBAQCZ11moPEZnKQtyu3cTWX8uAn0z6wF/Xg41cbld 4 | 0XSIoDjJA/GRMdq3HECwooO6BlJaIPzRFdhwcBuBMfEWRls/cxYFvczuHATIwwia 5 | jDGUrW2jKfdxeTIkBGvp3mlWkQmCOPSBaG1UYPlo9003jWom3UMo3ccNFeHFotkt 6 | kXQx3jck34sT99kSd4vZjObtPeT1bUZCCGMb1SuWPW+yG8UW5w/ZBY2b+TANIbVk 7 | BjEttVs7uxKJ8T+2Jo1nknyuF8VV9IkpU98NP9vaANj4Ns8cwnsEKzltY4os2JtH 8 | Q7hLKLvy6l1D86ukweT1R1jaERPOSGo6qTrOerFA1wSZuUAzAgMBAAGgADANBgkq 9 | hkiG9w0BAQsFAAOCAQEAVHNrSH8ZzD2e/qU9O8oEgc7elPmeG/k2WkWOh3RFD8n0 10 | WHK3TI5UkPVg4DVOryNLViB7MRNF16QLjHslf9+iWZopGniP7i2ESAoVWh6OZnCQ 11 | VtLeTadUC3dSLVa/TuggpxP/dC90mFbEoVBu7XGhYYSFInjD8D3DzUqOqtsldnjq 12 | VbsqbEpTvSuSKXb3GIxXxqxUdlP0tl5weglD0Fadq2+tLHU0HXoM4Q3zGbXbOVoK 13 | +goiNgcQ4JeOW04sDKFiSugZuOUcW3nEM+OwWoq1BvjpqZduk/NzGM0sm/xGFDHB 14 | QLFfEemvvBR9wS2iyUrurryirgrUTyMrsqtpXcDYfg== 15 | -----END CERTIFICATE REQUEST----- 16 | -------------------------------------------------------------------------------- /integrationRest/src/test/resources/certificates/certificate.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIC2zCCAcOgAwIBAgIUMble9j42wimb+t9TnCBynWFODJswDQYJKoZIhvcNAQEL 3 | BQAwFjEUMBIGA1UEAwwLZXhhbXBsZS5jb20wHhcNMjUwMzIxMTUyNDA5WhcNMjYw 4 | MzIxMTUyNDA5WjAWMRQwEgYDVQQDDAtleGFtcGxlLmNvbTCCASIwDQYJKoZIhvcN 5 | AQEBBQADggEPADCCAQoCggEBAJnXWag8RmcpC3K7dxNZfy4CfTPrAX9eDjVxuV3R 6 | dIigOMkD8ZEx2rccQLCig7oGUlog/NEV2HBwG4Ex8RZGWz9zFgW9zO4cBMjDCJqM 7 | MZStbaMp93F5MiQEa+neaVaRCYI49IFobVRg+Wj3TTeNaibdQyjdxw0V4cWi2S2R 8 | dDHeNyTfixP32RJ3i9mM5u095PVtRkIIYxvVK5Y9b7IbxRbnD9kFjZv5MA0htWQG 9 | MS21Wzu7EonxP7YmjWeSfK4XxVX0iSlT3w0/29oA2Pg2zxzCewQrOW1jiizYm0dD 10 | uEsou/LqXUPzq6TB5PVHWNoRE85IajqpOs56sUDXBJm5QDMCAwEAAaMhMB8wHQYD 11 | VR0OBBYEFB1aLl1qYhSgX3yXdlRTb8nkabFxMA0GCSqGSIb3DQEBCwUAA4IBAQAK 12 | rPRNQy3yqfoo6OtK6UcpDKGxzU2NY+je/IAEkX8nAnYCBk+pz3GYbeMCLQmP03RB 13 | 9ihOE6R6ZmRkYmgAW7gsldQTqYZ56JxjbqUm9/CEtpBgHIsrDQsdQSBGmGJULshZ 14 | 5DTZ1s0QRHPTLhdEsyWr/7RwX7a50UZaoZ9tz5NZMdy3sItqBBgv3T0jZvc4ooG7 15 | /eeSX+kInU6HDgHG+3NWLgOzccKnNnOHIAUmShQz9Kz/sc+hZIi2YtH9asF383KV 16 | RYE8R1eysVa00E8CUNh4DIWRzz8egjcueLfCIG7k4z4MGN6WZPvuPt8zQfiEmDH9 17 | q6iXNnuCAGcintOa3ZKu 18 | -----END CERTIFICATE----- 19 | -------------------------------------------------------------------------------- /integrationRest/src/test/resources/certificates/keystore.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/assimbly/runtime/e4647ea87d673ba838e7457107f142e8be0e2a4c/integrationRest/src/test/resources/certificates/keystore.p12 -------------------------------------------------------------------------------- /integrationRest/src/test/resources/security/keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/assimbly/runtime/e4647ea87d673ba838e7457107f142e8be0e2a4c/integrationRest/src/test/resources/security/keystore.jks -------------------------------------------------------------------------------- /integrationRest/src/test/resources/security/truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/assimbly/runtime/e4647ea87d673ba838e7457107f142e8be0e2a4c/integrationRest/src/test/resources/security/truststore.jks -------------------------------------------------------------------------------- /rules.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | .*(alpha|Alpha|ALPHA).* 7 | .*(beta|Beta|BETA).* 8 | .*(rc|Rc|RC).* 9 | .*[-_\.](alpha|Alpha|ALPHA|b|beta|Beta|BETA|rc|RC|M|EA)[-_\.]?[0-9]* 10 | 11 | --------------------------------------------------------------------------------