Skip to content

Commit

Permalink
Renamed core.cloud in cloudconnection.kapua.mqtt.provider
Browse files Browse the repository at this point in the history
Signed-off-by: pierantoniomerlino <[email protected]>
  • Loading branch information
pierantoniomerlino committed Sep 4, 2024
1 parent 1860c67 commit e98932d
Show file tree
Hide file tree
Showing 65 changed files with 37 additions and 29 deletions.
2 changes: 1 addition & 1 deletion kura/distrib/config/kura.build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ org.eclipse.kura.core.version=2.0.0-SNAPSHOT
org.eclipse.kura.core.system.version=2.0.0-SNAPSHOT
org.eclipse.kura.core.certificates.version=2.0.0-SNAPSHOT
org.eclipse.kura.core.keystore.version=2.0.0-SNAPSHOT
org.eclipse.kura.core.cloud.version=2.0.0-SNAPSHOT
org.eclipse.kura.core.cloud.command.version=1.0.0-SNAPSHOT
org.eclipse.kura.core.cloud.factory.version=2.0.0-SNAPSHOT
org.eclipse.kura.core.comm.version=2.0.0-SNAPSHOT
Expand Down Expand Up @@ -133,6 +132,7 @@ org.eclipse.kura.db.sqlite.provider.version=2.0.0-SNAPSHOT
org.eclipse.kura.rest.network.status.provider.version=2.0.0-SNAPSHOT
org.eclipse.kura.wire.script.tools.version=2.0.0-SNAPSHOT
org.eclipse.kura.cloudconnection.sparkplug.mqtt.provider.version=2.0.0-SNAPSHOT
org.eclipse.kura.cloudconnection.kapua.mqtt.provider.version=1.0.0-SNAPSHOT

## features versions
org.eclipse.kura.driver.opcua.version=2.0.0-SNAPSHOT
Expand Down
19 changes: 9 additions & 10 deletions kura/distrib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>1.0-beta-6</version>
<version>>1.0-beta-6</version>
</extension>
<extension>
<groupId>org.apache.maven.wagon</groupId>
Expand Down Expand Up @@ -216,11 +216,6 @@
<artifactId>org.eclipse.kura.core.certificates</artifactId>
<version>${org.eclipse.kura.core.certificates.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.kura</groupId>
<artifactId>org.eclipse.kura.core.cloud</artifactId>
<version>${org.eclipse.kura.core.cloud.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.kura</groupId>
<artifactId>org.eclipse.kura.core.cloud.command</artifactId>
Expand Down Expand Up @@ -556,6 +551,11 @@
<artifactId>org.eclipse.kura.cloudconnection.raw.mqtt.provider</artifactId>
<version>${org.eclipse.kura.cloudconnection.raw.mqtt.provider.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.kura</groupId>
<artifactId>org.eclipse.kura.cloudconnection.kapua.mqtt.provider</artifactId>
<version>${org.eclipse.kura.cloudconnection.kapua.mqtt.provider.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.kura</groupId>
<artifactId>org.eclipse.kura.useradmin.store</artifactId>
Expand Down Expand Up @@ -752,7 +752,6 @@
<move file="target/plugins/org.eclipse.kura.core.jar" tofile="target/plugins/org.eclipse.kura.core_${org.eclipse.kura.core.version}.jar" />
<move file="target/plugins/org.eclipse.kura.core.system.jar" tofile="target/plugins/org.eclipse.kura.core.system_${org.eclipse.kura.core.system.version}.jar" />
<move file="target/plugins/org.eclipse.kura.core.certificates.jar" tofile="target/plugins/org.eclipse.kura.core.certificates_${org.eclipse.kura.core.certificates.version}.jar" />
<move file="target/plugins/org.eclipse.kura.core.cloud.jar" tofile="target/plugins/org.eclipse.kura.core.cloud_${org.eclipse.kura.core.cloud.version}.jar" />
<move file="target/plugins/org.eclipse.kura.core.cloud.command.jar" tofile="target/plugins/org.eclipse.kura.core.cloud.command_${org.eclipse.kura.core.cloud.command.version}.jar" />
<move file="target/plugins/org.eclipse.kura.core.cloud.factory.jar" tofile="target/plugins/org.eclipse.kura.core.cloud.factory_${org.eclipse.kura.core.cloud.factory.version}.jar" />
<move file="target/plugins/org.eclipse.kura.core.comm.jar" tofile="target/plugins/org.eclipse.kura.core.comm_${org.eclipse.kura.core.comm.version}.jar" />
Expand Down Expand Up @@ -816,6 +815,7 @@
<move file="target/plugins/org.eclipse.kura.xml.marshaller.unmarshaller.provider.jar" tofile="target/plugins/org.eclipse.kura.xml.marshaller.unmarshaller.provider_${org.eclipse.kura.xml.marshaller.unmarshaller.provider.version}.jar" />
<move file="target/plugins/org.eclipse.kura.wire.component.join.provider.jar" tofile="target/plugins/org.eclipse.kura.wire.component.join.provider_${org.eclipse.kura.wire.component.join.provider.version}.jar" />
<move file="target/plugins/org.eclipse.kura.cloudconnection.eclipseiot.mqtt.provider.jar" tofile="target/plugins/org.eclipse.kura.cloudconnection.eclipseiot.mqtt.provider_${org.eclipse.kura.cloudconnection.eclipseiot.mqtt.provider.version}.jar" />
<move file="target/plugins/org.eclipse.kura.cloudconnection.kapua.mqtt.provider.jar" tofile="target/plugins/org.eclipse.kura.cloudconnection.kapua.mqtt.provider_${org.eclipse.kura.cloudconnection.kapua.mqtt.provider.version}.jar" />
<move file="target/plugins/org.eclipse.kura.http.server.manager.jar" tofile="target/plugins/org.eclipse.kura.http.server.manager_${org.eclipse.kura.http.server.manager.version}.jar" />
<move file="target/plugins/org.eclipse.kura.cloudconnection.raw.mqtt.provider.jar" tofile="target/plugins/org.eclipse.kura.cloudconnection.raw.mqtt.provider_${org.eclipse.kura.cloudconnection.raw.mqtt.provider.version}.jar" />
<move file="target/plugins/org.eclipse.kura.useradmin.store.jar" tofile="target/plugins/org.eclipse.kura.useradmin.store_${org.eclipse.kura.useradmin.store.version}.jar" />
Expand Down Expand Up @@ -2025,8 +2025,7 @@
<copy file="${project.build.directory}/plugins/org.eclipse.kura.camel.xml_${org.eclipse.kura.camel.xml.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />
<copy file="${project.build.directory}/plugins/org.eclipse.kura.core_${org.eclipse.kura.core.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />
<copy file="${project.build.directory}/plugins/org.eclipse.kura.core.certificates_${org.eclipse.kura.core.certificates.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />
<copy file="${project.build.directory}/plugins/org.eclipse.kura.core.cloud_${org.eclipse.kura.core.cloud.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />
<copy file="${project.build.directory}/plugins/org.eclipse.kura.core.cloud_${org.eclipse.kura.core.cloud.command.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />
<copy file="${project.build.directory}/plugins/org.eclipse.kura.core.cloud.command_${org.eclipse.kura.core.cloud.command.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />
<copy file="${project.build.directory}/plugins/org.eclipse.kura.core.cloud.factory_${org.eclipse.kura.core.cloud.factory.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />
<copy file="${project.build.directory}/plugins/org.eclipse.kura.core.comm_${org.eclipse.kura.core.comm.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />
<copy file="${project.build.directory}/plugins/org.eclipse.kura.core.configuration_${org.eclipse.kura.core.configuration.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />
Expand Down Expand Up @@ -2085,7 +2084,7 @@
<copy file="${project.build.directory}/plugins/org.eclipse.kura.xml.marshaller.unmarshaller.provider_${org.eclipse.kura.xml.marshaller.unmarshaller.provider.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />

<copy file="${project.build.directory}/plugins/org.eclipse.kura.cloudconnection.eclipseiot.mqtt.provider_${org.eclipse.kura.cloudconnection.eclipseiot.mqtt.provider.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />

<copy file="${project.build.directory}/plugins/org.eclipse.kura.cloudconnection.kapua.mqtt.provider_${org.eclipse.kura.cloudconnection.kapua.mqtt.provider.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />
<copy file="${project.build.directory}/plugins/org.eclipse.kura.cloudconnection.raw.mqtt.provider_${org.eclipse.kura.cloudconnection.raw.mqtt.provider.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />
<copy file="${project.build.directory}/plugins/org.eclipse.kura.wire.ai.component.provider_${org.eclipse.kura.wire.ai.component.provider.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />
<copy file="${project.build.directory}/plugins/org.eclipse.kura.ai.triton.server_${org.eclipse.kura.ai.triton.server.version}.jar" todir="${project.build.directory}/staging/target-definition/equinox_3.16.0/repository/plugins" />
Expand Down
17 changes: 13 additions & 4 deletions kura/distrib/src/main/ant/build_equinox_distrib.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
<antcall target="core.system-config" />
<antcall target="core.certificates-config" />
<antcall target="core.cloud-config" />
<antcall target="cloud.mqtt.kapua-config" />
<antcall target="cloud.mqtt.eclipseiot-config" />
<antcall target="cloud.mqtt.raw-config" />
<antcall target="core.comm-config" />
Expand Down Expand Up @@ -589,9 +590,6 @@ fi]]>
<zipfileset
file="${project.build.directory}/plugins/org.eclipse.kura.core.certificates_${org.eclipse.kura.core.certificates.version}.jar"
prefix="${build.output.name}/${plugins.folder}" />
<zipfileset
file="${project.build.directory}/plugins/org.eclipse.kura.core.cloud_${org.eclipse.kura.core.cloud.version}.jar"
prefix="${build.output.name}/${plugins.folder}" />
<zipfileset
file="${project.build.directory}/plugins/org.eclipse.kura.core.cloud.command_${org.eclipse.kura.core.cloud.command.version}.jar"
prefix="${build.output.name}/${plugins.folder}" />
Expand All @@ -604,6 +602,9 @@ fi]]>
<zipfileset
file="${project.build.directory}/plugins/org.eclipse.kura.cloudconnection.raw.mqtt.provider_${org.eclipse.kura.cloudconnection.raw.mqtt.provider.version}.jar"
prefix="${build.output.name}/${plugins.folder}" />
<zipfileset
file="${project.build.directory}/plugins/org.eclipse.kura.cloudconnection.kapua.mqtt.provider_${org.eclipse.kura.cloudconnection.kapua.mqtt.provider.version}.jar"
prefix="${build.output.name}/${plugins.folder}" />
<zipfileset
file="${project.build.directory}/plugins/org.eclipse.kura.core.comm_${org.eclipse.kura.core.comm.version}.jar"
prefix="${build.output.name}/${plugins.folder}" />
Expand Down Expand Up @@ -989,7 +990,15 @@ fi]]>
value=", reference:file:${kura.install.dir}/${kura.symlink}/${plugins.folder}/org.eclipse.kura.core.cloud.factory_${org.eclipse.kura.core.cloud.factory.version}.jar@4:start" />
</propertyfile>
</target>


<target name="cloud.mqtt.kapua-config">
<propertyfile
file="${project.build.directory}/${build.output.name}/config.ini">
<entry key="osgi.bundles" operation="+"
value=", reference:file:${kura.install.dir}/${kura.symlink}/${plugins.folder}/org.eclipse.kura.cloudconnection.kapua.mqtt.provider_${org.eclipse.kura.cloudconnection.kapua.mqtt.provider.version}.jar@4:start" />
</propertyfile>
</target>

<target name="cloud.mqtt.eclipseiot-config">
<propertyfile
file="${project.build.directory}/${build.output.name}/config.ini">
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: org.eclipse.kura.core.cloud
Bundle-SymbolicName: org.eclipse.kura.core.cloud;singleton:=true
Bundle-Version: 2.0.0.qualifier
Bundle-Name: org.eclipse.kura.cloudconnection.kapua.mqtt.provider
Bundle-SymbolicName: org.eclipse.kura.cloudconnection.kapua.mqtt.provider;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Vendor: Eclipse Kura
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
Service-Component: OSGI-INF/*.xml
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2011, 2024 Eurotech and/or its affiliates and others
Copyright (c) 2024 Eurotech and/or its affiliates and others
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0
Expand All @@ -23,13 +23,13 @@
<version>6.0.0-SNAPSHOT</version>
</parent>

<artifactId>org.eclipse.kura.core.cloud</artifactId>
<version>2.0.0-SNAPSHOT</version>
<artifactId>org.eclipse.kura.cloudconnection.kapua.mqtt.provider</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>

<properties>
<kura.basedir>${project.basedir}/..</kura.basedir>
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../test/org.eclipse.kura.core.cloud.test/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../test/org.eclipse.kura.cloudconnection.kapua.mqtt.provider.test/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
</properties>

<build>
Expand Down
2 changes: 1 addition & 1 deletion kura/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
<module>org.eclipse.kura.core</module>
<module>org.eclipse.kura.core.certificates</module>
<module>org.eclipse.kura.core.keystore</module>
<module>org.eclipse.kura.core.cloud</module>
<module>org.eclipse.kura.core.cloud.command</module>
<module>org.eclipse.kura.core.cloud.factory</module>
<module>org.eclipse.kura.core.comm</module>
Expand Down Expand Up @@ -128,6 +127,7 @@
<module>org.eclipse.kura.db.sqlite.provider</module>
<module>org.eclipse.kura.rest.network.status.provider</module>
<module>org.eclipse.kura.cloudconnection.sparkplug.mqtt.provider</module>
<module>org.eclipse.kura.cloudconnection.kapua.mqtt.provider</module>
<module>emulator</module>
<module>test-util</module>
</modules>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: org.eclipse.kura.core.cloud.test
Bundle-SymbolicName: org.eclipse.kura.core.cloud.test;singleton:=true
Bundle-Name: org.eclipse.kura.cloudconnection.kapua.mqtt.provider.test
Bundle-SymbolicName: org.eclipse.kura.cloudconnection.kapua.mqtt.provider.test;singleton:=true
Bundle-Version: 6.0.0.qualifier
Bundle-Vendor: Eclipse Kura
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
Expand All @@ -19,7 +19,7 @@ Import-Package: org.eclipse.kura.core.testutil,
org.mockito.stubbing;version="[4.0.0,5.0.0)",
org.osgi.service.cm;version="1.4.0",
org.slf4j;version="1.6.4"
Fragment-Host: org.eclipse.kura.core.cloud;bundle-version="1.2.0"
Fragment-Host: org.eclipse.kura.cloudconnection.kapua.mqtt.provider
Require-Bundle: org.eclipse.kura.broker.artemis.core;bundle-version="1.2.0",
org.eclipse.kura.broker.artemis.simple.mqtt;bundle-version="1.1.0"

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2011, 2024 Eurotech and/or its affiliates and others
Copyright (c) 2024 Eurotech and/or its affiliates and others
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0
Expand All @@ -23,7 +23,7 @@
<version>6.0.0-SNAPSHOT</version>
</parent>

<artifactId>org.eclipse.kura.core.cloud.test</artifactId>
<artifactId>org.eclipse.kura.cloudconnection.kapua.mqtt.provider.test</artifactId>
<packaging>eclipse-test-plugin</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion kura/test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,6 @@
<module>org.eclipse.kura.core.certificates.test</module>
<module>org.eclipse.kura.core.comm.test</module>
<module>org.eclipse.kura.core.configuration.test</module>
<module>org.eclipse.kura.core.cloud.test</module>
<module>org.eclipse.kura.core.cloud.command.test</module>
<module>org.eclipse.kura.core.cloud.factory.test</module>
<module>org.eclipse.kura.core.crypto.test</module>
Expand Down Expand Up @@ -964,6 +963,7 @@
<module>org.eclipse.kura.db.sqlite.provider.test</module>
<module>org.eclipse.kura.message.store.provider.test</module>
<module>org.eclipse.kura.cloudconnection.sparkplug.mqtt.provider.test</module>
<module>org.eclipse.kura.cloudconnection.kapua.mqtt.provider.test</module>
<!--
<module>org.eclipse.kura.raspberrypi.sensehat.test</module>
-->
Expand Down

0 comments on commit e98932d

Please sign in to comment.