From cdf4e073be453efd4ce4dbdd8de5a6e28e11a060 Mon Sep 17 00:00:00 2001 From: Amalka Subasinghe Date: Thu, 11 May 2023 15:18:06 +0530 Subject: [PATCH] updated components with new artifacts and group ids --- .gitlab-ci.yml | 2 +- README.md | 2 +- distribution/pom.xml | 2 +- distribution/uem-community/pom.xml | 2 +- p2-profile/pom.xml | 8 +- pom.xml | 58 +---- uem-core/pom.xml | 236 ++++++++++-------- uem-core/src/assembly/bin.xml | 4 +- .../src/core/scripts/alter-apimgt-h2-db.sql | 1 + 9 files changed, 151 insertions(+), 164 deletions(-) create mode 100644 uem-core/src/core/scripts/alter-apimgt-h2-db.sql diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe18b20..976eaaa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,6 +21,6 @@ deploy: script: - mvn $MAVEN_CLI_OPTS deploy only: - - master@entgra/community-product + - master@entgra/product-uem-community tags: - OracleJDK1.8 diff --git a/README.md b/README.md index 0fedf13..4e3f5b2 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@
-[![pipeline status](https://builder.entgra.net/buildStatus/icon?job=community-product)](https://repository.entgra.net/community/community-product/commits/master) +[![pipeline status](https://builder.entgra.net/buildStatus/icon?job=product-uem-community)](https://repository.entgra.net/community/product-uem-community/commits/master) Entgra IoT Server is a complete solution that enables device manufacturers and enterprises to connect and manage their devices, build apps, manage events, secure devices and data, and visualize sensor data in a scalable manner. diff --git a/distribution/pom.xml b/distribution/pom.xml index 3f57a26..e1cd5b1 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -27,7 +27,7 @@ 4.0.0 - io.entgra.community.uem.distribution + distribution pom Entgra IoT - Distribution Module Entgra IoT Distribution Module diff --git a/distribution/uem-community/pom.xml b/distribution/uem-community/pom.xml index e5571da..8fcdb57 100644 --- a/distribution/uem-community/pom.xml +++ b/distribution/uem-community/pom.xml @@ -21,7 +21,7 @@ io.entgra.community.uem - io.entgra.community.uem.distribution + distribution 5.2.2-SNAPSHOT ../pom.xml diff --git a/p2-profile/pom.xml b/p2-profile/pom.xml index 65b4165..dcc30a8 100644 --- a/p2-profile/pom.xml +++ b/p2-profile/pom.xml @@ -77,10 +77,10 @@ true - io.entgra.device.mgt.plugins:io.entgra.device.mgt.plugins.mobile.android.feature:${carbon.device.mgt.plugin.version} + io.entgra.device.mgt.plugins:io.entgra.device.mgt.plugins.mobile.android.feature:${io.entgra.device.mgt.plugins.version} - + @@ -100,11 +100,11 @@ io.entgra.device.mgt.plugins.mobile.android.feature.group - ${carbon.device.mgt.plugin.version} + ${io.entgra.device.mgt.plugins.version} - + diff --git a/pom.xml b/pom.xml index 0d52569..ec6e1ea 100644 --- a/pom.xml +++ b/pom.xml @@ -44,49 +44,9 @@ - org.wso2.carbon.devicemgt - org.wso2.carbon.device.mgt.core - ${carbon.device.mgt.version} - - - org.wso2.carbon.devicemgt - org.wso2.carbon.device.mgt.common - ${carbon.device.mgt.version} - - - org.wso2.carbon.devicemgt - org.wso2.carbon.device.mgt.group.core - ${carbon.device.mgt.version} - - - org.wso2.carbon.devicemgt - org.wso2.carbon.device.mgt.group.common - ${carbon.device.mgt.version} - - - org.wso2.carbon.devicemgt - org.wso2.carbon.policy.mgt.common - ${carbon.device.mgt.version} - - - org.wso2.carbon.devicemgt - org.wso2.carbon.policy.mgt.core - ${carbon.device.mgt.version} - - - org.wso2.carbon.devicemgt - org.wso2.carbon.certificate.mgt.core - ${carbon.device.mgt.version} - - - org.wso2.carbon.devicemgt - org.wso2.carbon.identity.jwt.client.extension - ${carbon.device.mgt.version} - - - org.wso2.carbon.devicemgt - org.wso2.carbon.device.mgt.oauth.extensions - ${carbon.device.mgt.version} + io.entgra.device.mgt.core + io.entgra.device.mgt.core.device.mgt.oauth.extensions + ${io.entgra.device.mgt.core.version} @@ -359,17 +319,17 @@ wso2am-4.0.0 io.entgra.community.uem.core-${project.version} - product-uem-community-${project.version} + entgra-uem-community-${project.version} - 5.0.25 + 5.0.26-SNAPSHOT 5.1.2 1.4.199.wso2v1 - 6.0.17-SNAPSHOT + 6.0.17-SNAPSHOT 2.8.5 @@ -380,9 +340,9 @@ - https://repository.entgra.net/community/community-product.git - scm:git:https://repository.entgra.net/community/community-product.git - scm:git:https://repository.entgra.net/community/community-product.git + https://repository.entgra.net/community/product-uem-community.git + scm:git:https://repository.entgra.net/community/product-uem-community.git + scm:git:https://repository.entgra.net/community/product-uem-community.git HEAD diff --git a/uem-core/pom.xml b/uem-core/pom.xml index 3cc92ce..03c6225 100644 --- a/uem-core/pom.xml +++ b/uem-core/pom.xml @@ -36,8 +36,8 @@ h2 - org.wso2.carbon.devicemgt - org.wso2.carbon.device.mgt.oauth.extensions + io.entgra.device.mgt.core + io.entgra.device.mgt.core.device.mgt.oauth.extensions org.wso2.am @@ -110,14 +110,40 @@ - - - - - - - - + + + + + + + + + + + + + + alter-apimgt-h2-db + process-resources + + run + + + + + + + + + + + + + + + + + @@ -245,122 +271,122 @@ - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.device.mgt.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.device.mgt.extensions.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.policy.mgt.server.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.policy.mgt.server.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.certificate.mgt.api.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.certificate.mgt.api.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.certificate.mgt.cert.admin.api.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.certificate.mgt.cert.admin.api.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.certificate.mgt.server.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.certificate.mgt.server.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.apimgt.webapp.publisher.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.apimgt.webapp.publisher.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.identity.jwt.client.extension.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.identity.jwt.client.extension.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.webapp.authenticator.framework.server.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.webapp.authenticator.framework.server.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.apimgt.application.extension.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.apimgt.application.extension.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.apimgt.keymgt.extension.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.apimgt.keymgt.extension.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.email.sender.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.email.sender.feature:${io.entgra.device.mgt.core.version} - io.entgra.devicemgt:io.entgra.ui.request.interceptor.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.ui.request.interceptor.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.device.type.deployer.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.device.mgt.extensions.device.type.deployer.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.device.mgt.extensions.push.notification.provider.mqtt.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.push.notification.provider.http.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.device.mgt.extensions.push.notification.provider.http.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.push.notification.provider.fcm.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.device.mgt.extensions.push.notification.provider.fcm.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.device.mgt.extensions.push.notification.provider.xmpp.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.server.heart.beat.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.server.heart.beat.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.analytics.mgt.grafana.proxy.server.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.analytics.mgt.grafana.proxy.server.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.analytics.mgt.grafana.proxy.api.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.analytics.mgt.grafana.proxy.api.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.transport.mgt.sms.handler.server.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.transport.mgt.sms.handler.server.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.transport.mgt.sms.handler.api.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.transport.mgt.sms.handler.api.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.application.mgt.api.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.application.mgt.api.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.application.mgt.server.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.application.mgt.server.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.device.mgt.extensions.defaultrole.manager.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.device.mgt.extensions.defaultrole.manager.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.device.mgt.extensions.logger.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.device.mgt.extensions.logger.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.device.mgt.extensions.stateengine.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.device.mgt.extensions.stateengine.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.task.mgt.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.task.mgt.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.notification.logger.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.notification.logger.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.device.mgt.core.apimgt.analytics.extension.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.apimgt.analytics.extension.feature:${io.entgra.device.mgt.core.version} - org.wso2.carbon.devicemgt:io.entgra.tenant.mgt.server.feature:${carbon.device.mgt.version} + io.entgra.device.mgt.core:io.entgra.device.mgt.core.tenant.mgt.server.feature:${io.entgra.device.mgt.core.version} @@ -381,170 +407,170 @@ - org.wso2.carbon.device.mgt.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.device.mgt.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.device.mgt.extensions.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.device.mgt.extensions.feature.group + ${io.entgra.device.mgt.core.version} - io.entgra.analytics.mgt.grafana.proxy.server.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.analytics.mgt.grafana.proxy.server.feature.group + ${io.entgra.device.mgt.core.version} - io.entgra.analytics.mgt.grafana.proxy.api.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.analytics.mgt.grafana.proxy.api.feature.group + ${io.entgra.device.mgt.core.version} - io.entgra.application.mgt.api.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.application.mgt.api.feature.group + ${io.entgra.device.mgt.core.version} - io.entgra.application.mgt.server.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.application.mgt.server.feature.group + ${io.entgra.device.mgt.core.version} - io.entgra.transport.mgt.sms.handler.server.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.transport.mgt.sms.handler.server.feature.group + ${io.entgra.device.mgt.core.version} - io.entgra.transport.mgt.sms.handler.api.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.transport.mgt.sms.handler.api.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.email.sender.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.email.sender.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.apimgt.application.extension.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.apimgt.application.extension.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.apimgt.webapp.publisher.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.apimgt.webapp.publisher.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.apimgt.keymgt.extension.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.apimgt.keymgt.extension.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.certificate.mgt.server.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.certificate.mgt.server.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.certificate.mgt.api.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.certificate.mgt.api.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.certificate.mgt.cert.admin.api.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.certificate.mgt.cert.admin.api.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.device.mgt.extensions.device.type.deployer.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.device.mgt.extensions.device.type.deployer.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.device.mgt.extensions.push.notification.provider.mqtt.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.device.mgt.extensions.push.notification.provider.http.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.device.mgt.extensions.push.notification.provider.http.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.device.mgt.extensions.push.notification.provider.fcm.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.device.mgt.extensions.push.notification.provider.fcm.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.device.mgt.extensions.push.notification.provider.xmpp.feature.group + ${io.entgra.device.mgt.core.version} - io.entgra.server.heart.beat.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.server.heart.beat.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.identity.jwt.client.extension.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.identity.jwt.client.extension.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.policy.mgt.server.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.policy.mgt.server.feature.group + ${io.entgra.device.mgt.core.version} - io.entgra.ui.request.interceptor.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.ui.request.interceptor.feature.group + ${io.entgra.device.mgt.core.version} - org.wso2.carbon.webapp.authenticator.framework.server.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.webapp.authenticator.framework.server.feature.group + ${io.entgra.device.mgt.core.version} - io.entgra.device.mgt.extensions.defaultrole.manager.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.device.mgt.extensions.defaultrole.manager.feature.group + ${io.entgra.device.mgt.core.version} - io.entgra.device.mgt.extensions.logger.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.device.mgt.extensions.logger.feature.group + ${io.entgra.device.mgt.core.version} - io.entgra.device.mgt.extensions.stateengine.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.device.mgt.extensions.stateengine.feature.group + ${io.entgra.device.mgt.core.version} - io.entgra.task.mgt.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.task.mgt.feature.group + ${io.entgra.device.mgt.core.version} - io.entgra.notification.logger.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.notification.logger.feature.group + ${io.entgra.device.mgt.core.version} io.entgra.device.mgt.core.apimgt.analytics.extension.feature.group - ${carbon.device.mgt.version} + ${io.entgra.device.mgt.core.version} - io.entgra.tenant.mgt.server.feature.group - ${carbon.device.mgt.version} + io.entgra.device.mgt.core.tenant.mgt.server.feature.group + ${io.entgra.device.mgt.core.version} diff --git a/uem-core/src/assembly/bin.xml b/uem-core/src/assembly/bin.xml index f64e9db..daa8903 100644 --- a/uem-core/src/assembly/bin.xml +++ b/uem-core/src/assembly/bin.xml @@ -110,8 +110,8 @@ ${entgra-uem-core}/repository/components/dropins - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.oauth.extensions - org.wso2.carbon.devicemgt:org.wso2.carbon.apimgt.keymgt.extension + io.entgra.device.mgt.core:io.entgra.device.mgt.core.device.mgt.oauth.extensions + io.entgra.device.mgt.core:io.entgra.device.mgt.core.apimgt.keymgt.extension diff --git a/uem-core/src/core/scripts/alter-apimgt-h2-db.sql b/uem-core/src/core/scripts/alter-apimgt-h2-db.sql new file mode 100644 index 0000000..bb46a9c --- /dev/null +++ b/uem-core/src/core/scripts/alter-apimgt-h2-db.sql @@ -0,0 +1 @@ +ALTER TABLE IDN_OAUTH2_ACCESS_TOKEN_SCOPE ALTER COLUMN TOKEN_SCOPE VARCHAR(1000); \ No newline at end of file