Skip to content

Commit 7377c5d

Browse files
author
abattagl
committed
fixed package names
1 parent 8987507 commit 7377c5d

26 files changed

+193
-173
lines changed

pom.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>org.qiot.covid19.edge</groupId>
88
<artifactId>edge-sensors-emulator</artifactId>
9-
<version>1.0.1</version>
9+
<version>1.1.0</version>
1010
<properties>
11-
<surefire-plugin.version>2.22.1</surefire-plugin.version>
12-
<maven.compiler.target>11</maven.compiler.target>
13-
<quarkus.platform.version>1.10.5.Final</quarkus.platform.version>
11+
<compiler-plugin.version>3.8.1</compiler-plugin.version>
12+
<maven.compiler.parameters>true</maven.compiler.parameters>
1413
<maven.compiler.source>11</maven.compiler.source>
14+
<maven.compiler.target>11</maven.compiler.target>
1515
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16-
<quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
1716
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
18-
<maven.compiler.parameters>true</maven.compiler.parameters>
19-
<quarkus-plugin.version>1.10.5.Final</quarkus-plugin.version>
20-
<compiler-plugin.version>3.8.1</compiler-plugin.version>
17+
<quarkus-plugin.version>1.11.1.Final</quarkus-plugin.version>
18+
<quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
2119
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
20+
<quarkus.platform.version>1.11.1.Final</quarkus.platform.version>
21+
<surefire-plugin.version>2.22.1</surefire-plugin.version>
2222
</properties>
2323
<dependencyManagement>
2424
<dependencies>

src/main/java/org/qiot/covid19/edge/emulator/domain/GasBean.java renamed to src/main/java/io/qiot/covid19/edge/emulator/domain/GasBean.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
1-
package org.qiot.covid19.edge.emulator.domain;
1+
package io.qiot.covid19.edge.emulator.domain;
22

33

4+
import javax.json.bind.annotation.JsonbProperty;
5+
46
import io.quarkus.runtime.annotations.RegisterForReflection;
57

68

79
@RegisterForReflection
810
public class GasBean {
911

12+
@JsonbProperty(value = "adc", nillable = true)
1013
private Double adc;
11-
private Double nh3;
12-
private Double oxidising;
13-
private Double reducing;
14+
@JsonbProperty(value = "nh3", nillable = false)
15+
private double nh3;
16+
@JsonbProperty(value = "oxidising", nillable = false)
17+
private double oxidising;
18+
@JsonbProperty(value = "reducing", nillable = false)
19+
private double reducing;
1420

1521
public Double getAdc() {
1622
return adc;

src/main/java/org/qiot/covid19/edge/emulator/domain/GasGeneratorConfigService.java renamed to src/main/java/io/qiot/covid19/edge/emulator/domain/GasGeneratorConfigService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.qiot.covid19.edge.emulator.domain;
1+
package io.qiot.covid19.edge.emulator.domain;
22

33

44
import javax.enterprise.context.ApplicationScoped;

src/main/java/org/qiot/covid19/edge/emulator/domain/ParticulatesGeneratorConfigService.java renamed to src/main/java/io/qiot/covid19/edge/emulator/domain/ParticulatesGeneratorConfigService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.qiot.covid19.edge.emulator.domain;
1+
package io.qiot.covid19.edge.emulator.domain;
22

33

44
import javax.enterprise.context.ApplicationScoped;
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
package io.qiot.covid19.edge.emulator.domain;
2+
3+
import javax.json.bind.annotation.JsonbProperty;
4+
5+
import io.quarkus.runtime.annotations.RegisterForReflection;
6+
7+
@RegisterForReflection
8+
public class PartuculatesBean {
9+
10+
@JsonbProperty(value = "pm1_0", nillable = false)
11+
private int pm1_0;
12+
@JsonbProperty(value = "pm2_5", nillable = false)
13+
private int pm2_5;
14+
@JsonbProperty(value = "pm10", nillable = false)
15+
private int pm10;
16+
@JsonbProperty(value = "pm1_0_atm", nillable = false)
17+
private int pm1_0_atm;
18+
@JsonbProperty(value = "pm2_5_atm", nillable = false)
19+
private int pm2_5_atm;
20+
@JsonbProperty(value = "pm10_atm", nillable = false)
21+
private int pm10_atm;
22+
@JsonbProperty(value = "gt0_3um", nillable = false)
23+
private int gt0_3um;
24+
@JsonbProperty(value = "gt0_5um", nillable = false)
25+
private int gt0_5um;
26+
@JsonbProperty(value = "gt1_0um", nillable = false)
27+
private int gt1_0um;
28+
@JsonbProperty(value = "gt2_5um", nillable = false)
29+
private int gt2_5um;
30+
@JsonbProperty(value = "gt5_0um", nillable = false)
31+
private int gt5_0um;
32+
@JsonbProperty(value = "gt10um", nillable = false)
33+
private int gt10um;
34+
35+
public int getPm1_0() {
36+
return pm1_0;
37+
}
38+
39+
public void setPm1_0(int pm1_0) {
40+
this.pm1_0 = pm1_0;
41+
}
42+
43+
public int getPm2_5() {
44+
return pm2_5;
45+
}
46+
47+
public void setPm2_5(int pm2_5) {
48+
this.pm2_5 = pm2_5;
49+
}
50+
51+
public int getPm10() {
52+
return pm10;
53+
}
54+
55+
public void setPm10(int pm10) {
56+
this.pm10 = pm10;
57+
}
58+
59+
public int getPm1_0_atm() {
60+
return pm1_0_atm;
61+
}
62+
63+
public void setPm1_0_atm(int pm1_0_atm) {
64+
this.pm1_0_atm = pm1_0_atm;
65+
}
66+
67+
public int getPm2_5_atm() {
68+
return pm2_5_atm;
69+
}
70+
71+
public void setPm2_5_atm(int pm2_5_atm) {
72+
this.pm2_5_atm = pm2_5_atm;
73+
}
74+
75+
public int getPm10_atm() {
76+
return pm10_atm;
77+
}
78+
79+
public void setPm10_atm(int pm10_atm) {
80+
this.pm10_atm = pm10_atm;
81+
}
82+
83+
public int getGt0_3um() {
84+
return gt0_3um;
85+
}
86+
87+
public void setGt0_3um(int gt0_3um) {
88+
this.gt0_3um = gt0_3um;
89+
}
90+
91+
public int getGt0_5um() {
92+
return gt0_5um;
93+
}
94+
95+
public void setGt0_5um(int gt0_5um) {
96+
this.gt0_5um = gt0_5um;
97+
}
98+
99+
public int getGt1_0um() {
100+
return gt1_0um;
101+
}
102+
103+
public void setGt1_0um(int gt1_0um) {
104+
this.gt1_0um = gt1_0um;
105+
}
106+
107+
public int getGt2_5um() {
108+
return gt2_5um;
109+
}
110+
111+
public void setGt2_5um(int gt2_5um) {
112+
this.gt2_5um = gt2_5um;
113+
}
114+
115+
public int getGt5_0um() {
116+
return gt5_0um;
117+
}
118+
119+
public void setGt5_0um(int gt5_0um) {
120+
this.gt5_0um = gt5_0um;
121+
}
122+
123+
public int getGt10um() {
124+
return gt10um;
125+
}
126+
127+
public void setGt10um(int gt10um) {
128+
this.gt10um = gt10um;
129+
}
130+
131+
@Override
132+
public String toString() {
133+
return "PartuculatesBean [pm1_0=" + pm1_0 + ", pm2_5=" + pm2_5
134+
+ ", pm10=" + pm10 + ", pm1_0_atm=" + pm1_0_atm + ", pm2_5_atm="
135+
+ pm2_5_atm + ", pm10_atm=" + pm10_atm + ", gt0_3um=" + gt0_3um
136+
+ ", gt0_5um=" + gt0_5um + ", gt1_0um=" + gt1_0um + ", gt2_5um="
137+
+ gt2_5um + ", gt5_0um=" + gt5_0um + ", gt10um=" + gt10um + "]";
138+
}
139+
140+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package io.qiot.covid19.edge.emulator.domain;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package io.qiot.covid19.edge.emulator;

src/main/java/org/qiot/covid19/edge/emulator/rest/GasResource.java renamed to src/main/java/io/qiot/covid19/edge/emulator/rest/GasResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.qiot.covid19.edge.emulator.rest;
1+
package io.qiot.covid19.edge.emulator.rest;
22

33

44
import javax.enterprise.context.ApplicationScoped;
@@ -8,7 +8,7 @@
88
import javax.ws.rs.Produces;
99
import javax.ws.rs.core.MediaType;
1010

11-
import org.qiot.covid19.edge.emulator.services.GasService;
11+
import io.qiot.covid19.edge.emulator.services.GasService;
1212

1313

1414
@Path("/gas")

src/main/java/org/qiot/covid19/edge/emulator/rest/ParticulatesResource.java renamed to src/main/java/io/qiot/covid19/edge/emulator/rest/ParticulatesResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.qiot.covid19.edge.emulator.rest;
1+
package io.qiot.covid19.edge.emulator.rest;
22

33
import javax.enterprise.context.ApplicationScoped;
44
import javax.inject.Inject;
@@ -7,7 +7,7 @@
77
import javax.ws.rs.Produces;
88
import javax.ws.rs.core.MediaType;
99

10-
import org.qiot.covid19.edge.emulator.services.ParticulatesService;
10+
import io.qiot.covid19.edge.emulator.services.ParticulatesService;
1111

1212
@Path("/particulates")
1313
@ApplicationScoped

src/main/java/org/qiot/covid19/edge/emulator/rest/SystemIdResource.java renamed to src/main/java/io/qiot/covid19/edge/emulator/rest/SystemIdResource.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
package io.qiot.covid19.edge.emulator.rest;
12
//package org.qiot.covid19.edge.emulator.rest;
23
//
34
//

0 commit comments

Comments
 (0)