Merge branch 'master' into 'master'

Bug fixes and appmgt package name change

See merge request entgra/community-product!3
temp
Pahansith Gunathilake 3 years ago
commit 7509184892

@ -87,6 +87,54 @@
</target> </target>
</configuration> </configuration>
</execution> </execution>
<execution>
<id>update-dbscripts</id>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target name="replace dbscripts to avoid tenant creation issue ">
<replace file="target/${wso2am}/dbscripts/db2.sql" token="REG_VALUE VARCHAR(1000)," value="REG_VALUE VARCHAR(10000),"/>
<replace file="target/${wso2am}/dbscripts/h2.sql" token="REG_VALUE VARCHAR(1000)," value="REG_VALUE VARCHAR(10000),"/>
<replace file="target/${wso2am}/dbscripts/informix.sql" token="REG_VALUE VARCHAR(1000)," value="REG_VALUE VARCHAR(10000),"/>
<replace file="target/${wso2am}/dbscripts/mssql.sql" token="REG_VALUE VARCHAR(1000)," value="REG_VALUE VARCHAR(10000),"/>
<replace file="target/${wso2am}/dbscripts/mysql.sql" token="REG_VALUE VARCHAR(1000),," value="REG_VALUE VARCHAR(10000),,"/>
<replace file="target/${wso2am}/dbscripts/mysql_cluster.sql" token="REG_VALUE VARCHAR(1000)," value="REG_VALUE VARCHAR(10000),"/>
<replace file="target/${wso2am}/dbscripts/oracle.sql" token="REG_VALUE VARCHAR2(1000)," value="REG_VALUE VARCHAR2(10000),"/>
<replace file="target/${wso2am}/dbscripts/oracle.sql" token="REG_VALUE VARCHAR2(1000)," value="REG_VALUE VARCHAR2(10000),"/>
<replace file="target/${wso2am}/dbscripts/oracle_rac.sql" token="REG_VALUE VARCHAR2(1000)," value="REG_VALUE VARCHAR2(10000),"/>
<replace file="target/${wso2am}/dbscripts/postgresql.sql" token="REG_VALUE VARCHAR(1000)," value="REG_VALUE VARCHAR(10000),"/>
</target>
</configuration>
</execution>
<execution>
<!--Alter shared h2 db -->
<id>alter-shared-h2-db</id>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<delete file="${basedir}/target/${wso2am}/repository/database/WSO2SHARED_DB.mv.db"/>
<echo message="########### Create Device Management H2 Schema ###########" />
<property name="db.dir" value="target/${wso2am}/repository/database" />
<property name="userid" value="wso2carbon" />
<property name="password" value="wso2carbon" />
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2SHARED_DB;DB_CLOSE_ON_EXIT=FALSE" />
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" onerror="continue">
<classpath refid="maven.dependency.classpath" />
<classpath refid="maven.compile.classpath" />
<classpath refid="maven.runtime.classpath" />
<fileset file="${basedir}/target/${wso2am}/dbscripts/h2.sql" />
</sql>
<echo message="##################### END ####################" />
</target>
</configuration>
</execution>
<execution> <execution>
<!--Creating Device Management schema--> <!--Creating Device Management schema-->
<id>create-device-mgt-schema</id> <id>create-device-mgt-schema</id>
@ -228,10 +276,10 @@
<!-- App Manager Features--> <!-- App Manager Features-->
<featureArtifactDef> <featureArtifactDef>
org.wso2.carbon.devicemgt:org.wso2.carbon.device.application.mgt.api.feature:${carbon.device.mgt.version} org.wso2.carbon.devicemgt:io.entgra.application.mgt.api.feature:${carbon.device.mgt.version}
</featureArtifactDef> </featureArtifactDef>
<featureArtifactDef> <featureArtifactDef>
org.wso2.carbon.devicemgt:org.wso2.carbon.device.application.mgt.server.feature:${carbon.device.mgt.version} org.wso2.carbon.devicemgt:io.entgra.application.mgt.server.feature:${carbon.device.mgt.version}
</featureArtifactDef> </featureArtifactDef>
<!-- End of New App Manager Features--> <!-- End of New App Manager Features-->
</featureArtifacts> </featureArtifacts>
@ -262,11 +310,11 @@
<!--App Manager Features--> <!--App Manager Features-->
<feature> <feature>
<id>org.wso2.carbon.device.application.mgt.api.feature.group</id> <id>io.entgra.application.mgt.api.feature.group</id>
<version>${carbon.device.mgt.version}</version> <version>${carbon.device.mgt.version}</version>
</feature> </feature>
<feature> <feature>
<id>org.wso2.carbon.device.application.mgt.server.feature.group</id> <id>io.entgra.application.mgt.server.feature.group</id>
<version>${carbon.device.mgt.version}</version> <version>${carbon.device.mgt.version}</version>
</feature> </feature>
<!--End of App Manager Features--> <!--End of App Manager Features-->

Loading…
Cancel
Save