[ 
https://issues.apache.org/jira/browse/CAMEL-17639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-17639.
---------------------------------
    Resolution: Duplicate

> camel-yaml-dsl - Add support for spec/dependencies
> --------------------------------------------------
>
>                 Key: CAMEL-17639
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17639
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-yaml-dsl
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.16.0
>
>
> We should be able to detect dependencies in the integration and kamelet spec 
> files
> For example an integration can have
> {code}
> apiVersion: camel.apache.org/v1
> kind: Integration
> metadata:
>   name: sql-to-log.yaml
> spec:
>   dependencies:
>     - 'mvn:org.apache.commons:commons-dbcp2:2.9.0'
>     - 'mvn:org.postgresql:postgresql:42.2.14'
>   flows:
>     - from:
>         parameters:
>           dataSource: '#bean:datasource'
>         steps:
>           - marshal:
>               json:
>                 library: Jackson
>           - log: '${body}'
>         uri: 'sql:SELECT * FROM table1'
>     - beans:
>         - name: datasource
>           properties:
>             driverClassName: org.postgresql.Driver
>             password: postgres
>             url: 'jdbc:postgresql:localhost:5432:demo'
>             username: postgres
>           type: 'org.apache.commons.dbcp2.BasicDataSource'
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to