mirror of
https://repository.entgra.net/community/product-uem-community.git
synced 2025-10-06 02:02:27 +00:00
Compare commits
41 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42587bfbda | ||
|
|
5bd9ef69bc | ||
| e9df73f0c5 | |||
|
|
7e6ba53cb6 | ||
|
|
6249ddf392 | ||
|
|
cffad26fdf | ||
|
|
58c7114433 | ||
| e960a7bcb3 | |||
| ce66d8e3be | |||
|
|
ee8dbe8f38 | ||
|
|
e07411c68c | ||
|
|
d680bab76b | ||
|
|
4431610a9e | ||
| 4d685ad83c | |||
|
|
b8ec69d547 | ||
| f8d8c8e1c4 | |||
|
|
ae82b3e09c | ||
|
|
a2aae26206 | ||
|
|
a602c1c789 | ||
|
|
4d3db434f4 | ||
|
|
8ff921098f | ||
|
|
813c7196f7 | ||
|
|
3f0c2cbbc7 | ||
|
|
476fa4f9e3 | ||
|
|
949e422b85 | ||
|
|
9e2564ad08 | ||
|
|
1b0932b8e3 | ||
|
|
88d685ec00 | ||
|
|
18f397190f | ||
| 90ecaa074d | |||
|
|
0d68f41add | ||
|
|
cf63726002 | ||
|
|
7714f8fc4f | ||
|
|
f249194fec | ||
|
|
caf85973aa | ||
|
|
7a93570dc4 | ||
|
|
05d7b7536f | ||
|
|
1666303143 | ||
|
|
ab9144adcc | ||
|
|
84750c795d | ||
|
|
a2393d5651 |
@ -1,3 +1,21 @@
|
|||||||
|
<!--
|
||||||
|
~ Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
|
~
|
||||||
|
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
|
~ Version 2.0 (the "License"); you may not use this file except
|
||||||
|
~ in compliance with the License.
|
||||||
|
~ You may obtain a copy of the License at
|
||||||
|
~
|
||||||
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
~
|
||||||
|
~ Unless required by applicable law or agreed to in writing,
|
||||||
|
~ software distributed under the License is distributed on an
|
||||||
|
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
~ KIND, either express or implied. See the License for the
|
||||||
|
~ specific language governing permissions and limitations
|
||||||
|
~ under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
|
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>io.entgra.community.uem</groupId>
|
<groupId>io.entgra.community.uem</groupId>
|
||||||
<artifactId>io.entgra.community.uem.parent</artifactId>
|
<artifactId>io.entgra.community.uem.parent</artifactId>
|
||||||
<version>5.2.6</version>
|
<version>6.0.1-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>io.entgra.community.uem</groupId>
|
<groupId>io.entgra.community.uem</groupId>
|
||||||
<artifactId>distribution</artifactId>
|
<artifactId>distribution</artifactId>
|
||||||
<version>5.2.6</version>
|
<version>6.0.1-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
|
# Version 2.0 (the "License"); you may not use this file except
|
||||||
|
# in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing,
|
||||||
|
# software distributed under the License is distributed on an
|
||||||
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
# KIND, either express or implied. See the License for the
|
||||||
|
# specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
|
||||||
@ -22,7 +22,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>io.entgra.community.uem</groupId>
|
<groupId>io.entgra.community.uem</groupId>
|
||||||
<artifactId>io.entgra.community.uem.parent</artifactId>
|
<artifactId>io.entgra.community.uem.parent</artifactId>
|
||||||
<version>5.2.6</version>
|
<version>6.0.1-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -30,7 +30,7 @@
|
|||||||
<artifactId>io.entgra.community.uem.p2.profile</artifactId>
|
<artifactId>io.entgra.community.uem.p2.profile</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<name>Entgra UEM - P2 Profile Module</name>
|
<name>Entgra UEM - P2 Profile Module</name>
|
||||||
<url>http://entgra.io</url>
|
<url>https://entgra.io</url>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
@ -62,7 +62,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.wso2.maven</groupId>
|
<groupId>org.wso2.maven</groupId>
|
||||||
<artifactId>carbon-p2-plugin</artifactId>
|
<artifactId>carbon-p2-plugin</artifactId>
|
||||||
<version>${carbon.p2.plugin.version}</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>2-p2-repo-generation</id>
|
<id>2-p2-repo-generation</id>
|
||||||
@ -79,9 +78,6 @@
|
|||||||
<featureArtifactDef>
|
<featureArtifactDef>
|
||||||
io.entgra.device.mgt.plugins:io.entgra.device.mgt.plugins.mobile.android.feature:${io.entgra.device.mgt.plugins.version}
|
io.entgra.device.mgt.plugins:io.entgra.device.mgt.plugins.mobile.android.feature:${io.entgra.device.mgt.plugins.version}
|
||||||
</featureArtifactDef>
|
</featureArtifactDef>
|
||||||
<!--<featureArtifactDef>-->
|
|
||||||
<!--io.entgra.device.mgt.plugins:io.entgra.device.mgt.plugins.notification.listener.feature:${io.entgra.device.mgt.plugins.version}-->
|
|
||||||
<!--</featureArtifactDef>-->
|
|
||||||
</featureArtifacts>
|
</featureArtifacts>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
@ -102,10 +98,6 @@
|
|||||||
<id>io.entgra.device.mgt.plugins.mobile.android.feature.group</id>
|
<id>io.entgra.device.mgt.plugins.mobile.android.feature.group</id>
|
||||||
<version>${io.entgra.device.mgt.plugins.version}</version>
|
<version>${io.entgra.device.mgt.plugins.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
<!--<feature>-->
|
|
||||||
<!--<id>io.entgra.device.mgt.plugins.notification.listener.feature.group</id>-->
|
|
||||||
<!--<version>${io.entgra.device.mgt.plugins.version}</version>-->
|
|
||||||
<!--</feature>-->
|
|
||||||
</features>
|
</features>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
@ -114,7 +106,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||||
<artifactId>replacer</artifactId>
|
<artifactId>replacer</artifactId>
|
||||||
<version>1.5.3</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
|
|||||||
340
pom.xml
340
pom.xml
@ -23,9 +23,9 @@
|
|||||||
<groupId>io.entgra.community.uem</groupId>
|
<groupId>io.entgra.community.uem</groupId>
|
||||||
<artifactId>io.entgra.community.uem.parent</artifactId>
|
<artifactId>io.entgra.community.uem.parent</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<version>5.2.6</version>
|
<version>6.0.1-SNAPSHOT</version>
|
||||||
<name>Entgra Community Product - Parent</name>
|
<name>Entgra Community Product - Parent</name>
|
||||||
<url>http://entgra.io</url>
|
<url>https://entgra.io</url>
|
||||||
<description>Entgra Community Product</description>
|
<description>Entgra Community Product</description>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
@ -53,7 +53,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.wso2.orbit.com.h2database</groupId>
|
<groupId>org.wso2.orbit.com.h2database</groupId>
|
||||||
<artifactId>h2</artifactId>
|
<artifactId>h2</artifactId>
|
||||||
<version>${orbit.h2.engine.version}</version>
|
<version>${orbit.h2.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -61,250 +61,6 @@
|
|||||||
<artifactId>io.entgra.community.uem.core</artifactId>
|
<artifactId>io.entgra.community.uem.core</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.wso2.carbon.automation</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.automation.engine</artifactId>
|
|
||||||
<version>${platform.integration.utils.version}</version>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.slf4j</groupId>
|
|
||||||
<artifactId>slf4j-api</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpclient</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpcore</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.wso2.carbon.automation</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.automation.test.utils</artifactId>
|
|
||||||
<version>${test.framework.version}</version>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.slf4j</groupId>
|
|
||||||
<artifactId>slf4j-api</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpclient</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpcore</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.wso2.carbon.automationutils</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.integration.common.utils</artifactId>
|
|
||||||
<version>${test.framework.version}</version>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.slf4j</groupId>
|
|
||||||
<artifactId>slf4j-api</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpclient</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpcore</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.wso2.carbon.automation</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.automation.extensions</artifactId>
|
|
||||||
<version>${platform.integration.utils.version}</version>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.slf4j</groupId>
|
|
||||||
<artifactId>slf4j-api</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpclient</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpcore</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.ftpserver</groupId>
|
|
||||||
<artifactId>ftpserver-core</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.activemq</groupId>
|
|
||||||
<artifactId>activemq-all</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.tomcat.embed</groupId>
|
|
||||||
<artifactId>tomcat-embed-core</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.tomcat.embed</groupId>
|
|
||||||
<artifactId>tomcat-embed-logging-juli</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.springframework.ws.wso2</groupId>
|
|
||||||
<artifactId>spring.framework</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.cxf</groupId>
|
|
||||||
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.seleniumhq.selenium</groupId>
|
|
||||||
<artifactId>selenium-java</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>com.opera</groupId>
|
|
||||||
<artifactId>operadriver</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>com.saucelabs.selenium</groupId>
|
|
||||||
<artifactId>sauce-ondemand-driver</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>com.saucelabs.selenium</groupId>
|
|
||||||
<artifactId>selenium-client-factory</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.axis2.wso2</groupId>
|
|
||||||
<artifactId>axis2</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.ws.commons.axiom.wso2</groupId>
|
|
||||||
<artifactId>axiom</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>net.lingala.zip4j</groupId>
|
|
||||||
<artifactId>zip4j</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.wso2.carbon.automationutils</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.integration.common.extensions</artifactId>
|
|
||||||
<version>${automation.utils.version}</version>
|
|
||||||
<scope>test</scope>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.slf4j</groupId>
|
|
||||||
<artifactId>slf4j-api</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpclient</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpcore</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.ftpserver</groupId>
|
|
||||||
<artifactId>ftpserver-core</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.activemq</groupId>
|
|
||||||
<artifactId>activemq-all</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.tomcat.embed</groupId>
|
|
||||||
<artifactId>tomcat-embed-core</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.tomcat.embed</groupId>
|
|
||||||
<artifactId>tomcat-embed-logging-juli</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.springframework.ws.wso2</groupId>
|
|
||||||
<artifactId>spring.framework</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.cxf</groupId>
|
|
||||||
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.seleniumhq.selenium</groupId>
|
|
||||||
<artifactId>selenium-java</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>com.opera</groupId>
|
|
||||||
<artifactId>operadriver</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.jmeter</groupId>
|
|
||||||
<artifactId>ApacheJMeter_core</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>com.saucelabs.selenium</groupId>
|
|
||||||
<artifactId>sauce-ondemand-driver</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>com.saucelabs.selenium</groupId>
|
|
||||||
<artifactId>selenium-client-factory</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.axis2.wso2</groupId>
|
|
||||||
<artifactId>axis2</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.ws.commons.axiom.wso2</groupId>
|
|
||||||
<artifactId>axiom</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>net.lingala.zip4j</groupId>
|
|
||||||
<artifactId>zip4j</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.wso2.carbon.automationutils</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.integration.common.admin.client</artifactId>
|
|
||||||
<version>${automation.utils.version}</version>
|
|
||||||
<scope>test</scope>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.slf4j</groupId>
|
|
||||||
<artifactId>slf4j-api</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpclient</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpcore</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.wso2.carbon.commons</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.user.mgt.stub</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.wso2.carbon.commons</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.ndatasource.stub</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.wso2.carbon.commons</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.authenticator.stub</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.wso2.carbon</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.utils</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.code.gson</groupId>
|
<groupId>com.google.code.gson</groupId>
|
||||||
<artifactId>gson</artifactId>
|
<artifactId>gson</artifactId>
|
||||||
@ -315,35 +71,31 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|
||||||
<wso2am-nexus-artifact-version>4.0.0</wso2am-nexus-artifact-version>
|
<wso2am-nexus-artifact-version>4.2.0</wso2am-nexus-artifact-version>
|
||||||
<wso2am>wso2am-4.0.0</wso2am>
|
<wso2am>wso2am-4.2.0</wso2am>
|
||||||
|
|
||||||
<entgra-uem-core>io.entgra.community.uem.core-${project.version}</entgra-uem-core>
|
<entgra-uem-core>io.entgra.community.uem.core-${project.version}</entgra-uem-core>
|
||||||
<entgra-uem-community>entgra-uem-community-${project.version}</entgra-uem-community>
|
<entgra-uem-community>entgra-uem-community-${project.version}</entgra-uem-community>
|
||||||
|
|
||||||
<!-- Carbon Device Management-->
|
<!-- Carbon Device Management-->
|
||||||
<io.entgra.device.mgt.core.version>5.0.35</io.entgra.device.mgt.core.version>
|
<io.entgra.device.mgt.core.version>6.0.0-SNAPSHOT</io.entgra.device.mgt.core.version>
|
||||||
|
|
||||||
<carbon.p2.plugin.version>5.1.2</carbon.p2.plugin.version>
|
<carbon.p2.plugin.version>5.2.74</carbon.p2.plugin.version>
|
||||||
|
|
||||||
<!--Orbit versions-->
|
<!--Orbit versions-->
|
||||||
<orbit.h2.engine.version>1.4.199.wso2v1</orbit.h2.engine.version>
|
<orbit.h2.version>2.1.210.wso2v1</orbit.h2.version>
|
||||||
|
|
||||||
<io.entgra.device.mgt.plugins.version>6.0.25</io.entgra.device.mgt.plugins.version>
|
<io.entgra.device.mgt.plugins.version>7.0.0-SNAPSHOT</io.entgra.device.mgt.plugins.version>
|
||||||
|
|
||||||
<!--Testing-->
|
<!--Testing-->
|
||||||
<google.gson.version>2.8.5</google.gson.version>
|
<google.gson.version>2.9.1</google.gson.version>
|
||||||
<platform.integration.utils.version>4.4.3</platform.integration.utils.version>
|
|
||||||
<automation.utils.version>4.4.2</automation.utils.version>
|
|
||||||
<test.framework.version>4.4.2</test.framework.version>
|
|
||||||
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
<url>https://repository.entgra.net/community/product-uem-community.git</url>
|
<url>https://repository.entgra.net/community/product-uem-community.git</url>
|
||||||
<developerConnection>scm:git:https://repository.entgra.net/community/product-uem-community.git</developerConnection>
|
<developerConnection>scm:git:https://repository.entgra.net/community/product-uem-community.git</developerConnection>
|
||||||
<connection>scm:git:https://repository.entgra.net/community/product-uem-community.git</connection>
|
<connection>scm:git:https://repository.entgra.net/community/product-uem-community.git</connection>
|
||||||
<tag>v5.2.6</tag>
|
<tag>HEAD</tag>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
@ -355,7 +107,30 @@
|
|||||||
</extension>
|
</extension>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|
||||||
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>3.8.1</version>
|
||||||
|
<configuration>
|
||||||
|
<encoding>UTF-8</encoding>
|
||||||
|
<source>11</source>
|
||||||
|
<target>11</target>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.felix</groupId>
|
||||||
|
<artifactId>maven-bundle-plugin</artifactId>
|
||||||
|
<version>3.3.0</version>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<instructions>
|
||||||
|
<Require-Capability>osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=11))"</Require-Capability>
|
||||||
|
</instructions>
|
||||||
|
<obrRepository>NONE</obrRepository>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.jvnet.maven.incrementalbuild</groupId>
|
<groupId>org.jvnet.maven.incrementalbuild</groupId>
|
||||||
<artifactId>incremental-build-plugin</artifactId>
|
<artifactId>incremental-build-plugin</artifactId>
|
||||||
@ -368,16 +143,6 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
|
||||||
<version>2.3.1</version>
|
|
||||||
<configuration>
|
|
||||||
<encoding>UTF-8</encoding>
|
|
||||||
<source>1.8</source>
|
|
||||||
<target>1.8</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
@ -390,38 +155,15 @@
|
|||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-deploy-plugin</artifactId>
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
|
||||||
<pluginManagement>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.felix</groupId>
|
<groupId>org.apache.felix</groupId>
|
||||||
<artifactId>maven-scr-plugin</artifactId>
|
<artifactId>maven-scr-plugin</artifactId>
|
||||||
<version>1.7.2</version>
|
<version>1.7.2</version>
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>generate-scr-scrdescriptor</id>
|
|
||||||
<goals>
|
|
||||||
<goal>scr</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.felix</groupId>
|
|
||||||
<artifactId>maven-bundle-plugin</artifactId>
|
|
||||||
<version>2.3.5</version>
|
|
||||||
<extensions>true</extensions>
|
|
||||||
<configuration>
|
|
||||||
<obrRepository>NONE</obrRepository>
|
|
||||||
<!--<instructions>
|
|
||||||
<_include>-osgi.bnd</_include>
|
|
||||||
</instructions>-->
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
<version>2.1.2</version>
|
<version>3.2.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-sources</id>
|
<id>attach-sources</id>
|
||||||
@ -450,12 +192,22 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>2.18.1</version>
|
<version>3.1.2</version>
|
||||||
<!--Need to remove below configuration after fixing tests-->
|
<!--Need to remove below configuration after fixing tests-->
|
||||||
<configuration>
|
<configuration>
|
||||||
<testFailureIgnore>true</testFailureIgnore>
|
<testFailureIgnore>true</testFailureIgnore>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.wso2.maven</groupId>
|
||||||
|
<artifactId>carbon-p2-plugin</artifactId>
|
||||||
|
<version>${carbon.p2.plugin.version}</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||||
|
<artifactId>replacer</artifactId>
|
||||||
|
<version>1.5.3</version>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>io.entgra.community.uem</groupId>
|
<groupId>io.entgra.community.uem</groupId>
|
||||||
<artifactId>io.entgra.community.uem.parent</artifactId>
|
<artifactId>io.entgra.community.uem.parent</artifactId>
|
||||||
<version>5.2.6</version>
|
<version>6.0.1-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -52,7 +52,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<version>3.2.0</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>extract-pack</id>
|
<id>extract-pack</id>
|
||||||
@ -68,7 +67,7 @@
|
|||||||
<version>${wso2am-nexus-artifact-version}</version>
|
<version>${wso2am-nexus-artifact-version}</version>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
<overWrite>true</overWrite>
|
<overWrite>true</overWrite>
|
||||||
<outputDirectory>${project.basedir}/target/wso2am-${wso2am-nexus-artifact-version}</outputDirectory>
|
<outputDirectory>${project.basedir}/target</outputDirectory>
|
||||||
<destFileName>wso2am-${wso2am-nexus-artifact-version}</destFileName>
|
<destFileName>wso2am-${wso2am-nexus-artifact-version}</destFileName>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
</artifactItems>
|
</artifactItems>
|
||||||
@ -254,7 +253,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.wso2.maven</groupId>
|
<groupId>org.wso2.maven</groupId>
|
||||||
<artifactId>carbon-p2-plugin</artifactId>
|
<artifactId>carbon-p2-plugin</artifactId>
|
||||||
<version>${carbon.p2.plugin.version}</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>2-p2-repo-generation</id>
|
<id>2-p2-repo-generation</id>
|
||||||
@ -263,6 +261,7 @@
|
|||||||
<goal>p2-repo-gen</goal>
|
<goal>p2-repo-gen</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
|
||||||
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
|
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
|
||||||
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
|
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
|
||||||
<publishArtifacts>true</publishArtifacts>
|
<publishArtifacts>true</publishArtifacts>
|
||||||
@ -582,7 +581,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||||
<artifactId>replacer</artifactId>
|
<artifactId>replacer</artifactId>
|
||||||
<version>1.5.3</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
|
|||||||
@ -88,14 +88,6 @@
|
|||||||
<source>src/core/conf/deployment.toml</source>
|
<source>src/core/conf/deployment.toml</source>
|
||||||
<outputDirectory>${entgra-uem-core}/repository/conf/</outputDirectory>
|
<outputDirectory>${entgra-uem-core}/repository/conf/</outputDirectory>
|
||||||
</file>
|
</file>
|
||||||
<file>
|
|
||||||
<source>src/core/conf/input-event-adapters.xml</source>
|
|
||||||
<outputDirectory>${entgra-uem-core}/repository/conf/</outputDirectory>
|
|
||||||
</file>
|
|
||||||
<file>
|
|
||||||
<source>src/core/conf/output-event-adapters.xml.j2</source>
|
|
||||||
<outputDirectory>${entgra-uem-core}/repository/resources/conf/templates/repository/conf</outputDirectory>
|
|
||||||
</file>
|
|
||||||
<file>
|
<file>
|
||||||
<source>src/core/keystores/wso2carbon.jks</source>
|
<source>src/core/keystores/wso2carbon.jks</source>
|
||||||
<outputDirectory>${entgra-uem-core}/repository/resources/security/</outputDirectory>
|
<outputDirectory>${entgra-uem-core}/repository/resources/security/</outputDirectory>
|
||||||
@ -111,11 +103,10 @@
|
|||||||
<outputDirectory>${entgra-uem-core}/repository/components/dropins</outputDirectory>
|
<outputDirectory>${entgra-uem-core}/repository/components/dropins</outputDirectory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>io.entgra.device.mgt.core:io.entgra.device.mgt.core.device.mgt.oauth.extensions</include>
|
<include>io.entgra.device.mgt.core:io.entgra.device.mgt.core.device.mgt.oauth.extensions</include>
|
||||||
<include>io.entgra.device.mgt.core:io.entgra.device.mgt.core.apimgt.keymgt.extension</include>
|
|
||||||
</includes>
|
</includes>
|
||||||
<!--<useProjectArtifact>false</useProjectArtifact>-->
|
<useProjectArtifact>false</useProjectArtifact>
|
||||||
<!--<useTransitiveDependencies>true</useTransitiveDependencies>-->
|
<useTransitiveDependencies>true</useTransitiveDependencies>
|
||||||
<!--<unpack>false</unpack>-->
|
<unpack>false</unpack>
|
||||||
</dependencySet>
|
</dependencySet>
|
||||||
</dependencySets>
|
</dependencySets>
|
||||||
</assembly>
|
</assembly>
|
||||||
|
|||||||
@ -1,18 +1,20 @@
|
|||||||
@echo off
|
@echo off
|
||||||
REM ---------------------------------------------------------------------------
|
REM ---------------------------------------------------------------------------
|
||||||
REM Copyright 2005-2009 WSO2, Inc. http://www.wso2.org
|
@REM Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
REM
|
@REM
|
||||||
REM Licensed under the Apache License, Version 2.0 (the "License");
|
@REM Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
REM you may not use this file except in compliance with the License.
|
@REM Version 2.0 (the "License"); you may not use this file except
|
||||||
REM You may obtain a copy of the License at
|
@REM in compliance with the License.
|
||||||
REM
|
@REM You may obtain a copy of the License at
|
||||||
REM http://www.apache.org/licenses/LICENSE-2.0
|
@REM
|
||||||
REM
|
@REM http://www.apache.org/licenses/LICENSE-2.0
|
||||||
REM Unless required by applicable law or agreed to in writing, software
|
@REM
|
||||||
REM distributed under the License is distributed on an "AS IS" BASIS,
|
@REM Unless required by applicable law or agreed to in writing,
|
||||||
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
@REM software distributed under the License is distributed on an
|
||||||
REM See the License for the specific language governing permissions and
|
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
REM limitations under the License.
|
@REM KIND, either express or implied. See the License for the
|
||||||
|
@REM specific language governing permissions and limitations
|
||||||
|
@REM under the License.
|
||||||
|
|
||||||
rem ---------------------------------------------------------------------------
|
rem ---------------------------------------------------------------------------
|
||||||
rem Main Script for WSO2 Carbon
|
rem Main Script for WSO2 Carbon
|
||||||
@ -172,13 +174,13 @@ set CMD=RUN %*
|
|||||||
:checkJdk17
|
:checkJdk17
|
||||||
PATH %PATH%;%JAVA_HOME%\bin\
|
PATH %PATH%;%JAVA_HOME%\bin\
|
||||||
for /f tokens^=2-5^ delims^=.-_^" %%j in ('java -fullversion 2^>^&1') do set "JAVA_VERSION=%%j%%k"
|
for /f tokens^=2-5^ delims^=.-_^" %%j in ('java -fullversion 2^>^&1') do set "JAVA_VERSION=%%j%%k"
|
||||||
if %JAVA_VERSION% LSS 17 goto unknownJdk
|
if %JAVA_VERSION% LSS 110 goto unknownJdk
|
||||||
if %JAVA_VERSION% GTR 110 goto unknownJdk
|
if %JAVA_VERSION% GTR 170 goto unknownJdk
|
||||||
goto jdk17
|
goto jdk17
|
||||||
|
|
||||||
:unknownJdk
|
:unknownJdk
|
||||||
echo Starting WSO2 Carbon (in unsupported JDK)
|
echo Starting WSO2 Carbon (in unsupported JDK)
|
||||||
echo [ERROR] CARBON is supported only on JDK 1.7, 1.8, 9, 10 and 11
|
echo [ERROR] CARBON is supported only between JDK 11 and JDK 17
|
||||||
goto jdk17
|
goto jdk17
|
||||||
|
|
||||||
:jdk17
|
:jdk17
|
||||||
@ -203,7 +205,7 @@ set CARBON_CLASSPATH=".\lib\*";%CARBON_CLASSPATH%
|
|||||||
if %JAVA_VERSION% GEQ 110 set CARBON_CLASSPATH=".\lib\endorsed\*";%CARBON_CLASSPATH%
|
if %JAVA_VERSION% GEQ 110 set CARBON_CLASSPATH=".\lib\endorsed\*";%CARBON_CLASSPATH%
|
||||||
|
|
||||||
if %JAVA_VERSION% LEQ 18 set JAVA_VER_BASED_OPTS=-Djava.endorsed.dirs=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
|
if %JAVA_VERSION% LEQ 18 set JAVA_VER_BASED_OPTS=-Djava.endorsed.dirs=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
|
||||||
if %JAVA_VERSION% GEQ 110 set JAVA_VER_BASED_OPTS=--add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED
|
if %JAVA_VERSION% GEQ 110 set JAVA_VER_BASED_OPTS=--add-opens=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED
|
||||||
|
|
||||||
set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="%CARBON_HOME%\repository\logs\heap-dump.hprof"
|
set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="%CARBON_HOME%\repository\logs\heap-dump.hprof"
|
||||||
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% %JAVA_VER_BASED_OPTS%
|
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% %JAVA_VER_BASED_OPTS%
|
||||||
@ -217,6 +219,9 @@ set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Dcom.atomikos.icatch.hide_init_file_path="tru
|
|||||||
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000
|
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000
|
||||||
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8 -DworkerNode=false -Dcarbon.new.config.dir.path="%CARBON_HOME%\repository\resources\conf"
|
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8 -DworkerNode=false -Dcarbon.new.config.dir.path="%CARBON_HOME%\repository\resources\conf"
|
||||||
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dorg.wso2.ignoreHostnameVerification=true -Dorg.opensaml.httpclient.https.disableHostnameVerification=true -Dhttpclient.hostnameVerifier="DefaultAndLocalhost"
|
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dorg.wso2.ignoreHostnameVerification=true -Dorg.opensaml.httpclient.https.disableHostnameVerification=true -Dhttpclient.hostnameVerifier="DefaultAndLocalhost"
|
||||||
|
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Dlog4j2.contextSelector="org.apache.logging.log4j.core.async.AsyncLoggerContextSelector"
|
||||||
|
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Dorg.ops4j.pax.logging.logReaderEnabled="false"
|
||||||
|
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Dorg.ops4j.pax.logging.eventAdminEnabled="false"
|
||||||
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Diot.core.host="localhost" -Diot.core.https.port="9443" -Diot.core.http.port="9763" -Diot.gateway.host="localhost" -Diot.gateway.https.port="8243" -Diot.gateway.http.port="8280" -Diot.gateway.carbon.https.port="9443" -Diot.gateway.carbon.http.port="9763" -Diot.gateway.websocket.ws.port="9099" -Diot.gateway.websocket.wss.port="8099" -Diot.remotesession.server.host="localhost" -Diot.remotesession.server.https.port="9443"
|
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Diot.core.host="localhost" -Diot.core.https.port="9443" -Diot.core.http.port="9763" -Diot.gateway.host="localhost" -Diot.gateway.https.port="8243" -Diot.gateway.http.port="8280" -Diot.gateway.carbon.https.port="9443" -Diot.gateway.carbon.http.port="9763" -Diot.gateway.websocket.ws.port="9099" -Diot.gateway.websocket.wss.port="8099" -Diot.remotesession.server.host="localhost" -Diot.remotesession.server.https.port="9443"
|
||||||
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Dmqtt.broker.host="localhost" -Dmqtt.broker.port="1883"
|
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Dmqtt.broker.host="localhost" -Dmqtt.broker.port="1883"
|
||||||
|
|
||||||
|
|||||||
@ -1,18 +1,21 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# ----------------------------------------------------------------------------
|
|
||||||
# Copyright 2005-2012 WSO2, Inc. http://www.wso2.org
|
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
# you may not use this file except in compliance with the License.
|
#
|
||||||
|
# Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
|
# Version 2.0 (the "License"); you may not use this file except
|
||||||
|
# in compliance with the License.
|
||||||
# You may obtain a copy of the License at
|
# You may obtain a copy of the License at
|
||||||
#
|
#
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
#
|
#
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
# Unless required by applicable law or agreed to in writing,
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
# software distributed under the License is distributed on an
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
# See the License for the specific language governing permissions and
|
# KIND, either express or implied. See the License for the
|
||||||
# limitations under the License.
|
# specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
# Main Script for the WSO2 Carbon Server
|
# Main Script for the WSO2 Carbon Server
|
||||||
@ -235,9 +238,9 @@ fi
|
|||||||
# ---------- Handle the SSL Issue with proper JDK version --------------------
|
# ---------- Handle the SSL Issue with proper JDK version --------------------
|
||||||
java_version=$("$JAVACMD" -version 2>&1 | awk -F '"' '/version/ {print $2}')
|
java_version=$("$JAVACMD" -version 2>&1 | awk -F '"' '/version/ {print $2}')
|
||||||
java_version_formatted=$(echo "$java_version" | awk -F. '{printf("%02d%02d",$1,$2);}')
|
java_version_formatted=$(echo "$java_version" | awk -F. '{printf("%02d%02d",$1,$2);}')
|
||||||
if [ $java_version_formatted -lt 0107 ] || [ $java_version_formatted -gt 1100 ]; then
|
if [ $java_version_formatted -lt 1100 ] || [ $java_version_formatted -gt 1700 ]; then
|
||||||
echo " Starting WSO2 Carbon (in unsupported JDK)"
|
echo " Starting WSO2 Carbon (in unsupported JDK)"
|
||||||
echo " [ERROR] CARBON is supported only on JDK 1.7, 1.8, 9, 10 and 11"
|
echo " [ERROR] CARBON is supported only between JDK 11 and JDK 17"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CARBON_XBOOTCLASSPATH=""
|
CARBON_XBOOTCLASSPATH=""
|
||||||
@ -307,11 +310,10 @@ echo "Using Java memory options: $JVM_MEM_OPTS"
|
|||||||
#To monitor a Carbon server in remote JMX mode on linux host machines, set the below system property.
|
#To monitor a Carbon server in remote JMX mode on linux host machines, set the below system property.
|
||||||
# -Djava.rmi.server.hostname="your.IP.goes.here"
|
# -Djava.rmi.server.hostname="your.IP.goes.here"
|
||||||
|
|
||||||
JAVA_VER_BASED_OPTS=""
|
JAVA_VER_BASED_OPTS="--add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED"
|
||||||
|
|
||||||
|
if [ $java_version_formatted -ge 1700 ]; then
|
||||||
if [ $java_version_formatted -ge 1100 ]; then
|
JAVA_VER_BASED_OPTS="$JAVA_VER_BASED_OPTS --add-opens=java.naming/com.sun.jndi.ldap=ALL-UNNAMED"
|
||||||
JAVA_VER_BASED_OPTS="--add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while [ "$status" = "$START_EXIT_STATUS" ]
|
while [ "$status" = "$START_EXIT_STATUS" ]
|
||||||
@ -354,6 +356,9 @@ do
|
|||||||
-DenableCorrelationLogs=false \
|
-DenableCorrelationLogs=false \
|
||||||
-Dcarbon.new.config.dir.path="$CARBON_HOME/repository/resources/conf" \
|
-Dcarbon.new.config.dir.path="$CARBON_HOME/repository/resources/conf" \
|
||||||
-Djavax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom=net.sf.saxon.xpath.XPathFactoryImpl \
|
-Djavax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom=net.sf.saxon.xpath.XPathFactoryImpl \
|
||||||
|
-Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector \
|
||||||
|
-Dorg.ops4j.pax.logging.logReaderEnabled=false \
|
||||||
|
-Dorg.ops4j.pax.logging.eventAdminEnabled=false \
|
||||||
-Diot.core.host="localhost" \
|
-Diot.core.host="localhost" \
|
||||||
-Diot.core.https.port="9443" \
|
-Diot.core.https.port="9443" \
|
||||||
-Diot.core.http.port="9763" \
|
-Diot.core.http.port="9763" \
|
||||||
|
|||||||
@ -6,7 +6,7 @@ base_path = "${carbon.protocol}://${carbon.host}:${carbon.management.port}"
|
|||||||
server_role = "default"
|
server_role = "default"
|
||||||
|
|
||||||
[database_configuration]
|
[database_configuration]
|
||||||
enable_h2_console = "true"
|
enable_h2_console = true
|
||||||
|
|
||||||
[super_admin]
|
[super_admin]
|
||||||
username = "admin"
|
username = "admin"
|
||||||
@ -38,6 +38,9 @@ key_password = "wso2carbon"
|
|||||||
[identity_mgt.endpoint]
|
[identity_mgt.endpoint]
|
||||||
enable_self_signup_endpoint = false
|
enable_self_signup_endpoint = false
|
||||||
|
|
||||||
|
#[keystore.listener_profile]
|
||||||
|
#bind_address = "0.0.0.0"
|
||||||
|
|
||||||
#[keystore.primary]
|
#[keystore.primary]
|
||||||
#file_name = "wso2carbon.jks"
|
#file_name = "wso2carbon.jks"
|
||||||
#type = "JKS"
|
#type = "JKS"
|
||||||
@ -55,6 +58,7 @@ enable_self_signup_endpoint = false
|
|||||||
[[apim.gateway.environment]]
|
[[apim.gateway.environment]]
|
||||||
name = "Default"
|
name = "Default"
|
||||||
type = "hybrid"
|
type = "hybrid"
|
||||||
|
provider = "wso2"
|
||||||
display_in_api_console = true
|
display_in_api_console = true
|
||||||
description = "This is a hybrid gateway that handles both production and sandbox token traffic."
|
description = "This is a hybrid gateway that handles both production and sandbox token traffic."
|
||||||
show_as_token_endpoint_url = true
|
show_as_token_endpoint_url = true
|
||||||
@ -101,13 +105,10 @@ gateway_labels =["Default"]
|
|||||||
|
|
||||||
[apim.analytics]
|
[apim.analytics]
|
||||||
enable = false
|
enable = false
|
||||||
config_endpoint = "https://localhost:8080/auth/v1"
|
|
||||||
auth_token = ""
|
auth_token = ""
|
||||||
|
|
||||||
[web_app.listener]
|
|
||||||
class_name = ["io.entgra.device.mgt.core.apimgt.webapp.publisher.lifecycle.listener.APIPublisherLifecycleListener", "io.entgra.device.mgt.core.device.mgt.core.config.permission.lifecycle.WebAppDeploymentLifecycleListener"]
|
|
||||||
|
|
||||||
[apim.key_manager]
|
[apim.key_manager]
|
||||||
|
enable_apikey_subscription_validation = true
|
||||||
#service_url = "https://localhost:${mgt.transport.https.port}/services/"
|
#service_url = "https://localhost:${mgt.transport.https.port}/services/"
|
||||||
#username = "$ref{super_admin.username}"
|
#username = "$ref{super_admin.username}"
|
||||||
#password = "$ref{super_admin.password}"
|
#password = "$ref{super_admin.password}"
|
||||||
@ -260,6 +261,14 @@ username = "${admin.username}"
|
|||||||
password = "${admin.password}"
|
password = "${admin.password}"
|
||||||
'header.X-WSO2-KEY-MANAGER' = "default"
|
'header.X-WSO2-KEY-MANAGER' = "default"
|
||||||
|
|
||||||
|
[web_app.listener]
|
||||||
|
class_name = ["io.entgra.device.mgt.core.apimgt.webapp.publisher.lifecycle.listener.APIPublisherLifecycleListener", "io.entgra.device.mgt.core.device.mgt.core.config.permission.lifecycle.WebAppDeploymentLifecycleListener"]
|
||||||
|
|
||||||
|
[oauth.grant_type.token_exchange]
|
||||||
|
enable = true
|
||||||
|
allow_refresh_tokens = true
|
||||||
|
iat_validity_period = "1h"
|
||||||
|
|
||||||
[apim.sync_runtime_artifacts.gateway.skip_list]
|
[apim.sync_runtime_artifacts.gateway.skip_list]
|
||||||
apis = ["_TokenAPI_.xml", "_API_Key_Management_.xml", "health-check.xml", "admin--Android-Mutual-SSL-Configuration-Management.xml", "admin--Android-Mutual-SSL-Device-Management.xml", "admin--Android-Mutual-SSL-Event-Receiver.xml", "admin--IOS-Enrollment.xml", "admin--IOS-Enrollment-Authenticate-Agent.xml", "admin--IOS-Enrollment-Profile.xml", "admin--IOS-Enrollment-Profile-DEP.xml", "admin--IOS-Enrollment-Scep.xml", "admin--Windows_8.1_Device_Management_Service.xml", "admin--Windows_8.1_Device_Management_Service_v1.0.0.xml", "admin--Windows_8.1_Enrollment_Service.xml", "admin--Windows_8.1_Enrollment_Service_v1.0.0.xml", "admin--Windows_10_Device_management.xml", "admin--Windows_10_Device_management_v1.0.0.xml", "admin--Windows_10_Enrollment_Service.xml", "admin--Windows_10_Enrollment_Service_v1.0.0.xml", "admin--Windows_Discovery_Service.xml", "admin--Windows_Discovery_Service_v1.0.0.xml", "admin--Windows_Enrollment_policy_Service.xml", "admin--Windows_Enrollment_policy_Service_v1.0.0.xml"]
|
apis = ["_TokenAPI_.xml", "_API_Key_Management_.xml", "health-check.xml", "admin--Android-Mutual-SSL-Configuration-Management.xml", "admin--Android-Mutual-SSL-Device-Management.xml", "admin--Android-Mutual-SSL-Event-Receiver.xml", "admin--IOS-Enrollment.xml", "admin--IOS-Enrollment-Authenticate-Agent.xml", "admin--IOS-Enrollment-Profile.xml", "admin--IOS-Enrollment-Profile-DEP.xml", "admin--IOS-Enrollment-Scep.xml", "admin--Windows_8.1_Device_Management_Service.xml", "admin--Windows_8.1_Device_Management_Service_v1.0.0.xml", "admin--Windows_8.1_Enrollment_Service.xml", "admin--Windows_8.1_Enrollment_Service_v1.0.0.xml", "admin--Windows_10_Device_management.xml", "admin--Windows_10_Device_management_v1.0.0.xml", "admin--Windows_10_Enrollment_Service.xml", "admin--Windows_10_Enrollment_Service_v1.0.0.xml", "admin--Windows_Discovery_Service.xml", "admin--Windows_Discovery_Service_v1.0.0.xml", "admin--Windows_Enrollment_policy_Service.xml", "admin--Windows_Enrollment_policy_Service_v1.0.0.xml"]
|
||||||
sequences = ["_api_registration_fault_.xml"]
|
sequences = ["_api_registration_fault_.xml"]
|
||||||
|
|||||||
@ -1,56 +0,0 @@
|
|||||||
<!--
|
|
||||||
~ Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
|
||||||
~
|
|
||||||
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
|
||||||
~ Version 2.0 (the "License"); you may not use this file except
|
|
||||||
~ in compliance with the License.
|
|
||||||
~ You may obtain a copy of the License at
|
|
||||||
~
|
|
||||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
~
|
|
||||||
~ Unless required by applicable law or agreed to in writing,
|
|
||||||
~ software distributed under the License is distributed on an
|
|
||||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
~ KIND, either express or implied. See the License for the
|
|
||||||
~ specific language governing permissions and limitations
|
|
||||||
~ under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<inputEventAdaptersConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="oauth-mqtt">
|
|
||||||
<!-- Thread Pool Related Properties -->
|
|
||||||
<property key="minThread">8</property>
|
|
||||||
<property key="maxThread">100</property>
|
|
||||||
<property key="keepAliveTimeInMillis">20000</property>
|
|
||||||
<property key="jobQueueSize">10000</property>
|
|
||||||
<property key="connectionKeepAliveInterval">60</property>
|
|
||||||
<property key="dcrUrl">https://${iot.keymanager.host}:${iot.keymanager.https.port}/client-registration/v0.17/register</property>
|
|
||||||
<property key="url">tcp://${mqtt.broker.host}:${mqtt.broker.port}</property>
|
|
||||||
<property key="username">admin</property>
|
|
||||||
<property key="password">admin</property>
|
|
||||||
<property key="contentValidator">deviceid-topic-content-validator</property>
|
|
||||||
<property key="cleanSession">true</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="http">
|
|
||||||
<property key="minThread">8</property>
|
|
||||||
<property key="maxThread">100</property>
|
|
||||||
<property key="keepAliveTimeInMillis">20000</property>
|
|
||||||
<property key="jobQueueSize">10000</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="file-tail">
|
|
||||||
<property key="events.duplicated.in.cluster">false</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="email">
|
|
||||||
<property key="moveToFolderName">readMails</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="jms">
|
|
||||||
<property key="keepAliveTimeInMillis">20000</property>
|
|
||||||
<property key="jobQueueSize">10000</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
</inputEventAdaptersConfig>
|
|
||||||
@ -1,173 +0,0 @@
|
|||||||
<!--
|
|
||||||
~ Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
|
||||||
~
|
|
||||||
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
|
||||||
~ Version 2.0 (the "License"); you may not use this file except
|
|
||||||
~ in compliance with the License.
|
|
||||||
~ You may obtain a copy of the License at
|
|
||||||
~
|
|
||||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
~
|
|
||||||
~ Unless required by applicable law or agreed to in writing,
|
|
||||||
~ software distributed under the License is distributed on an
|
|
||||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
~ KIND, either express or implied. See the License for the
|
|
||||||
~ specific language governing permissions and limitations
|
|
||||||
~ under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<outputEventAdaptersConfig xmlns:svns="http://org.wso2.securevault/configuration">
|
|
||||||
|
|
||||||
<adapterConfig type="wso2event">
|
|
||||||
<property key="default.thrift.tcp.url">tcp://localhost:7612</property>
|
|
||||||
<property key="default.thrift.ssl.url">ssl://localhost:7712</property>
|
|
||||||
<property key="default.binary.tcp.url">tcp://localhost:9612</property>
|
|
||||||
<property key="default.binary.ssl.url">ssl://localhost:9712</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="rdbms">
|
|
||||||
<property key="string">VARCHAR(255)</property>
|
|
||||||
<property key="double">DOUBLE</property>
|
|
||||||
<property key="integer">INT</property>
|
|
||||||
<property key="long">BIGINT</property>
|
|
||||||
<property key="float">FLOAT</property>
|
|
||||||
<property key="boolean">BOOL</property>
|
|
||||||
<property key="createTable">CREATE TABLE $TABLE_NAME ($COLUMN_TYPES)</property>
|
|
||||||
<property key="insertDataToTable">INSERT INTO $TABLE_NAME ($COLUMNS) VALUES ($VALUES)</property>
|
|
||||||
<property key="isTableExist">SELECT * FROM $TABLE_NAME limit 1</property>
|
|
||||||
<property key="updateTableRow">UPDATE $TABLE_NAME SET $COLUMN_VALUES WHERE $CONDITION</property>
|
|
||||||
<property key="comma">,</property>
|
|
||||||
<property key="questionMark">?</property>
|
|
||||||
<property key="equal">=</property>
|
|
||||||
<property key="and">AND</property>
|
|
||||||
<property key="selectAllColumnsDataTypeInTable">SELECT COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '$TABLE_NAME'</property>
|
|
||||||
<property key="selectFromTable">SELECT $COLUMNS FROM $TABLE_NAME</property>
|
|
||||||
<property key="oracle.string">varchar2(255)</property>
|
|
||||||
<property key="oracle.long">CLOB</property>
|
|
||||||
<property key="oracle.double">BINARY_DOUBLE</property>
|
|
||||||
<property key="oracle.isTableExist">SELECT * FROM $TABLE_NAME WHERE ROWNUM = 1</property>
|
|
||||||
<property key="oracle.selectAllColumnsDataTypeInTable">SELECT COLUMN_NAME, DATA_TYPE FROM USER_TAB_COLS WHERE TABLE_NAME = '$TABLE_NAME'</property>
|
|
||||||
<property key="mssql.string">varchar2(255)</property>
|
|
||||||
<property key="mssql.isTableExist">SELECT TOP 1 * FROM $TABLE_NAME</property>
|
|
||||||
<property key="mssql.selectAllColumnsDataTypeInTable">SELECT COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '$TABLE_NAME'</property>
|
|
||||||
<property key="h2.integer">varchar2(255)</property>
|
|
||||||
<property key="h2.long">REAL</property>
|
|
||||||
<property key="h2.selectAllColumnsDataTypeInTable">SHOW COLUMNS FROM $TABLE_NAME</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="http">
|
|
||||||
<!-- Thread Pool Related Properties -->
|
|
||||||
<property key="minThread">8</property>
|
|
||||||
<property key="maxThread">100</property>
|
|
||||||
<property key="keepAliveTimeInMillis">20000</property>
|
|
||||||
<property key="jobQueueSize">10000</property>
|
|
||||||
<!-- HTTP Client Pool Related Properties -->
|
|
||||||
<property key="defaultMaxConnectionsPerHost">50</property>
|
|
||||||
<property key="maxTotalConnections">1000</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="jms">
|
|
||||||
<!-- Thread Pool Related Properties -->
|
|
||||||
<property key="minThread">{{output_adapter.jms.min_thread}}</property>
|
|
||||||
<property key="maxThread">{{output_adapter.jms.max_thread}}</property>
|
|
||||||
<property key="keepAliveTimeInMillis">{{output_adapter.jms.keep_alive_time}}</property>
|
|
||||||
<property key="jobQueueSize">{{output_adapter.jms.job_queue_size}}</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="mqtt">
|
|
||||||
<!-- Thread Pool Related Properties -->
|
|
||||||
<property key="minThread">8</property>
|
|
||||||
<property key="maxThread">100</property>
|
|
||||||
<property key="keepAliveTimeInMillis">20000</property>
|
|
||||||
<property key="jobQueueSize">10000</property>
|
|
||||||
<property key="connectionKeepAliveInterval">60</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="kafka">
|
|
||||||
<!-- Thread Pool Related Properties -->
|
|
||||||
<property key="minThread">8</property>
|
|
||||||
<property key="maxThread">100</property>
|
|
||||||
<property key="keepAliveTimeInMillis">20000</property>
|
|
||||||
<property key="jobQueueSize">10000</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="email">
|
|
||||||
<!-- Comment mail.smtp.user and mail.smtp.password properties to support connecting SMTP servers which use trust
|
|
||||||
based authentication rather username/password authentication -->
|
|
||||||
<property key="mail.smtp.from">{{output_adapter.email.from_address}}</property>
|
|
||||||
<property key="mail.smtp.user">{{output_adapter.email.username}}</property>
|
|
||||||
<property key="mail.smtp.password">{{output_adapter.email.password}}</property>
|
|
||||||
<property key="mail.smtp.host">{{output_adapter.email.hostname}}</property>
|
|
||||||
<property key="mail.smtp.port">{{output_adapter.email.port}}</property>
|
|
||||||
<property key="mail.smtp.starttls.enable">{{output_adapter.email.enable_start_tls}}</property>
|
|
||||||
<property key="mail.smtp.auth">{{output_adapter.email.enable_authentication}}</property>
|
|
||||||
<property key="mail.smtp.signature">{{output_adapter.email.signature}}</property>
|
|
||||||
<property key="mail.smtp.replyTo">{{output_adapter.email.reply_to}}</property>
|
|
||||||
{% if output_adapter.email.custom_properties is defined %}
|
|
||||||
<!-- Custom Properties -->
|
|
||||||
{% for property_name,property_value in output_adapter.email.custom_properties.items() %}
|
|
||||||
<property key="{{property_name}}">{{property_value}}</property>
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
<!-- Thread Pool Related Properties -->
|
|
||||||
<property key="minThread">8</property>
|
|
||||||
<property key="maxThread">100</property>
|
|
||||||
<property key="keepAliveTimeInMillis">20000</property>
|
|
||||||
<property key="jobQueueSize">10000</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="ui">
|
|
||||||
<property key="eventQueueSize">30</property>
|
|
||||||
<!-- Thread Pool Related Properties -->
|
|
||||||
<property key="minThread">8</property>
|
|
||||||
<property key="maxThread">100</property>
|
|
||||||
<property key="keepAliveTimeInMillis">20000</property>
|
|
||||||
<property key="jobQueueSize">10000</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="websocket-local">
|
|
||||||
<!-- Thread Pool Related Properties -->
|
|
||||||
<property key="minThread">8</property>
|
|
||||||
<property key="maxThread">100</property>
|
|
||||||
<property key="keepAliveTimeInMillis">20000</property>
|
|
||||||
<property key="jobQueueSize">10000</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="websocket">
|
|
||||||
<!-- Thread Pool Related Properties -->
|
|
||||||
<property key="minThread">8</property>
|
|
||||||
<property key="maxThread">100</property>
|
|
||||||
<property key="keepAliveTimeInMillis">20000</property>
|
|
||||||
<property key="jobQueueSize">10000</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="soap">
|
|
||||||
<!-- Thread Pool Related Properties -->
|
|
||||||
<property key="minThread">8</property>
|
|
||||||
<property key="maxThread">100</property>
|
|
||||||
<property key="keepAliveTimeInMillis">20000</property>
|
|
||||||
<property key="jobQueueSize">10000</property>
|
|
||||||
<!-- Axis2 Client Connection Related Properties -->
|
|
||||||
<property key="axis2ClientConnectionTimeout">10000</property>
|
|
||||||
<property key="reuseHTTPClient">true</property>
|
|
||||||
<property key="autoReleaseConnection">true</property>
|
|
||||||
<property key="maxConnectionsPerHost">50</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
<adapterConfig type="oauth-mqtt">
|
|
||||||
<!-- Thread Pool Related Properties -->
|
|
||||||
<property key="minThread">8</property>
|
|
||||||
<property key="maxThread">100</property>
|
|
||||||
<property key="keepAliveTimeInMillis">20000</property>
|
|
||||||
<property key="jobQueueSize">10000</property>
|
|
||||||
<property key="connectionKeepAliveInterval">60</property>
|
|
||||||
<property key="dcrUrl">https://${iot.keymanager.host}:${iot.keymanager.https.port}/client-registration/v0.17/register</property>
|
|
||||||
<property key="tokenUrl">https://${iot.gateway.host}:${iot.gateway.https.port}/token</property>
|
|
||||||
<property key="url">tcp://${mqtt.broker.host}:${mqtt.broker.port}</property>
|
|
||||||
<property key="username">admin</property>
|
|
||||||
<property key="password">admin</property>
|
|
||||||
<property key="qos">2</property>
|
|
||||||
<property key="clearSession">true</property>
|
|
||||||
</adapterConfig>
|
|
||||||
|
|
||||||
</outputEventAdaptersConfig>
|
|
||||||
@ -1,19 +1,20 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<!--
|
<!--
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
~ Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
~
|
||||||
this work for additional information regarding copyright ownership.
|
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
~ Version 2.0 (the "License"); you may not use this file except
|
||||||
(the "License"); you may not use this file except in compliance with
|
~ in compliance with the License.
|
||||||
the License. You may obtain a copy of the License at
|
~ You may obtain a copy of the License at
|
||||||
|
~
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
~
|
||||||
Unless required by applicable law or agreed to in writing, software
|
~ Unless required by applicable law or agreed to in writing,
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
~ software distributed under the License is distributed on an
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
See the License for the specific language governing permissions and
|
~ KIND, either express or implied. See the License for the
|
||||||
limitations under the License.
|
~ specific language governing permissions and limitations
|
||||||
|
~ under the License.
|
||||||
-->
|
-->
|
||||||
<!-- The contents of this file will be loaded for each web application -->
|
<!-- The contents of this file will be loaded for each web application -->
|
||||||
<Context useHttpOnly="true" useRelativeRedirects="false">
|
<Context useHttpOnly="true" useRelativeRedirects="false">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<%--
|
<%--
|
||||||
~ Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
~ Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
~
|
~
|
||||||
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
~ Version 2.0 (the "License"); you may not use this file except
|
~ Version 2.0 (the "License"); you may not use this file except
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<%--
|
<%--
|
||||||
~ Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
~ Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
~
|
~
|
||||||
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
~ Version 2.0 (the "License"); you may not use this file except
|
~ Version 2.0 (the "License"); you may not use this file except
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<%--
|
<%--
|
||||||
~ Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
~ Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
~
|
~
|
||||||
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
~ Version 2.0 (the "License"); you may not use this file except
|
~ Version 2.0 (the "License"); you may not use this file except
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<%--
|
<%--
|
||||||
~ Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
~ Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
~
|
~
|
||||||
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
~ Version 2.0 (the "License"); you may not use this file except
|
~ Version 2.0 (the "License"); you may not use this file except
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
# Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
#
|
#
|
||||||
# Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
# Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
# Version 2.0 (the "License"); you may not use this file except
|
# Version 2.0 (the "License"); you may not use this file except
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
# Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
#
|
#
|
||||||
# Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
# Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
# Version 2.0 (the "License"); you may not use this file except
|
# Version 2.0 (the "License"); you may not use this file except
|
||||||
|
|||||||
@ -1,5 +1,23 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
|
# Version 2.0 (the "License"); you may not use this file except
|
||||||
|
# in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing,
|
||||||
|
# software distributed under the License is distributed on an
|
||||||
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
# KIND, either express or implied. See the License for the
|
||||||
|
# specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
echo "Entgra IoT Server IP configuration tool"
|
echo "Entgra IoT Server IP configuration tool"
|
||||||
|
|||||||
@ -1,5 +1,23 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
|
# Version 2.0 (the "License"); you may not use this file except
|
||||||
|
# in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing,
|
||||||
|
# software distributed under the License is distributed on an
|
||||||
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
# KIND, either express or implied. See the License for the
|
||||||
|
# specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
echo "Entgra IoT Server Super Admin Credentials Changing tool"
|
echo "Entgra IoT Server Super Admin Credentials Changing tool"
|
||||||
|
|||||||
@ -1,3 +1,21 @@
|
|||||||
|
<!--
|
||||||
|
~ Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
|
~
|
||||||
|
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
|
~ Version 2.0 (the "License"); you may not use this file except
|
||||||
|
~ in compliance with the License.
|
||||||
|
~ You may obtain a copy of the License at
|
||||||
|
~
|
||||||
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
~
|
||||||
|
~ Unless required by applicable law or agreed to in writing,
|
||||||
|
~ software distributed under the License is distributed on an
|
||||||
|
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
~ KIND, either express or implied. See the License for the
|
||||||
|
~ specific language governing permissions and limitations
|
||||||
|
~ under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
<api xmlns="http://ws.apache.org/ns/synapse" name="_WSO2AMTokenAPI_" context="/token">
|
<api xmlns="http://ws.apache.org/ns/synapse" name="_WSO2AMTokenAPI_" context="/token">
|
||||||
<resource methods="POST" url-mapping="/*" faultSequence="_token_fault_">
|
<resource methods="POST" url-mapping="/*" faultSequence="_token_fault_">
|
||||||
<inSequence>
|
<inSequence>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user