mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
Merge pull request #251 from ayyoob/3.0.0
few changes after testing the cluster and gateway
This commit is contained in:
commit
1f5f3f4e3c
@ -6,27 +6,6 @@
|
|||||||
<jndiConfig>
|
<jndiConfig>
|
||||||
<name>jdbc/WSO2CarbonDB</name>
|
<name>jdbc/WSO2CarbonDB</name>
|
||||||
</jndiConfig>
|
</jndiConfig>
|
||||||
<definition type="RDBMS">
|
|
||||||
<configuration>
|
|
||||||
<url>jdbc:h2:./repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url>
|
|
||||||
<username>wso2carbon</username>
|
|
||||||
<password>wso2carbon</password>
|
|
||||||
<driverClassName>org.h2.Driver</driverClassName>
|
|
||||||
<maxActive>50</maxActive>
|
|
||||||
<maxWait>60000</maxWait>
|
|
||||||
<testOnBorrow>true</testOnBorrow>
|
|
||||||
<validationQuery>SELECT 1</validationQuery>
|
|
||||||
<validationInterval>30000</validationInterval>
|
|
||||||
<defaultAutoCommit>false</defaultAutoCommit>
|
|
||||||
</configuration>
|
|
||||||
</definition>
|
|
||||||
</datasource>
|
|
||||||
<datasource>
|
|
||||||
<name>WSO2_UM_DB</name>
|
|
||||||
<description>The datasource used for registry and user manager</description>
|
|
||||||
<jndiConfig>
|
|
||||||
<name>jdbc/WSO2UMDB</name>
|
|
||||||
</jndiConfig>
|
|
||||||
<definition type="RDBMS">
|
<definition type="RDBMS">
|
||||||
<configuration>
|
<configuration>
|
||||||
<url>jdbc:h2:../core/repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9095</url>
|
<url>jdbc:h2:../core/repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9095</url>
|
||||||
|
|||||||
@ -27,10 +27,9 @@
|
|||||||
<property key="maximumTotalHttpConnection">100</property>
|
<property key="maximumTotalHttpConnection">100</property>
|
||||||
<property key="authorizer">org.wso2.carbon.device.mgt.output.adapter.websocket.authorization.DeviceAuthorizer</property>
|
<property key="authorizer">org.wso2.carbon.device.mgt.output.adapter.websocket.authorization.DeviceAuthorizer</property>
|
||||||
<property key="tokenUrl">https://${iot.gateway.host}:${iot.gateway.https.port}/token</property>
|
<property key="tokenUrl">https://${iot.gateway.host}:${iot.gateway.https.port}/token</property>
|
||||||
<property key="deviceMgtServerUrl">https://${iot.core.host}:${iot.core.https.port}</property>
|
<property key="deviceMgtServerUrl">https://${iot.gateway.host}:${iot.gateway.https.port}</property>
|
||||||
<property key="username">admin</property>
|
<property key="username">admin</property>
|
||||||
<property key="password">admin</property>
|
<property key="password">admin</property>
|
||||||
<property key="scopes"></property>
|
|
||||||
<!--websocket connection permissions which are validated for grouping (can have multiple permission.)-->
|
<!--websocket connection permissions which are validated for grouping (can have multiple permission.)-->
|
||||||
<property key="statsPermission">/permission/device-mgt/realtime_analytics</property>
|
<property key="statsPermission">/permission/device-mgt/realtime_analytics</property>
|
||||||
<!--offset time from expiry time to trigger refresh call (in seconds)-->
|
<!--offset time from expiry time to trigger refresh call (in seconds)-->
|
||||||
|
|||||||
@ -176,7 +176,6 @@
|
|||||||
<!-- commenting "GetAllRolesOfUserEnabled" property to fix
|
<!-- commenting "GetAllRolesOfUserEnabled" property to fix
|
||||||
https://wso2.org/jira/browse/IDENTITY-3489 -->
|
https://wso2.org/jira/browse/IDENTITY-3489 -->
|
||||||
<replace file="target/wso2carbon-core-${carbon.kernel.version}/repository/conf/user-mgt.xml" token="<Property name="GetAllRolesOfUserEnabled">true</Property>" value="<!--Property name="GetAllRolesOfUserEnabled">true</Property-->" />
|
<replace file="target/wso2carbon-core-${carbon.kernel.version}/repository/conf/user-mgt.xml" token="<Property name="GetAllRolesOfUserEnabled">true</Property>" value="<!--Property name="GetAllRolesOfUserEnabled">true</Property-->" />
|
||||||
<replace file="target/wso2carbon-core-${carbon.kernel.version}/repository/conf/user-mgt.xml" token="<Property name="dataSource">jdbc/WSO2CarbonDB</Property>" value="<Property name="dataSource">jdbc/WSO2UMDB</Property>" />
|
|
||||||
<!-- Move IS UI to configure menu -->
|
<!-- Move IS UI to configure menu -->
|
||||||
<property name="tempdir2" value="target/identity-ui" />
|
<property name="tempdir2" value="target/identity-ui" />
|
||||||
<mkdir dir="${tempdir2}" />
|
<mkdir dir="${tempdir2}" />
|
||||||
|
|||||||
@ -196,7 +196,7 @@ set CARBON_CLASSPATH=.\lib;%CARBON_CLASSPATH%
|
|||||||
|
|
||||||
set JAVA_ENDORSED=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
|
set JAVA_ENDORSED=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
|
||||||
|
|
||||||
set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms256m -Xmx1024m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="%CARBON_HOME%\repository\logs\heap-dump.hprof" -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dlogger.server.name="IoT-Analytics" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Dwso2.transports.xml="%CARBON_HOME%\repository\conf\mgt-transports.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\etc\logging-bridge.properties" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dmqtt.broker.host="localhost" -Dmqtt.broker.port="1886" -Diot.core.host="localhost" -Diot.core.https.port="9443" -Diot.keymanager.host="localhost" -Diot.keymanager.https.port="9443" -Diot.gatway.host="localhost" -Diot.gateway.https.port="8243" -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8
|
set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms256m -Xmx1024m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="%CARBON_HOME%\repository\logs\heap-dump.hprof" -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dlogger.server.name="IoT-Analytics" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Dwso2.transports.xml="%CARBON_HOME%\repository\conf\mgt-transports.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\etc\logging-bridge.properties" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dmqtt.broker.host="localhost" -Dmqtt.broker.port="1886" -Diot.keymanager.host="localhost" -Diot.keymanager.https.port="9443" -Diot.gatway.host="localhost" -Diot.gateway.https.port="8243" -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8
|
||||||
|
|
||||||
:runJava
|
:runJava
|
||||||
echo JAVA_HOME environment variable is set to %JAVA_HOME%
|
echo JAVA_HOME environment variable is set to %JAVA_HOME%
|
||||||
|
|||||||
@ -324,8 +324,6 @@ do
|
|||||||
-Dcom.ibm.cacheLocalHost=true \
|
-Dcom.ibm.cacheLocalHost=true \
|
||||||
-Dmqtt.broker.host="localhost" \
|
-Dmqtt.broker.host="localhost" \
|
||||||
-Dmqtt.broker.port="1886" \
|
-Dmqtt.broker.port="1886" \
|
||||||
-Diot.core.host="localhost" \
|
|
||||||
-Diot.core.https.port="9443" \
|
|
||||||
-Diot.keymanager.host="localhost" \
|
-Diot.keymanager.host="localhost" \
|
||||||
-Diot.keymanager.https.port="9443" \
|
-Diot.keymanager.https.port="9443" \
|
||||||
-Diot.gateway.host="localhost" \
|
-Diot.gateway.host="localhost" \
|
||||||
|
|||||||
@ -17,13 +17,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#issuer of the JWT
|
#issuer of the JWT
|
||||||
iss=iot_default
|
iss=wso2.org/products/iot
|
||||||
|
|
||||||
TokenEndpoint=https://localhost:${iot.core.https.port}/oauth2/token
|
TokenEndpoint=https://${iot.keymanager.host}:${iot.keymanager.https.port}/oauth2/token
|
||||||
|
|
||||||
#audience of JWT claim
|
#audience of JWT claim
|
||||||
#comma seperated values
|
#comma seperated values
|
||||||
aud=wso2.org/products/iot
|
aud=devicemgt
|
||||||
|
|
||||||
#expiration time of JWT (number of minutes from the current time)
|
#expiration time of JWT (number of minutes from the current time)
|
||||||
exp=1000
|
exp=1000
|
||||||
|
|||||||
@ -185,10 +185,10 @@ This file is ciphertool compliant. Refer PRODUCT_HOME/repository/conf/security/c
|
|||||||
|
|
||||||
<property name="username">admin</property>
|
<property name="username">admin</property>
|
||||||
<property name="password">admin</property>
|
<property name="password">admin</property>
|
||||||
<property name="tokenEndpoint">https://localhost:9443/oauth2</property>
|
<property name="tokenEndpoint">https://localhost:8243</property>
|
||||||
<!--offset time from expiry time to trigger refresh call - seconds -->
|
<!--offset time from expiry time to trigger refresh call - seconds -->
|
||||||
<property name="tokenRefreshTimeOffset">100</property>
|
<property name="tokenRefreshTimeOffset">100</property>
|
||||||
<property name="deviceMgtServerUrl">https://localhost:9443</property>
|
<property name="deviceMgtServerUrl">https://localhost:8243</property>
|
||||||
</authorizer>
|
</authorizer>
|
||||||
</security>
|
</security>
|
||||||
</mqtt>
|
</mqtt>
|
||||||
|
|||||||
@ -27,10 +27,9 @@
|
|||||||
<property key="maximumTotalHttpConnection">100</property>
|
<property key="maximumTotalHttpConnection">100</property>
|
||||||
<property key="authorizer">org.wso2.carbon.device.mgt.output.adapter.websocket.authorization.DeviceAuthorizer</property>
|
<property key="authorizer">org.wso2.carbon.device.mgt.output.adapter.websocket.authorization.DeviceAuthorizer</property>
|
||||||
<property key="tokenUrl">https://${iot.gateway.host}:${iot.gateway.https.port}/token</property>
|
<property key="tokenUrl">https://${iot.gateway.host}:${iot.gateway.https.port}/token</property>
|
||||||
<property key="deviceMgtServerUrl">https://${iot.core.host}:${iot.core.https.port}</property>
|
<property key="deviceMgtServerUrl">https://${iot.gateway.host}:${iot.gateway.https.port}</property>
|
||||||
<property key="username">admin</property>
|
<property key="username">admin</property>
|
||||||
<property key="password">admin</property>
|
<property key="password">admin</property>
|
||||||
<property key="scopes"></property>
|
|
||||||
<!--websocket connection permissions which are validated for grouping (can have multiple permission.)-->
|
<!--websocket connection permissions which are validated for grouping (can have multiple permission.)-->
|
||||||
<property key="statsPermission">/permission/device-mgt/realtime_analytics</property>
|
<property key="statsPermission">/permission/device-mgt/realtime_analytics</property>
|
||||||
<!--offset time from expiry time to trigger refresh call (in seconds)-->
|
<!--offset time from expiry time to trigger refresh call (in seconds)-->
|
||||||
|
|||||||
@ -1,25 +0,0 @@
|
|||||||
<api xmlns="http://ws.apache.org/ns/synapse" name="_WSO2DCRAPI_" context="/dynamic-client-web/register">
|
|
||||||
<resource methods="POST DELETE" url-mapping="/*" faultSequence="_dcr_fault_">
|
|
||||||
<inSequence>
|
|
||||||
<property name="uri.var.portnum" expression="get-property('keyManager.port')"/>
|
|
||||||
<property name="uri.var.hostname" expression="get-property('keyManager.hostname')"/>
|
|
||||||
<send>
|
|
||||||
<endpoint>
|
|
||||||
<http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/dynamic-client-web/register">
|
|
||||||
<timeout>
|
|
||||||
<duration>60000</duration>
|
|
||||||
<responseAction>fault</responseAction>
|
|
||||||
</timeout>
|
|
||||||
</http>
|
|
||||||
</endpoint>
|
|
||||||
</send>
|
|
||||||
</inSequence>
|
|
||||||
<outSequence>
|
|
||||||
<send/>
|
|
||||||
</outSequence>
|
|
||||||
</resource>
|
|
||||||
<handlers>
|
|
||||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.ext.APIManagerCacheExtensionHandler"/>
|
|
||||||
<handler class="org.wso2.carbon.apimgt.gateway.handlers.common.SynapsePropertiesHandler"/>
|
|
||||||
</handlers>
|
|
||||||
</api>
|
|
||||||
@ -449,6 +449,15 @@
|
|||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
|
||||||
|
<!-- Copying Authentication Endpoint webapp -->
|
||||||
|
<fileSet>
|
||||||
|
<directory>
|
||||||
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/devicetypes
|
||||||
|
</directory>
|
||||||
|
<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/devicetypes
|
||||||
|
</outputDirectory>
|
||||||
|
</fileSet>
|
||||||
|
|
||||||
<!-- Copying mdm app from devicemgt app-->
|
<!-- Copying mdm app from devicemgt app-->
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>
|
<directory>
|
||||||
|
|||||||
@ -162,7 +162,7 @@ set CARBON_CLASSPATH=.\lib;%CARBON_CLASSPATH%
|
|||||||
|
|
||||||
set JAVA_ENDORSED=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
|
set JAVA_ENDORSED=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
|
||||||
|
|
||||||
set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms256m -Xmx1024m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="%CARBON_HOME%\repository\logs\heap-dump.hprof" -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dlogger.server.name="IoT-Core" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Dwso2.transports.xml="%CARBON_HOME%\repository\conf\mgt-transports.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\etc\logging-bridge.properties" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8 -Dorg.wso2.ignoreHostnameVerification=true -Dorg.opensaml.httpclient.https.disableHostnameVerification=true -Dmqtt.broker.host="localhost" -Dmqtt.broker.port="1886" -Diot.core.host="localhost" -Diot.core.https.port="9443" -Diot.keymanager.host="localhost" -Diot.keymanager.https.port="9443" -Diot.gateway.host="localhost" -Diot.gateway.https.port="8243"
|
set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms256m -Xmx1024m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="%CARBON_HOME%\repository\logs\heap-dump.hprof" -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dlogger.server.name="IoT-Core" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Dwso2.transports.xml="%CARBON_HOME%\repository\conf\mgt-transports.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\etc\logging-bridge.properties" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8 -Dorg.wso2.ignoreHostnameVerification=true -Dorg.opensaml.httpclient.https.disableHostnameVerification=true -Dmqtt.broker.host="localhost" -Dmqtt.broker.port="1886" -Diot.core.host="localhost" -Diot.core.https.port="9443" -Diot.keymanager.host="localhost" -Diot.keymanager.https.port="9443" -Diot.gateway.host="localhost" -Diot.gateway.https.port="8243" -Diot.gateway.http.port="8280"
|
||||||
|
|
||||||
:runJava
|
:runJava
|
||||||
echo JAVA_HOME environment variable is set to %JAVA_HOME%
|
echo JAVA_HOME environment variable is set to %JAVA_HOME%
|
||||||
|
|||||||
@ -315,6 +315,7 @@ do
|
|||||||
-Diot.keymanager.https.port="9443" \
|
-Diot.keymanager.https.port="9443" \
|
||||||
-Diot.gateway.host="localhost" \
|
-Diot.gateway.host="localhost" \
|
||||||
-Diot.gateway.https.port="8243" \
|
-Diot.gateway.https.port="8243" \
|
||||||
|
-Diot.gateway.http.port="8280" \
|
||||||
org.wso2.carbon.bootstrap.Bootstrap $*
|
org.wso2.carbon.bootstrap.Bootstrap $*
|
||||||
status=$?
|
status=$?
|
||||||
done
|
done
|
||||||
|
|||||||
@ -24,13 +24,13 @@
|
|||||||
<WebappPublisherConfigs>
|
<WebappPublisherConfigs>
|
||||||
|
|
||||||
<!-- This host is used to define the host address which is used to publish APIs -->
|
<!-- This host is used to define the host address which is used to publish APIs -->
|
||||||
<Host>https://localhost:${carbon.https.port}</Host>
|
<Host>https://${iot.core.host}:${iot.core.https.port}</Host>
|
||||||
|
|
||||||
<!-- If it is true, the APIs of this instance will be published to the defined host -->
|
<!-- If it is true, the APIs of this instance will be published to the defined host -->
|
||||||
<PublishAPI>true</PublishAPI>
|
<PublishAPI>true</PublishAPI>
|
||||||
|
|
||||||
<!-- If it is true, the APIs of this instance will be updated when the webapps are redeployed -->
|
<!-- If it is true, the APIs of this instance will be updated when the webapps are redeployed -->
|
||||||
<EnabledUpdateApi>false</EnabledUpdateApi>
|
<EnabledUpdateApi>true</EnabledUpdateApi>
|
||||||
|
|
||||||
<!--Webapp will be published only when running below profiles-->
|
<!--Webapp will be published only when running below profiles-->
|
||||||
<Profiles>
|
<Profiles>
|
||||||
|
|||||||
@ -17,10 +17,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<IdentityProvider>
|
<IdentityProvider>
|
||||||
<IdentityProviderName>iot_default</IdentityProviderName>
|
<IdentityProviderName>wso2.org/products/iot</IdentityProviderName>
|
||||||
<DisplayName>iot_default</DisplayName>
|
<DisplayName>wso2.org/products/iot</DisplayName>
|
||||||
<IdentityProviderDescription></IdentityProviderDescription>
|
<IdentityProviderDescription></IdentityProviderDescription>
|
||||||
<Alias>wso2.org/products/iot</Alias>
|
<Alias>devicemgt</Alias>
|
||||||
<IsPrimary>true</IsPrimary>
|
<IsPrimary>true</IsPrimary>
|
||||||
<IsFederationHub></IsFederationHub>
|
<IsFederationHub></IsFederationHub>
|
||||||
<HomeRealmId></HomeRealmId>
|
<HomeRealmId></HomeRealmId>
|
||||||
|
|||||||
@ -163,6 +163,15 @@
|
|||||||
</featureArtifactDef>
|
</featureArtifactDef>
|
||||||
<!-- End of Device Management Features -->
|
<!-- End of Device Management Features -->
|
||||||
|
|
||||||
|
<!-- Device Management Plugin Features -->
|
||||||
|
<featureArtifactDef>
|
||||||
|
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.mobile.android.feature:${carbon.device.mgt.plugin.version}
|
||||||
|
</featureArtifactDef>
|
||||||
|
<featureArtifactDef>
|
||||||
|
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.mobile.windows.feature:${carbon.device.mgt.plugin.version}
|
||||||
|
</featureArtifactDef>
|
||||||
|
<!-- End of Device Management Plugin Features -->
|
||||||
|
|
||||||
<!-- IoT Device Management Features -->
|
<!-- IoT Device Management Features -->
|
||||||
<featureArtifactDef>
|
<featureArtifactDef>
|
||||||
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.adapter.feature:${carbon.device.mgt.plugin.version}
|
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.adapter.feature:${carbon.device.mgt.plugin.version}
|
||||||
@ -941,6 +950,14 @@
|
|||||||
<id>org.wso2.carbon.device.mgt.analytics.dashboard.feature.group</id>
|
<id>org.wso2.carbon.device.mgt.analytics.dashboard.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.windows.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
<!-- End of Device Management Features -->
|
<!-- End of Device Management Features -->
|
||||||
<feature>
|
<feature>
|
||||||
<id>org.wso2.carbon.device.mgt.adapter.feature.group</id>
|
<id>org.wso2.carbon.device.mgt.adapter.feature.group</id>
|
||||||
@ -1589,6 +1606,10 @@
|
|||||||
<id>org.wso2.carbon.module.mgt.server.feature.group</id>
|
<id>org.wso2.carbon.module.mgt.server.feature.group</id>
|
||||||
<version>${carbon.deployment.version}</version>
|
<version>${carbon.deployment.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
|
||||||
|
<version>${carbon.analytics.common.version}</version>
|
||||||
|
</feature>
|
||||||
<feature>
|
<feature>
|
||||||
<id>org.apache.synapse.wso2.feature.group</id>
|
<id>org.apache.synapse.wso2.feature.group</id>
|
||||||
<version>${carbon.mediation.version}</version>
|
<version>${carbon.mediation.version}</version>
|
||||||
@ -1859,6 +1880,14 @@
|
|||||||
<id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
|
<id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.windows.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
<feature>
|
<feature>
|
||||||
<id>org.wso2.carbon.apimgt.gateway.feature.group</id>
|
<id>org.wso2.carbon.apimgt.gateway.feature.group</id>
|
||||||
<version>${carbon.api.mgt.version}</version>
|
<version>${carbon.api.mgt.version}</version>
|
||||||
@ -1883,6 +1912,10 @@
|
|||||||
<id>org.wso2.carbon.certificate.mgt.api.feature.group</id>
|
<id>org.wso2.carbon.certificate.mgt.api.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.analytics.data.publisher.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.version}</version>
|
||||||
|
</feature>
|
||||||
<feature>
|
<feature>
|
||||||
<id>org.wso2.carbon.certificate.mgt.cert.admin.api.feature.group</id>
|
<id>org.wso2.carbon.certificate.mgt.cert.admin.api.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
@ -1895,6 +1928,10 @@
|
|||||||
<id>org.wso2.carbon.identity.jwt.client.extension.feature.group</id>
|
<id>org.wso2.carbon.identity.jwt.client.extension.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.analytics.api.client.feature.group</id>
|
||||||
|
<version>${carbon.analytics.version}</version>
|
||||||
|
</feature>
|
||||||
</features>
|
</features>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
@ -2287,6 +2324,10 @@
|
|||||||
<id>org.wso2.carbon.dynamic.client.registration.server.feature.group</id>
|
<id>org.wso2.carbon.dynamic.client.registration.server.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.analytics.data.publisher.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.version}</version>
|
||||||
|
</feature>
|
||||||
|
|
||||||
<!--required for context.xml-->
|
<!--required for context.xml-->
|
||||||
<feature>
|
<feature>
|
||||||
@ -2322,6 +2363,14 @@
|
|||||||
<id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
|
<id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.windows.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
<feature>
|
<feature>
|
||||||
<id>org.wso2.carbon.apimgt.gateway.feature.group</id>
|
<id>org.wso2.carbon.apimgt.gateway.feature.group</id>
|
||||||
<version>${carbon.api.mgt.version}</version>
|
<version>${carbon.api.mgt.version}</version>
|
||||||
@ -2362,6 +2411,10 @@
|
|||||||
<id>org.wso2.carbon.identity.jwt.client.extension.feature.group</id>
|
<id>org.wso2.carbon.identity.jwt.client.extension.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.analytics.api.client.feature.group</id>
|
||||||
|
<version>${carbon.analytics.version}</version>
|
||||||
|
</feature>
|
||||||
</features>
|
</features>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
@ -2512,6 +2565,14 @@
|
|||||||
<id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
|
<id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.windows.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
<feature>
|
<feature>
|
||||||
<id>org.wso2.carbon.device.mgt.analytics.dashboard.feature.group</id>
|
<id>org.wso2.carbon.device.mgt.analytics.dashboard.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
@ -2933,6 +2994,14 @@
|
|||||||
<id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
|
<id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.windows.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
<feature>
|
<feature>
|
||||||
<id>org.wso2.carbon.apimgt.gateway.feature.group</id>
|
<id>org.wso2.carbon.apimgt.gateway.feature.group</id>
|
||||||
<version>${carbon.api.mgt.version}</version>
|
<version>${carbon.api.mgt.version}</version>
|
||||||
@ -3122,6 +3191,14 @@
|
|||||||
<id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
|
<id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.windows.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
<feature>
|
<feature>
|
||||||
<id>org.wso2.carbon.device.mgt.analytics.dashboard.feature.group</id>
|
<id>org.wso2.carbon.device.mgt.analytics.dashboard.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
@ -3523,6 +3600,14 @@
|
|||||||
<id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
|
<id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
|
||||||
<version>${carbon.device.mgt.version}</version>
|
<version>${carbon.device.mgt.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
|
<feature>
|
||||||
|
<id>org.wso2.carbon.device.mgt.mobile.windows.feature.group</id>
|
||||||
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
|
</feature>
|
||||||
<feature>
|
<feature>
|
||||||
<id>org.wso2.carbon.apimgt.gateway.feature.group</id>
|
<id>org.wso2.carbon.apimgt.gateway.feature.group</id>
|
||||||
<version>${carbon.api.mgt.version}</version>
|
<version>${carbon.api.mgt.version}</version>
|
||||||
|
|||||||
@ -45,14 +45,14 @@
|
|||||||
<include>*/**</include>
|
<include>*/**</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet>
|
<!--<fileSet>-->
|
||||||
<directory>src/resources/bin</directory>
|
<!--<directory>src/resources/bin</directory>-->
|
||||||
<outputDirectory>wso2iot-${product.iot.version}/bin</outputDirectory>
|
<!--<outputDirectory>wso2iot-${product.iot.version}/bin</outputDirectory>-->
|
||||||
<includes>
|
<!--<includes>-->
|
||||||
<include>*/**</include>
|
<!--<include>*/**</include>-->
|
||||||
</includes>
|
<!--</includes>-->
|
||||||
<fileMode>755</fileMode>
|
<!--<fileMode>755</fileMode>-->
|
||||||
</fileSet>
|
<!--</fileSet>-->
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>src/resources/plugins</directory>
|
<directory>src/resources/plugins</directory>
|
||||||
<outputDirectory>wso2iot-${product.iot.version}/plugins</outputDirectory>
|
<outputDirectory>wso2iot-${product.iot.version}/plugins</outputDirectory>
|
||||||
|
|||||||
@ -63,12 +63,6 @@
|
|||||||
<featureArtifactDef>
|
<featureArtifactDef>
|
||||||
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature:\${carbon.device.mgt.plugin.version}
|
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature:\${carbon.device.mgt.plugin.version}
|
||||||
</featureArtifactDef>
|
</featureArtifactDef>
|
||||||
<featureArtifactDef>
|
|
||||||
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.mobile.android.feature:\${carbon.device.mgt.plugin.version}
|
|
||||||
</featureArtifactDef>
|
|
||||||
<featureArtifactDef>
|
|
||||||
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.mobile.windows.feature:\${carbon.device.mgt.plugin.version}
|
|
||||||
</featureArtifactDef>
|
|
||||||
</featureArtifacts>
|
</featureArtifacts>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
@ -99,14 +93,6 @@
|
|||||||
</feature>
|
</feature>
|
||||||
<feature>
|
<feature>
|
||||||
<id>org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature.group</id>
|
<id>org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature.group</id>
|
||||||
<version>${carbon.device.mgt.plugin.version}</version>
|
|
||||||
</feature>
|
|
||||||
<feature>
|
|
||||||
<id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
|
|
||||||
<version>\${carbon.device.mgt.plugin.version}</version>
|
|
||||||
</feature>
|
|
||||||
<feature>
|
|
||||||
<id>org.wso2.carbon.device.mgt.mobile.windows.feature.group</id>
|
|
||||||
<version>\${carbon.device.mgt.plugin.version}</version>
|
<version>\${carbon.device.mgt.plugin.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
</features>
|
</features>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user