From 442d7411402a0ec9f550535b9225f6b5a1341430 Mon Sep 17 00:00:00 2001 From: Saad Sahibjan Date: Mon, 15 Feb 2021 22:11:53 +0530 Subject: [PATCH] Add SMS mgt servicer feature --- .../io.entgra.sms.mgt.server.feature/pom.xml | 116 ++++++++++++++++++ .../src/main/resources/conf/sms-config.xml | 34 +++++ .../src/main/resources/p2.inf | 4 + features/sms-mgt/pom.xml | 41 +++++++ 4 files changed, 195 insertions(+) create mode 100644 features/sms-mgt/io.entgra.sms.mgt.server.feature/pom.xml create mode 100644 features/sms-mgt/io.entgra.sms.mgt.server.feature/src/main/resources/conf/sms-config.xml create mode 100644 features/sms-mgt/io.entgra.sms.mgt.server.feature/src/main/resources/p2.inf create mode 100644 features/sms-mgt/pom.xml diff --git a/features/sms-mgt/io.entgra.sms.mgt.server.feature/pom.xml b/features/sms-mgt/io.entgra.sms.mgt.server.feature/pom.xml new file mode 100644 index 00000000000..f53e6de8f27 --- /dev/null +++ b/features/sms-mgt/io.entgra.sms.mgt.server.feature/pom.xml @@ -0,0 +1,116 @@ + + + + + + + org.wso2.carbon.devicemgt + sms-mgt-feature + 4.1.12-SNAPSHOT + ../pom.xml + + + 4.0.0 + io.entgra.sms.mgt.server.feature + pom + 4.1.12-SNAPSHOT + Entgra IoT - SMS Management Server Feature + https://entgra.io + This feature contains the core bundles required for Back-end SMS Management functionality + + + + + org.wso2.carbon.devicemgt + io.entgra.sms.mgt.core + + + org.wso2.carbon.devicemgt + io.entgra.sms.mgt.common + + + + + + + maven-resources-plugin + 2.6 + + + copy-resources + generate-resources + + copy-resources + + + src/main/resources + + + resources + + build.properties + p2.inf + + + + + + + + + org.wso2.maven + carbon-p2-plugin + ${carbon.p2.plugin.version} + + + p2-feature-generation + package + + p2-feature-gen + + + io.entgra.sms.mgt.server + ../../../features/etc/feature.properties + + + org.wso2.carbon.p2.category.type:server + org.eclipse.equinox.p2.type.group:false + + + + + org.wso2.carbon.devicemgt:io.entgra.sms.mgt.core:${carbon.device.mgt.version} + + + org.wso2.carbon.devicemgt:io.entgra.sms.mgt.common:${carbon.device.mgt.version} + + + + + + + + + + + + + diff --git a/features/sms-mgt/io.entgra.sms.mgt.server.feature/src/main/resources/conf/sms-config.xml b/features/sms-mgt/io.entgra.sms.mgt.server.feature/src/main/resources/conf/sms-config.xml new file mode 100644 index 00000000000..ddf2e865679 --- /dev/null +++ b/features/sms-mgt/io.entgra.sms.mgt.server.feature/src/main/resources/conf/sms-config.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + sample + +94 + 160 + + + + diff --git a/features/sms-mgt/io.entgra.sms.mgt.server.feature/src/main/resources/p2.inf b/features/sms-mgt/io.entgra.sms.mgt.server.feature/src/main/resources/p2.inf new file mode 100644 index 00000000000..d5943e7fda3 --- /dev/null +++ b/features/sms-mgt/io.entgra.sms.mgt.server.feature/src/main/resources/p2.inf @@ -0,0 +1,4 @@ +instructions.configure = \ +org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/io.entgra.sms.mgt.server_${feature.version}/conf/sms-config.xml,target:${installFolder}/../../conf/sms-config.xml,overwrite:true);\ + +instructions.unconfigure = \ diff --git a/features/sms-mgt/pom.xml b/features/sms-mgt/pom.xml new file mode 100644 index 00000000000..63f0b6dbfca --- /dev/null +++ b/features/sms-mgt/pom.xml @@ -0,0 +1,41 @@ + + + + + + + org.wso2.carbon.devicemgt + carbon-devicemgt + 4.1.12-SNAPSHOT + ../../pom.xml + + + 4.0.0 + sms-mgt-feature + pom + Entgra IoT - SMS Management Feature + http://entgra.io + + io.entgra.sms.mgt.server.feature + io.entgra.sms.mgt.api.feature + + +