Commit 85c6a422 authored by Aurelien Pupier's avatar Aurelien Pupier
Browse files

BS-9468: Use new version of cmis connector containing cxf dependency

parent 585a2b98
......@@ -94,49 +94,49 @@
<artifactItem>
<groupId>org.bonitasoft.connectors</groupId>
<artifactId>bonita-connector-cmis-createfolder-impl</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<classifier>connector</classifier>
<type>zip</type>
</artifactItem>
<artifactItem>
<groupId>org.bonitasoft.connectors</groupId>
<artifactId>bonita-connector-cmis-deletedocument-impl</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<classifier>connector</classifier>
<type>zip</type>
</artifactItem>
<artifactItem>
<groupId>org.bonitasoft.connectors</groupId>
<artifactId>bonita-connector-cmis-deletefolder-impl</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<classifier>connector</classifier>
<type>zip</type>
</artifactItem>
<artifactItem>
<groupId>org.bonitasoft.connectors</groupId>
<artifactId>bonita-connector-cmis-deleteversionofdocument-impl</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<classifier>connector</classifier>
<type>zip</type>
</artifactItem>
<artifactItem>
<groupId>org.bonitasoft.connectors</groupId>
<artifactId>bonita-connector-cmis-downloaddocument-impl</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<classifier>connector</classifier>
<type>zip</type>
</artifactItem>
<artifactItem>
<groupId>org.bonitasoft.connectors</groupId>
<artifactId>bonita-connector-cmis-uploadnewdocument-impl</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<classifier>connector</classifier>
<type>zip</type>
</artifactItem>
<artifactItem>
<groupId>org.bonitasoft.connectors</groupId>
<artifactId>bonita-connector-cmis-uploadnewversionofdocument-impl</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<classifier>connector</classifier>
<type>zip</type>
</artifactItem>
......
......@@ -46,10 +46,10 @@ public class UpdateCMISConnectorVersionCustomMigration extends CustomMigration {
final String defVersion = connectorInstance.get("definitionVersion");
if (isProvidedCMISConnectorDef(defId)) {
if(defVersion.equals("1.0.0")) {
connectorInstance.set("definitionVersion", "2.0.0");
connectorInstance.set("definitionVersion", "2.0.1");
final Instance connectorConfigInstance = connectorInstance.get("configuration");
if (connectorConfigInstance != null) {
connectorConfigInstance.set("version", "2.0.0");
connectorConfigInstance.set("version", "2.0.1");
if (isWebserviceBinding(connectorConfigInstance) && isSupportedURLExpression(connectorConfigInstance)) {
addServiceURL(connectorConfigInstance, model, WEBSERVICES_OBJECT_SERVICE,
createURLValueExpression(model, connectorConfigInstance, OBJECT_SERVICE_WSDL));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment