-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
-
ENTESB-11534 - [extension] Selected libraries in runtime classpath
-
Made some test and the library is imported as expected!
Use the following extension filter to retrieve only the list of available extensions (feature ENTESB-13247):
GET api/v1/extensions?extensionType=Libraries
{
"items": [
{
"createdDate": 1585137219989,
"description": "Syndesis Extension for adding a custom JDBC Driver",
"extensionId": "io.syndesis.extensions:syndesis-library-test-driver",
"extensionType": "Libraries",
"icon": "data:image/svg+xml,%3Csvg[...],
"id": "i-M3GXbaK42YWhSEEgEVRz",
"lastUpdated": 1585137224076,
"name": "Example JDBC Driver Library",
"schemaVersion": "v1",
"status": "Installed",
"tags": [
"jdbc-driver"
],
"userId": "developer",
"uses": 0,
"version": "1.0.0"
}
],
"totalCount": 1
}
Use the `extensionId` field and populate a list of extensions to be POSTed to /integrations under each integration directly or under each flow.
Integration:
{
"name":"aaaa",
"dependencies":[
{
"type":"EXTENSION_TAG",
"id":"io.syndesis.extensions:syndesis-library-test-driver"
}
],
...
Flow:
{
"name":"aaaa",
"tags":[
"kafka"
],
"flows":[
{
"id":"-M3GWPcx-rxLiuukCqSj",
"dependencies":[
{
"type":"EXTENSION_TAG",
"id":"io.syndesis.extensions:syndesis-library-test-driver"
},
...