diff --git a/.github/workflows/java_checkstyle.yml b/.github/workflows/java_checkstyle.yml deleted file mode 100644 index cdec2a7..0000000 --- a/.github/workflows/java_checkstyle.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: java checkstyle -on: - push: - branches: - - main - pull_request: - branches: - - main - -jobs: - java_checkstyle: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Maven Central Repository - uses: actions/setup-java@v4 - with: - java-version: '17' - distribution: 'temurin' - - name: checkstyle - run: mvn -B clean checkstyle:check diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 0000000..205d5a0 --- /dev/null +++ b/.typos.toml @@ -0,0 +1,3 @@ +[default.extend-words] +# keyword fp +"vertx" = "vertx" diff --git a/mtconnect-client-api/pom.xml b/mtconnect-client-api/pom.xml new file mode 100644 index 0000000..39c1727 --- /dev/null +++ b/mtconnect-client-api/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + io.github.protocol-laboratory + mtconnect-parent + 0.0.1-SNAPSHOT + + + mtconnect-client-api + + diff --git a/mtconnect-client-reactive/pom.xml b/mtconnect-client-reactive/pom.xml new file mode 100644 index 0000000..a22a86f --- /dev/null +++ b/mtconnect-client-reactive/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + + io.github.protocol-laboratory + mtconnect-parent + 0.0.1-SNAPSHOT + + + mtconnect-client-reactive + + + + io.projectreactor.netty + reactor-netty-http + ${reactor-netty.version} + + + + diff --git a/mtconnect-client-reactive/src/main/java/io/github/protocol/mtconnect/client/reactive/ReactiveMtConnectClient.java b/mtconnect-client-reactive/src/main/java/io/github/protocol/mtconnect/client/reactive/ReactiveMtConnectClient.java new file mode 100644 index 0000000..eff9077 --- /dev/null +++ b/mtconnect-client-reactive/src/main/java/io/github/protocol/mtconnect/client/reactive/ReactiveMtConnectClient.java @@ -0,0 +1,4 @@ +package io.github.protocol.mtconnect.client.reactive; + +public class ReactiveMtConnectClient { +} diff --git a/mtconnect-client-vertx/pom.xml b/mtconnect-client-vertx/pom.xml new file mode 100644 index 0000000..5a66cc8 --- /dev/null +++ b/mtconnect-client-vertx/pom.xml @@ -0,0 +1,27 @@ + + + 4.0.0 + + io.github.protocol-laboratory + mtconnect-parent + 0.0.1-SNAPSHOT + + + mtconnect-client-vertx + + + + io.vertx + vertx-core + ${vertx.version} + + + io.vertx + vertx-web-client + ${vertx.version} + + + + diff --git a/mtconnect-client-vertx/src/main/java/io/github/protocol/mtconnect/client/vertx/MtConnectClient.java b/mtconnect-client-vertx/src/main/java/io/github/protocol/mtconnect/client/vertx/MtConnectClient.java new file mode 100644 index 0000000..da49105 --- /dev/null +++ b/mtconnect-client-vertx/src/main/java/io/github/protocol/mtconnect/client/vertx/MtConnectClient.java @@ -0,0 +1,11 @@ +package io.github.protocol.mtconnect.client.vertx; + +import io.vertx.core.Vertx; + +public class MtConnectClient { + private final Vertx vertx; + + public MtConnectClient() { + this.vertx = Vertx.vertx(); + } +} diff --git a/mtconnect-parent.iml b/mtconnect-parent.iml deleted file mode 100644 index 3b0c98f..0000000 --- a/mtconnect-parent.iml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/mtconnect-server-api/pom.xml b/mtconnect-server-api/pom.xml new file mode 100644 index 0000000..9d45bfa --- /dev/null +++ b/mtconnect-server-api/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + io.github.protocol-laboratory + mtconnect-parent + 0.0.1-SNAPSHOT + + + mtconnect-server-api + + diff --git a/mtconnect-server-reactive/pom.xml b/mtconnect-server-reactive/pom.xml new file mode 100644 index 0000000..4508721 --- /dev/null +++ b/mtconnect-server-reactive/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + + io.github.protocol-laboratory + mtconnect-parent + 0.0.1-SNAPSHOT + + + mtconnect-server-reactive + + + + io.projectreactor.netty + reactor-netty-http + ${reactor-netty.version} + + + + diff --git a/mtconnect-server-reactive/src/main/java/io/github/protocol/mtconnect/server/reactive/ReactiveMtConnectServer.java b/mtconnect-server-reactive/src/main/java/io/github/protocol/mtconnect/server/reactive/ReactiveMtConnectServer.java new file mode 100644 index 0000000..28173b1 --- /dev/null +++ b/mtconnect-server-reactive/src/main/java/io/github/protocol/mtconnect/server/reactive/ReactiveMtConnectServer.java @@ -0,0 +1,4 @@ +package io.github.protocol.mtconnect.server.reactive; + +public class ReactiveMtConnectServer { +} diff --git a/mtconnect-server-vertx/pom.xml b/mtconnect-server-vertx/pom.xml new file mode 100644 index 0000000..1acdf83 --- /dev/null +++ b/mtconnect-server-vertx/pom.xml @@ -0,0 +1,27 @@ + + + 4.0.0 + + io.github.protocol-laboratory + mtconnect-parent + 0.0.1-SNAPSHOT + + + mtconnect-server-vertx + + + + io.vertx + vertx-core + ${vertx.version} + + + io.vertx + vertx-web + ${vertx.version} + + + + diff --git a/mtconnect-server-vertx/src/main/java/io/github/protocol/mtconnect/server/vertx/MtConnectServer.java b/mtconnect-server-vertx/src/main/java/io/github/protocol/mtconnect/server/vertx/MtConnectServer.java new file mode 100644 index 0000000..06780e9 --- /dev/null +++ b/mtconnect-server-vertx/src/main/java/io/github/protocol/mtconnect/server/vertx/MtConnectServer.java @@ -0,0 +1,11 @@ +package io.github.protocol.mtconnect.server.vertx; + +import io.vertx.core.Vertx; + +public class MtConnectServer { + private final Vertx vertx; + + public MtConnectServer() { + this.vertx = Vertx.vertx(); + } +} diff --git a/pom.xml b/pom.xml index 6da510c..9b0ed37 100644 --- a/pom.xml +++ b/pom.xml @@ -10,6 +10,12 @@ pom + mtconnect-client-api + mtconnect-client-reactive + mtconnect-client-vertx + mtconnect-server-api + mtconnect-server-reactive + mtconnect-server-vertx @@ -21,7 +27,9 @@ 5.11.0 2.20.0 1.18.34 + 1.1.22 2.0.16 + 4.5.9 1.18.20.0 3.13.0