From 47e6331c9359c05b46e7eb61f85fb72a8dd24a36 Mon Sep 17 00:00:00 2001 From: ayyoob Date: Tue, 7 Jun 2016 14:28:07 +0530 Subject: [PATCH] removed device type features and added mqtt profile --- modules/distribution/src/assembly/bin.xml | 86 +++--- .../src/assembly/filter.properties | 2 +- modules/p2-profile-gen/carbon.product | 34 ++ modules/p2-profile-gen/pom.xml | 290 ++++++++++++++++-- 4 files changed, 339 insertions(+), 73 deletions(-) create mode 100644 modules/p2-profile-gen/carbon.product diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index 484cb5cb..b2d76f5f 100644 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -1051,41 +1051,41 @@ 644 - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/database/AndroidSenseDM_DB.h2.db - - ${pom.artifactId}-${pom.version}/repository/database - AndroidSenseDM_DB.h2.db - 644 - - - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/database/ArduinoDM_DB.h2.db - - ${pom.artifactId}-${pom.version}/repository/database - ArduinoDM_DB.h2.db - 644 - - - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/database/RaspberryPiDM_DB.h2.db - - ${pom.artifactId}-${pom.version}/repository/database - RaspberryPiDM_DB.h2.db - 644 - - - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/database/VirtualFireAlarmDM_DB.h2.db - - ${pom.artifactId}-${pom.version}/repository/database - VirtualFireAlarmDM_DB.h2.db - 644 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + src/repository/conf/carbon.xml @@ -1327,13 +1327,13 @@ - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/device-mgt-plugins/virtual-fire-alarm/virtual-fire-alarm-config.xml - - ${pom.artifactId}-${pom.version}/repository/conf/etc/device-mgt-plugins/virtual-fire-alarm - true - 644 - + + + + + + + + diff --git a/modules/distribution/src/assembly/filter.properties b/modules/distribution/src/assembly/filter.properties index 36417a15..17cd8aee 100644 --- a/modules/distribution/src/assembly/filter.properties +++ b/modules/distribution/src/assembly/filter.properties @@ -17,7 +17,7 @@ # product.name=WSO2 IoT Server -product.version=1.0.0-ALPHA +product.version=1.0.0-SNAPSHOT product.key=IOT hotdeployment=true hotupdate=true diff --git a/modules/p2-profile-gen/carbon.product b/modules/p2-profile-gen/carbon.product new file mode 100644 index 00000000..d57a7d3e --- /dev/null +++ b/modules/p2-profile-gen/carbon.product @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/p2-profile-gen/pom.xml b/modules/p2-profile-gen/pom.xml index afd8bf27..fe1ada3d 100644 --- a/modules/p2-profile-gen/pom.xml +++ b/modules/p2-profile-gen/pom.xml @@ -270,10 +270,7 @@ org.wso2.carbon.identity:org.wso2.carbon.security.mgt.feature:${carbon.identity.version} - org.wso2.carbon.identity:org.wso2.carbon.um.ws.service.client.feature:${carbon.identity.version} - - - org.wso2.carbon.identity:org.wso2.carbon.um.ws.service.server.feature:${carbon.identity.version} + org.wso2.carbon.identity:org.wso2.carbon.um.ws.service.feature:${carbon.identity.version} org.wso2.carbon.identity:org.wso2.carbon.identity.oauth.feature:${carbon.identity.version} @@ -714,6 +711,38 @@ + + publishing product + package + + publish-product + + + ${basedir}/carbon.product + + + ${basedir}/target/org.eclipse.equinox.executable_3.5.0.v20110530-7P7NFUFFLWUl76mart + + file:${basedir}/target/p2-repo + file:${basedir}/target/p2-repo + + + + p2-profile-generation-mqtt-profile + package + + materialize-product + + + ${basedir}/carbon.product + file:${basedir}/target/p2-repo + file:${basedir}/target/p2-repo + + file:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components + + mqtt-gateway + + 3-p2-profile-generation package @@ -815,26 +844,26 @@ org.wso2.carbon.device.mgt.iot.adapter.feature.group ${carbon.device.mgt.plugin.version} - - org.wso2.carbon.device.mgt.iot.androidsense.feature.group - ${carbon.device.mgt.plugin.version} - - - org.wso2.carbon.device.mgt.iot.arduino.feature.group - ${carbon.device.mgt.plugin.version} - - - org.wso2.carbon.device.mgt.iot.raspberrypi.feature.group - ${carbon.device.mgt.plugin.version} - - - org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature.group - ${carbon.device.mgt.plugin.version} - - - org.wso2.carbon.device.mgt.iot.devicetypes.feature.group - ${carbon.device.mgt.plugin.version} - + + + + + + + + + + + + + + + + + + + + org.wso2.carbon.webapp.mgt.feature.group @@ -956,11 +985,7 @@ ${carbon.identity.version} - org.wso2.carbon.um.ws.service.client.feature.group - ${carbon.identity.version} - - - org.wso2.carbon.um.ws.service.server.feature.group + org.wso2.carbon.um.ws.service.feature.group ${carbon.identity.version} @@ -1491,6 +1516,213 @@ + + + 4-p2-profile-generation + package + + p2-profile-gen + + + mqtt-gateway + file:${basedir}/target/p2-repo + file:${basedir}/target/p2-repo + + ${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components + + true + + + org.wso2.carbon.logging.mgt.feature.group + ${carbon.commons.version} + + + org.wso2.carbon.andes.extensions.device.mgt.mqtt.authorization.feature.group + ${carbon.iot.device.mgt.version} + + + org.wso2.carbon.andes.server.feature.group + ${carbon.messaging.version} + + + org.wso2.carbon.metrics.feature.group + ${carbon.metrics.version} + + + org.wso2.carbon.registry.contentsearch.feature.group + ${carbon.registry.version} + + + org.wso2.carbon.registry.core.feature.group + ${carbon.registry.version} + + + org.wso2.carbon.registry.ui.menu.feature.group + ${carbon.registry.version} + + + org.wso2.carbon.registry.resource.properties.feature.group + ${carbon.registry.version} + + + org.wso2.carbon.registry.core.ui.feature.group + ${carbon.registry.version} + + + org.wso2.carbon.um.ws.service.feature.group + ${carbon.identity.version} + + + org.wso2.carbon.user.mgt.feature.group + ${carbon.identity.version} + + + org.wso2.carbon.identity.core.feature.group + ${carbon.identity.version} + + + org.wso2.carbon.identity.core.ui.feature.group + ${carbon.identity.version} + + + org.wso2.carbon.registry.ws.feature.group + ${carbon.registry.version} + + + + org.wso2.carbon.webapp.mgt.feature.group + ${carbon.deployment.version} + + + org.wso2.carbon.apimgt.webapp.publisher.feature.group + ${carbon.device.mgt.version} + + + org.wso2.carbon.device.mgt.feature.group + ${carbon.device.mgt.version} + + + org.wso2.carbon.device.mgt.extensions.feature.group + ${carbon.device.mgt.version} + + + org.wso2.carbon.dynamic.client.registration.server.feature.group + ${carbon.device.mgt.version} + + + org.wso2.carbon.device.mgt.oauth.extensions.feature.group + ${carbon.device.mgt.version} + + + + + + org.apache.synapse.wso2.feature.group + ${carbon.mediation.version} + + + org.apache.synapse.transport.nhttp.feature.group + ${carbon.mediation.version} + + + org.wso2.carbon.mediation.initializer.feature.group + ${carbon.mediation.version} + + + org.wso2.carbon.mediation.ntask.feature.group + ${carbon.mediation.version} + + + org.wso2.carbon.inbound.endpoints.server.feature.group + ${carbon.mediation.version} + + + org.wso2.carbon.mediators.server.feature.group + ${carbon.mediation.version} + + + org.wso2.carbon.mediation.admin.feature.group + ${carbon.mediation.version} + + + org.wso2.carbon.task.server.feature.group + ${carbon.mediation.version} + + + org.wso2.carbon.mediation.ui.feature.group + ${carbon.mediation.version} + + + org.wso2.carbon.application.mgt.synapse.server.feature.group + ${carbon.mediation.version} + + + org.wso2.carbon.application.deployer.synapse.feature.group + + ${carbon.mediation.version} + + + + org.apache.axis2.transport.tcp.feature.group + ${axis2-transports.wso2.version} + + + + org.wso2.carbon.relay.server.feature.group + ${carbon.mediation.version} + + + org.wso2.carbon.mediation.configadmin.feature.group + ${carbon.mediation.version} + + + + org.wso2.carbon.tenant.common.feature.group + ${carbon.multitenancy.version} + + + org.wso2.carbon.device.mgt.extensions.push.notification.provider.gcm.feature.group + ${carbon.device.mgt.version} + + + org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt.feature.group + ${carbon.device.mgt.version} + + + org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group + ${carbon.device.mgt.version} + + + org.wso2.carbon.apimgt.gateway.feature.group + ${carbon.api.mgt.version} + + + org.wso2.carbon.policy.mgt.server.feature.group + ${carbon.device.mgt.version} + + + org.wso2.carbon.apimgt.application.extension.feature.group + ${carbon.device.mgt.version} + + + org.wso2.carbon.certificate.mgt.server.feature.group + ${carbon.device.mgt.version} + + + org.wso2.carbon.analytics.core.feature.group + ${carbon.analytics.version} + + + org.wso2.carbon.device.mgt.analytics.dashboard.feature.group + ${carbon.device.mgt.version} + + + org.wso2.carbon.analytics.datasource.rdbms.server.feature.group + ${carbon.analytics.version} + + + +