diff --git a/.asyncapi-tool b/.asyncapi-tool index e0910716..6e5b91df 100644 --- a/.asyncapi-tool +++ b/.asyncapi-tool @@ -3,8 +3,8 @@ title: ZenWave Code Generator description: DDD and API-First for Event-Driven Microservices links: websiteUrl: https://zenwave360.github.io/ - docsUrl: https://zenwave360.github.io/zenwave-code-generator/plugins/asyncapi-spring-cloud-streams3/ - repoUrl: https://github.com/zenwave360/zenwave-code-generator + docsUrl: https://zenwave360.github.io/zenwave-sdk/plugins/asyncapi-spring-cloud-streams3/ + repoUrl: https://github.com/zenwave360/zenwave-sdk filters: language: Java technology: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 420fedf8..4826bfa3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: ./plugins/jdl-to-asyncapi/target/site/jacoco/jacoco.csv ./plugins/openapi-spring-webtestclient/target/site/jacoco/jacoco.csv ./plugins/openapi-rest-assured/target/site/jacoco/jacoco.csv - ./zenwave-code-generator-cli/target/site/jacoco/jacoco.csv + ./zenwave-sdk-cli/target/site/jacoco/jacoco.csv - name: Log coverage percentage run: | @@ -86,11 +86,11 @@ jobs: - name: Comment on PR with coverage percentages if: ${{ github.event_name == 'pull_request' }} run: | - REPORT=$( 👉 ZenWave360 Helps You Create Software that's Easy to Understand -[![Maven Central](https://img.shields.io/maven-central/v/io.github.zenwave360.zenwave-code-generator/zenwave-code-generator.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.github.zenwave360.zenwave-code-generator/zenwave-code-generator) -[![GitHub release (latest by date)](https://img.shields.io/github/v/release/ZenWave360/zenwave-code-generator?logo=GitHub)](https://github.com/ZenWave360/zenwave-code-generator/releases) +[![Maven Central](https://img.shields.io/maven-central/v/io.github.zenwave360.zenwave-sdk/zenwave-sdk.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.github.zenwave360.zenwave-sdk/zenwave-sdk) +[![GitHub release (latest by date)](https://img.shields.io/github/v/release/ZenWave360/zenwave-sdk?logo=GitHub)](https://github.com/ZenWave360/zenwave-sdk/releases) ![General Availability](https://img.shields.io/badge/lifecycle-GA-green) -[![build](https://github.com/ZenWave360/zenwave-code-generator/workflows/build/badge.svg)](https://github.com/ZenWave360/zenwave-code-generator/actions/workflows/build.yml) -[![coverage](https://raw.githubusercontent.com/ZenWave360/zenwave-code-generator/badges/jacoco.svg)](https://github.com/ZenWave360/zenwave-code-generator/actions/workflows/build.yml) -[![branches coverage](https://raw.githubusercontent.com/ZenWave360/zenwave-code-generator/badges/branches.svg)](https://github.com/ZenWave360/zenwave-code-generator/actions/workflows/build.yml) -[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-code-generator)](https://github.com/ZenWave360/zenwave-code-generator/blob/main/LICENSE) +[![build](https://github.com/ZenWave360/zenwave-sdk/workflows/build/badge.svg)](https://github.com/ZenWave360/zenwave-sdk/actions/workflows/build.yml) +[![coverage](https://raw.githubusercontent.com/ZenWave360/zenwave-sdk/badges/jacoco.svg)](https://github.com/ZenWave360/zenwave-sdk/actions/workflows/build.yml) +[![branches coverage](https://raw.githubusercontent.com/ZenWave360/zenwave-sdk/badges/branches.svg)](https://github.com/ZenWave360/zenwave-sdk/actions/workflows/build.yml) +[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-sdk)](https://github.com/ZenWave360/zenwave-sdk/blob/main/LICENSE) ZenWave Code Generator is a configurable and extensible code generator tool for **Domain Driven Design (DDD)** and **API-First** that can generate code from a mix of different models including: @@ -23,27 +23,27 @@ ZenWave Code Generator is a configurable and extensible code generator tool for **Table of Contents:** -- [ZenWave Code Generator](#zenwave-code-generator) +- [ZenWave Code Generator](#zenwave-sdk) - [Jbang Instalation](#jbang-instalation) - [Features / Roadmap](#features--roadmap) - [Building from source](#building-from-source) - [Usage](#usage) - [Available Plugins](#available-plugins) - [Forking an Standard or Custom Plugin](#forking-an-standard-or-custom-plugin) -- [ZenWave Code Generator Documentation](#zenwave-code-generator-documentation) +- [ZenWave Code Generator Documentation](#zenwave-sdk-documentation) ## Jbang Instalation The easiest way to install ZenWave Code Generator is as a [JBang alias](https://www.jbang.dev/documentation/guide/latest/alias_catalogs.html): ```shell -jbang alias add --fresh --name=zw release@zenwave360/zenwave-code-generator +jbang alias add --fresh --name=zw release@zenwave360/zenwave-sdk ``` or if you prefer to use the latest **snapshot** versions: ```shell -jbang alias add --fresh --name=zw zw-snapshots@zenwave360/zenwave-code-generator +jbang alias add --fresh --name=zw zw-snapshots@zenwave360/zenwave-sdk ``` If you plan to use **custom plugins** you will need to use the command in the following format: @@ -54,15 +54,15 @@ jbang alias add --name=zw \ --repos=mavencentral,snapshots=https://s01.oss.sonatype.org/content/repositories/snapshots \ --deps=\ org.slf4j:slf4j-simple:1.7.36,\ -io.github.zenwave360.zenwave-code-generator.plugins:asyncapi-spring-cloud-streams3:1.0.0.RC1,\ -io.github.zenwave360.zenwave-code-generator.plugins:asyncapi-jsonschema2pojo:1.0.0.RC1,\ -io.github.zenwave360.zenwave-code-generator.plugins:openapi-spring-webtestclient:1.0.0.RC1,\ -io.github.zenwave360.zenwave-code-generator.plugins:openapi-rest-assured:1.0.0.RC1,\ -io.github.zenwave360.zenwave-code-generator.plugins:jdl-backend-application-default:1.0.0.RC1,\ -io.github.zenwave360.zenwave-code-generator.plugins:jdl-to-openapi:1.0.0.RC1,\ -io.github.zenwave360.zenwave-code-generator.plugins:jdl-to-asyncapi:1.0.0.RC1,\ -io.github.zenwave360.zenwave-code-generator.plugins:jdl-openapi-controllers:1.0.0.RC1 \ - io.github.zenwave360.zenwave-code-generator:zenwave-code-generator-cli:1.0.0.RC1 +io.github.zenwave360.zenwave-sdk.plugins:asyncapi-spring-cloud-streams3:1.0.0.RC1,\ +io.github.zenwave360.zenwave-sdk.plugins:asyncapi-jsonschema2pojo:1.0.0.RC1,\ +io.github.zenwave360.zenwave-sdk.plugins:openapi-spring-webtestclient:1.0.0.RC1,\ +io.github.zenwave360.zenwave-sdk.plugins:openapi-rest-assured:1.0.0.RC1,\ +io.github.zenwave360.zenwave-sdk.plugins:jdl-backend-application-default:1.0.0.RC1,\ +io.github.zenwave360.zenwave-sdk.plugins:jdl-to-openapi:1.0.0.RC1,\ +io.github.zenwave360.zenwave-sdk.plugins:jdl-to-asyncapi:1.0.0.RC1,\ +io.github.zenwave360.zenwave-sdk.plugins:jdl-openapi-controllers:1.0.0.RC1 \ + io.github.zenwave360.zenwave-sdk:zenwave-sdk-cli:1.0.0.RC1 ``` You can include any **custom plugin** jars in the `--deps` option. @@ -129,8 +129,8 @@ JBang will use you maven settings for repository resolution, but you can also sp ## Building from source ```shell -git clone https://github.com/ZenWave360/zenwave-code-generator.git -cd zenwave-code-generator +git clone https://github.com/ZenWave360/zenwave-sdk.git +cd zenwave-sdk mvn clean install ``` @@ -204,7 +204,7 @@ jbang zw -p io.zenwave360.generator.plugins.ForkPlugin -h | `targetFolder` | | String | | | | `sourcePluginClassName` | Plugin Plugin class to fork | String | | | | `targetPluginClassName` | New Plugin Plugin class. It will be used for class name, package and maven groupId. | String | | | -| `downloadURL` | Download URL for the source code of original plugin in zip format | URL | https://github.com/ZenWave360/zenwave-code-generator/archive/refs/tags/v1.0.0.RC1.zip | | +| `downloadURL` | Download URL for the source code of original plugin in zip format | URL | https://github.com/ZenWave360/zenwave-sdk/archive/refs/tags/v1.0.0.RC1.zip | | Example: @@ -221,4 +221,4 @@ Now you can add this jar to the list of available plugins in [jbang install comm # ZenWave Code Generator Documentation -Please refer to the [documentation](https://zenwave360.github.io/zenwave-code-generator/) website for more information. +Please refer to the [documentation](https://zenwave360.github.io/zenwave-sdk/) website for more information. diff --git a/_config.yml b/_config.yml index 27c5777a..ece35360 100644 --- a/_config.yml +++ b/_config.yml @@ -8,7 +8,7 @@ search_enabled: true logo: "https://raw.githubusercontent.com/ZenWave360/.github/main/logos/code-generator/code-generator-logo-right-side-text.svg" aux_links: "See on GitHub": - - "//github.com/zenwave360/zenwave-code-generator" + - "//github.com/zenwave360/zenwave-sdk" ga_tracking: G-PWPE0ZF877 ga_tracking_anonymize_ip: true # Use GDPR compliant Google Analytics settings (true by default) diff --git a/docs/online.food.delivey-ddd.md.back b/docs/online.food.delivey-ddd.md.back index f7bc838d..a1d5538c 100644 --- a/docs/online.food.delivey-ddd.md.back +++ b/docs/online.food.delivey-ddd.md.back @@ -188,7 +188,7 @@ We will use **OpenAPI**, **AsyncAPI** and other specs to define the communicatio ### Access data owned by other bounded contexts: Direct Access, Event Sourcing and CQRS -- **Direct Access:** [Generates a full OpenAPI definitions for CRUD operations from JDL models](https://zenwave360.github.io/zenwave-code-generator/plugins/jdl-to-openapi/) +- **Direct Access:** [Generates a full OpenAPI definitions for CRUD operations from JDL models](https://zenwave360.github.io/zenwave-sdk/plugins/jdl-to-openapi/) - **Event Sourcing:** _TODO_ - from entities.jdl (aggregates) - generate AsyncAPI definition and SpringData event listeners with SpringCloudStreams client that writes event to a topic diff --git a/index.md b/index.md index 68b1e25b..2020f039 100644 --- a/index.md +++ b/index.md @@ -2,13 +2,13 @@ > 👉 ZenWave360 Helps You Create Software that's Easy to Understand -[![Maven Central](https://img.shields.io/maven-central/v/io.github.zenwave360.zenwave-code-generator/zenwave-code-generator.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.github.zenwave360.zenwave-code-generator/zenwave-code-generator) -[![GitHub release (latest by date)](https://img.shields.io/github/v/release/ZenWave360/zenwave-code-generator?logo=GitHub)](https://github.com/ZenWave360/zenwave-code-generator/releases) +[![Maven Central](https://img.shields.io/maven-central/v/io.github.zenwave360.zenwave-sdk/zenwave-sdk.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.github.zenwave360.zenwave-sdk/zenwave-sdk) +[![GitHub release (latest by date)](https://img.shields.io/github/v/release/ZenWave360/zenwave-sdk?logo=GitHub)](https://github.com/ZenWave360/zenwave-sdk/releases) ![General Availability](https://img.shields.io/badge/lifecycle-GA-green) -[![build](https://github.com/ZenWave360/zenwave-code-generator/workflows/build/badge.svg)](https://github.com/ZenWave360/zenwave-code-generator/actions/workflows/build.yml) -[![coverage](https://raw.githubusercontent.com/ZenWave360/zenwave-code-generator/badges/jacoco.svg)](https://github.com/ZenWave360/zenwave-code-generator/actions/workflows/build.yml) -[![branches coverage](https://raw.githubusercontent.com/ZenWave360/zenwave-code-generator/badges/branches.svg)](https://github.com/ZenWave360/zenwave-code-generator/actions/workflows/build.yml) -[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-code-generator)](https://github.com/ZenWave360/zenwave-code-generator/blob/main/LICENSE) +[![build](https://github.com/ZenWave360/zenwave-sdk/workflows/build/badge.svg)](https://github.com/ZenWave360/zenwave-sdk/actions/workflows/build.yml) +[![coverage](https://raw.githubusercontent.com/ZenWave360/zenwave-sdk/badges/jacoco.svg)](https://github.com/ZenWave360/zenwave-sdk/actions/workflows/build.yml) +[![branches coverage](https://raw.githubusercontent.com/ZenWave360/zenwave-sdk/badges/branches.svg)](https://github.com/ZenWave360/zenwave-sdk/actions/workflows/build.yml) +[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-sdk)](https://github.com/ZenWave360/zenwave-sdk/blob/main/LICENSE) ## Domain Driven Design (DDD) and API-First for Event Driven Microservices @@ -26,15 +26,15 @@ Using JHipster Domain Language as **Ubiquitous Language** for **Data on the Insi - **API-First specs like AsyncAPI and OpenAPI:** to describe Inter Process Communications (IPC) between bounded contexts/microservices. - **ZenWave Code Generator:** to generate (_a lot of_) infrastructure, functional and testing code from your models and APIs. -ZenWave Code Generator is designed to be easily extensible and adaptable to your project or your organization needs and likes. You can always [fork an existing, standard or custom plugin](https://github.com/ZenWave360/zenwave-code-generator/#forking-an-standard-or-custom-plugin). +ZenWave Code Generator is designed to be easily extensible and adaptable to your project or your organization needs and likes. You can always [fork an existing, standard or custom plugin](https://github.com/ZenWave360/zenwave-sdk/#forking-an-standard-or-custom-plugin). You can install the latest release using [jbang](https://www.jbang.dev) running the following command: ```shell -jbang alias add --fresh --name=zw release@zenwave360/zenwave-code-generator +jbang alias add --fresh --name=zw release@zenwave360/zenwave-sdk ``` -Please refer to [**ZenWave Code Generator**](https://github.com/ZenWave360/zenwave-code-generator/) for more detailed installation options. +Please refer to [**ZenWave Code Generator**](https://github.com/ZenWave360/zenwave-sdk/) for more detailed installation options. **Note:** Official plugins are designed to generate functional code and tests on top of existing projects. Creating a base project is out of scope, but you can always go to [start.spring.io](http://start.spring.io) or [start.jhipster.tech](https://start.jhipster.tech/), in case your company doesn't already have a project starter or archetype. @@ -62,7 +62,7 @@ In this way all team members: **Domain Experts**, **Product Owners**, **Software ## Table of Contents -- [ZenWave Code Generator](#zenwave-code-generator) +- [ZenWave Code Generator](#zenwave-sdk) - [Domain Driven Design (DDD) and API-First for Event Driven Microservices](#domain-driven-design-ddd-and-api-first-for-event-driven-microservices) - [Not (just) a Code Generator](#not-just-a-code-generator) - [Why Domain Driven Design?](#why-domain-driven-design) @@ -355,8 +355,8 @@ jbang zw -p io.zenwave360.generator.plugins.JDLToAsyncAPIPlugin \ ```xml - io.github.zenwave360.zenwave-code-generator - zenwave-code-generator-maven-plugin + io.github.zenwave360.zenwave-sdk + zenwave-sdk-maven-plugin ${zenwave.version} false @@ -368,12 +368,12 @@ jbang zw -p io.zenwave360.generator.plugins.JDLToAsyncAPIPlugin \ - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins asyncapi-spring-cloud-streams3 ${zenwave.version} - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins asyncapi-jsonschema2pojo ${zenwave.version} diff --git a/jbang-catalog.json b/jbang-catalog.json index 5dd2dd5d..a43b263f 100644 --- a/jbang-catalog.json +++ b/jbang-catalog.json @@ -2,32 +2,32 @@ "catalogs": {}, "aliases": { "release": { - "script-ref": "io.github.zenwave360.zenwave-code-generator:zenwave-code-generator-cli:RELEASE", + "script-ref": "io.github.zenwave360.zenwave-sdk:zenwave-sdk-cli:RELEASE", "dependencies": [ "org.slf4j:slf4j-simple:1.7.36", - "io.github.zenwave360.zenwave-code-generator.plugins:asyncapi-spring-cloud-streams3:RELEASE", - "io.github.zenwave360.zenwave-code-generator.plugins:asyncapi-jsonschema2pojo:RELEASE", - "io.github.zenwave360.zenwave-code-generator.plugins:openapi-spring-webtestclient:RELEASE", - "io.github.zenwave360.zenwave-code-generator.plugins:openapi-rest-assured:RELEASE", - "io.github.zenwave360.zenwave-code-generator.plugins:jdl-backend-application-default:RELEASE", - "io.github.zenwave360.zenwave-code-generator.plugins:jdl-to-openapi:RELEASE", - "io.github.zenwave360.zenwave-code-generator.plugins:jdl-to-asyncapi:RELEASE", - "io.github.zenwave360.zenwave-code-generator.plugins:jdl-openapi-controllers:RELEASE" + "io.github.zenwave360.zenwave-sdk.plugins:asyncapi-spring-cloud-streams3:RELEASE", + "io.github.zenwave360.zenwave-sdk.plugins:asyncapi-jsonschema2pojo:RELEASE", + "io.github.zenwave360.zenwave-sdk.plugins:openapi-spring-webtestclient:RELEASE", + "io.github.zenwave360.zenwave-sdk.plugins:openapi-rest-assured:RELEASE", + "io.github.zenwave360.zenwave-sdk.plugins:jdl-backend-application-default:RELEASE", + "io.github.zenwave360.zenwave-sdk.plugins:jdl-to-openapi:RELEASE", + "io.github.zenwave360.zenwave-sdk.plugins:jdl-to-asyncapi:RELEASE", + "io.github.zenwave360.zenwave-sdk.plugins:jdl-openapi-controllers:RELEASE" ], "main": "io.zenwave360.generator.Main" }, "snapshots": { - "script-ref": "io.github.zenwave360.zenwave-code-generator:zenwave-code-generator-cli:1.0.0.RC1", + "script-ref": "io.github.zenwave360.zenwave-sdk:zenwave-sdk-cli:1.0.0.RC1", "dependencies": [ "org.slf4j:slf4j-simple:1.7.36", - "io.github.zenwave360.zenwave-code-generator.plugins:asyncapi-spring-cloud-streams3:1.0.0.RC1", - "io.github.zenwave360.zenwave-code-generator.plugins:asyncapi-jsonschema2pojo:1.0.0.RC1", - "io.github.zenwave360.zenwave-code-generator.plugins:openapi-spring-webtestclient:1.0.0.RC1", - "io.github.zenwave360.zenwave-code-generator.plugins:openapi-rest-assured:1.0.0.RC1", - "io.github.zenwave360.zenwave-code-generator.plugins:jdl-backend-application-default:1.0.0.RC1", - "io.github.zenwave360.zenwave-code-generator.plugins:jdl-to-openapi:1.0.0.RC1", - "io.github.zenwave360.zenwave-code-generator.plugins:jdl-to-asyncapi:1.0.0.RC1", - "io.github.zenwave360.zenwave-code-generator.plugins:jdl-openapi-controllers:1.0.0.RC1" + "io.github.zenwave360.zenwave-sdk.plugins:asyncapi-spring-cloud-streams3:1.0.0.RC1", + "io.github.zenwave360.zenwave-sdk.plugins:asyncapi-jsonschema2pojo:1.0.0.RC1", + "io.github.zenwave360.zenwave-sdk.plugins:openapi-spring-webtestclient:1.0.0.RC1", + "io.github.zenwave360.zenwave-sdk.plugins:openapi-rest-assured:1.0.0.RC1", + "io.github.zenwave360.zenwave-sdk.plugins:jdl-backend-application-default:1.0.0.RC1", + "io.github.zenwave360.zenwave-sdk.plugins:jdl-to-openapi:1.0.0.RC1", + "io.github.zenwave360.zenwave-sdk.plugins:jdl-to-asyncapi:1.0.0.RC1", + "io.github.zenwave360.zenwave-sdk.plugins:jdl-openapi-controllers:1.0.0.RC1" ], "repositories": [ "mavencentral", diff --git a/plugins/asyncapi-jsonschema2pojo/README.md b/plugins/asyncapi-jsonschema2pojo/README.md index 24bcc62e..47ab3fb1 100644 --- a/plugins/asyncapi-jsonschema2pojo/README.md +++ b/plugins/asyncapi-jsonschema2pojo/README.md @@ -1,8 +1,8 @@ # AsyncAPI and JsonSchema2Pojo (with maven plugin) > 👉 ZenWave360 Helps You Create Software that's Easy to Understand -[![Maven Central](https://img.shields.io/maven-central/v/io.github.zenwave360.zenwave-code-generator/zenwave-code-generator.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.github.zenwave360.zenwave-code-generator/zenwave-code-generator) -[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-code-generator)](https://github.com/ZenWave360/zenwave-code-generator/blob/main/LICENSE) +[![Maven Central](https://img.shields.io/maven-central/v/io.github.zenwave360.zenwave-sdk/zenwave-sdk.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.github.zenwave360.zenwave-sdk/zenwave-sdk) +[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-sdk)](https://github.com/ZenWave360/zenwave-sdk/blob/main/LICENSE) Generate Plain Old Java Objects from OpenAPI/AsyncAPI schemas or full JSON-Schema files using https://www.jsonschema2pojo.org/ library. @@ -48,8 +48,8 @@ Use jsonschema2pojo prefix to pass any option to https://www.jsonschema2pojo.org ```xml - io.github.zenwave360.zenwave-code-generator - zenwave-code-generator-maven-plugin + io.github.zenwave360.zenwave-sdk + zenwave-sdk-maven-plugin ${zenwave.version} @@ -71,7 +71,7 @@ Use jsonschema2pojo prefix to pass any option to https://www.jsonschema2pojo.org - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins asyncapi-jsonschema2pojo ${zenwave.version} diff --git a/plugins/asyncapi-jsonschema2pojo/pom.xml b/plugins/asyncapi-jsonschema2pojo/pom.xml index 46f1536d..a2022e81 100644 --- a/plugins/asyncapi-jsonschema2pojo/pom.xml +++ b/plugins/asyncapi-jsonschema2pojo/pom.xml @@ -2,12 +2,12 @@ 4.0.0 - io.github.zenwave360.zenwave-code-generator + io.github.zenwave360.zenwave-sdk plugins-parent 1.0.0-SNAPSHOT ${project.groupId}:${project.artifactId} - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins asyncapi-jsonschema2pojo jar diff --git a/plugins/asyncapi-spring-cloud-streams3/README.md b/plugins/asyncapi-spring-cloud-streams3/README.md index aa15eabd..3c1f92ac 100644 --- a/plugins/asyncapi-spring-cloud-streams3/README.md +++ b/plugins/asyncapi-spring-cloud-streams3/README.md @@ -1,8 +1,8 @@ # AsyncAPI and Spring Cloud Stream 3 > 👉 ZenWave360 Helps You Create Software that's Easy to Understand -[![Maven Central](https://img.shields.io/maven-central/v/io.github.zenwave360.zenwave-code-generator/zenwave-code-generator.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.github.zenwave360.zenwave-code-generator/zenwave-code-generator) -[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-code-generator)](https://github.com/ZenWave360/zenwave-code-generator/blob/main/LICENSE) +[![Maven Central](https://img.shields.io/maven-central/v/io.github.zenwave360.zenwave-sdk/zenwave-sdk.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.github.zenwave360.zenwave-sdk/zenwave-sdk) +[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-sdk)](https://github.com/ZenWave360/zenwave-sdk/blob/main/LICENSE) ![AsyncAPI and Spring Cloud Streams 3](../../docs/ZenWave360-AsyncAPI-SpringCloudStreams.excalidraw.svg) @@ -325,8 +325,8 @@ You can use ZenWave Maven Plugin to generate code as part of your build process: ```xml - io.github.zenwave360.zenwave-code-generator - zenwave-code-generator-maven-plugin + io.github.zenwave360.zenwave-sdk + zenwave-sdk-maven-plugin ${zenwave.version} true @@ -353,12 +353,12 @@ You can use ZenWave Maven Plugin to generate code as part of your build process: - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins asyncapi-spring-cloud-streams3 ${zenwave.version} - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins asyncapi-jsonschema2pojo ${zenwave.version} diff --git a/plugins/asyncapi-spring-cloud-streams3/pom.xml b/plugins/asyncapi-spring-cloud-streams3/pom.xml index 4f2a8394..8ea88c5d 100644 --- a/plugins/asyncapi-spring-cloud-streams3/pom.xml +++ b/plugins/asyncapi-spring-cloud-streams3/pom.xml @@ -2,12 +2,12 @@ 4.0.0 - io.github.zenwave360.zenwave-code-generator + io.github.zenwave360.zenwave-sdk plugins-parent 1.0.0-SNAPSHOT ${project.groupId}:${project.artifactId} - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins asyncapi-spring-cloud-streams3 jar diff --git a/plugins/java-to-jdl/README.md b/plugins/java-to-jdl/README.md index a1e9d727..b78888e5 100644 --- a/plugins/java-to-jdl/README.md +++ b/plugins/java-to-jdl/README.md @@ -7,7 +7,7 @@ Inspecting your java classes requires access to your project classpath. Add this ```xml - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins java-to-jdl ${zenwave.version} diff --git a/plugins/java-to-jdl/pom.xml b/plugins/java-to-jdl/pom.xml index cf9a9406..75f98a26 100644 --- a/plugins/java-to-jdl/pom.xml +++ b/plugins/java-to-jdl/pom.xml @@ -2,12 +2,12 @@ 4.0.0 - io.github.zenwave360.zenwave-code-generator + io.github.zenwave360.zenwave-sdk plugins-parent 1.0.0-SNAPSHOT ${project.groupId}:${project.artifactId} - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins java-to-jdl jar diff --git a/plugins/jdl-backend-application-default/pom.xml b/plugins/jdl-backend-application-default/pom.xml index db4746e5..80be7dcb 100644 --- a/plugins/jdl-backend-application-default/pom.xml +++ b/plugins/jdl-backend-application-default/pom.xml @@ -2,12 +2,12 @@ 4.0.0 - io.github.zenwave360.zenwave-code-generator + io.github.zenwave360.zenwave-sdk plugins-parent 1.0.0-SNAPSHOT ${project.groupId}:${project.artifactId} - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins jdl-backend-application-default jar diff --git a/plugins/jdl-openapi-controllers/pom.xml b/plugins/jdl-openapi-controllers/pom.xml index 50a38656..c8fda5e0 100644 --- a/plugins/jdl-openapi-controllers/pom.xml +++ b/plugins/jdl-openapi-controllers/pom.xml @@ -2,12 +2,12 @@ 4.0.0 - io.github.zenwave360.zenwave-code-generator + io.github.zenwave360.zenwave-sdk plugins-parent 1.0.0-SNAPSHOT ${project.groupId}:${project.artifactId} - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins jdl-openapi-controllers jar diff --git a/plugins/jdl-to-asyncapi/pom.xml b/plugins/jdl-to-asyncapi/pom.xml index 0e3eb7a5..8c0d1c61 100644 --- a/plugins/jdl-to-asyncapi/pom.xml +++ b/plugins/jdl-to-asyncapi/pom.xml @@ -2,12 +2,12 @@ 4.0.0 - io.github.zenwave360.zenwave-code-generator + io.github.zenwave360.zenwave-sdk plugins-parent 1.0.0-SNAPSHOT ${project.groupId}:${project.artifactId} - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins jdl-to-asyncapi jar diff --git a/plugins/jdl-to-openapi/pom.xml b/plugins/jdl-to-openapi/pom.xml index 53d6d96a..21f19e53 100644 --- a/plugins/jdl-to-openapi/pom.xml +++ b/plugins/jdl-to-openapi/pom.xml @@ -2,12 +2,12 @@ 4.0.0 - io.github.zenwave360.zenwave-code-generator + io.github.zenwave360.zenwave-sdk plugins-parent 1.0.0-SNAPSHOT ${project.groupId}:${project.artifactId} - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins jdl-to-openapi jar diff --git a/plugins/openapi-pact-consumer/pom.xml b/plugins/openapi-pact-consumer/pom.xml index 9e118074..decf6159 100644 --- a/plugins/openapi-pact-consumer/pom.xml +++ b/plugins/openapi-pact-consumer/pom.xml @@ -2,7 +2,7 @@ 4.0.0 - io.github.zenwave360.zenwave-code-generator + io.github.zenwave360.zenwave-sdk plugins-parent 0.9.3-SNAPSHOT diff --git a/plugins/openapi-rest-assured/pom.xml b/plugins/openapi-rest-assured/pom.xml index cfd26905..0d1fc05c 100644 --- a/plugins/openapi-rest-assured/pom.xml +++ b/plugins/openapi-rest-assured/pom.xml @@ -2,12 +2,12 @@ 4.0.0 - io.github.zenwave360.zenwave-code-generator + io.github.zenwave360.zenwave-sdk plugins-parent 1.0.0-SNAPSHOT ${project.groupId}:${project.artifactId} - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins openapi-rest-assured jar diff --git a/plugins/openapi-rest-assured/src/test/java/io/zenwave360/generator/plugins/RestAssuredGeneratorTest.java b/plugins/openapi-rest-assured/src/test/java/io/zenwave360/generator/plugins/RestAssuredGeneratorTest.java index 7a0baa9f..785a75b1 100644 --- a/plugins/openapi-rest-assured/src/test/java/io/zenwave360/generator/plugins/RestAssuredGeneratorTest.java +++ b/plugins/openapi-rest-assured/src/test/java/io/zenwave360/generator/plugins/RestAssuredGeneratorTest.java @@ -20,7 +20,7 @@ public class RestAssuredGeneratorTest { - private static final String OPENAPI_RESOURCES = "../../../../zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/"; + private static final String OPENAPI_RESOURCES = "../../../../zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/"; private Map loadApiModelFromResource(String resource) throws Exception { Map model = new DefaultYamlParser().withSpecFile(URI.create(resource)).parse(); diff --git a/plugins/openapi-spring-webtestclient/pom.xml b/plugins/openapi-spring-webtestclient/pom.xml index e31f4a00..fde42d3b 100644 --- a/plugins/openapi-spring-webtestclient/pom.xml +++ b/plugins/openapi-spring-webtestclient/pom.xml @@ -2,12 +2,12 @@ 4.0.0 - io.github.zenwave360.zenwave-code-generator + io.github.zenwave360.zenwave-sdk plugins-parent 1.0.0-SNAPSHOT ${project.groupId}:${project.artifactId} - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins openapi-spring-webtestclient jar diff --git a/plugins/openapi-spring-webtestclient/src/test/java/io/zenwave360/generator/plugins/SpringWebTestClientGeneratorTest.java b/plugins/openapi-spring-webtestclient/src/test/java/io/zenwave360/generator/plugins/SpringWebTestClientGeneratorTest.java index 2d367d90..3e17b887 100644 --- a/plugins/openapi-spring-webtestclient/src/test/java/io/zenwave360/generator/plugins/SpringWebTestClientGeneratorTest.java +++ b/plugins/openapi-spring-webtestclient/src/test/java/io/zenwave360/generator/plugins/SpringWebTestClientGeneratorTest.java @@ -24,7 +24,7 @@ public class SpringWebTestClientGeneratorTest { - private static final String OPENAPI_RESOURCES = "../../../../zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/"; + private static final String OPENAPI_RESOURCES = "../../../../zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/"; private Map loadApiModelFromResource(String resource) throws Exception { Map model = new DefaultYamlParser().withSpecFile(URI.create(resource)).parse(); diff --git a/plugins/pom.xml b/plugins/pom.xml index e1dd6fc6..4ad74246 100644 --- a/plugins/pom.xml +++ b/plugins/pom.xml @@ -2,8 +2,8 @@ 4.0.0 - io.github.zenwave360.zenwave-code-generator - zenwave-code-generator + io.github.zenwave360.zenwave-sdk + zenwave-sdk 1.0.0-SNAPSHOT ${project.groupId}:${project.artifactId} @@ -12,13 +12,13 @@ - io.github.zenwave360.zenwave-code-generator - zenwave-code-generator-cli + io.github.zenwave360.zenwave-sdk + zenwave-sdk-cli ${project.version} - io.github.zenwave360.zenwave-code-generator - zenwave-code-generator-test-resources + io.github.zenwave360.zenwave-sdk + zenwave-sdk-test-resources ${project.version} test diff --git a/pom.xml b/pom.xml index e6a7c3e3..df85ec67 100644 --- a/pom.xml +++ b/pom.xml @@ -1,14 +1,14 @@ 4.0.0 - io.github.zenwave360.zenwave-code-generator - zenwave-code-generator + io.github.zenwave360.zenwave-sdk + zenwave-sdk 1.0.0-SNAPSHOT pom ${project.groupId}:${project.artifactId} Extensible code generation framework for JSON/YAML models and specifications. - https://github.com/ZenWave360/zenwave-code-generator + https://github.com/ZenWave360/zenwave-sdk @@ -40,9 +40,9 @@ - scm:git:git://github.com/ZenWave360/zenwave-code-generator.git - scm:git:git@github.com:ZenWave360/zenwave-code-generator.git - https://github.com/ZenWave360/zenwave-code-generator + scm:git:git://github.com/ZenWave360/zenwave-sdk.git + scm:git:git@github.com:ZenWave360/zenwave-sdk.git + https://github.com/ZenWave360/zenwave-sdk HEAD @@ -91,10 +91,10 @@ - zenwave-code-generator-test-resources - zenwave-code-generator-cli + zenwave-sdk-test-resources + zenwave-sdk-cli plugins - zenwave-code-generator-maven-plugin + zenwave-sdk-maven-plugin diff --git a/zenwave-code-generator-cli/pom.xml b/zenwave-sdk-cli/pom.xml similarity index 92% rename from zenwave-code-generator-cli/pom.xml rename to zenwave-sdk-cli/pom.xml index 16a4a66a..2191ae4e 100644 --- a/zenwave-code-generator-cli/pom.xml +++ b/zenwave-sdk-cli/pom.xml @@ -2,11 +2,11 @@ 4.0.0 - zenwave-code-generator - io.github.zenwave360.zenwave-code-generator + zenwave-sdk + io.github.zenwave360.zenwave-sdk 1.0.0-SNAPSHOT - zenwave-code-generator-cli + zenwave-sdk-cli ${project.groupId}:${project.artifactId} @@ -71,7 +71,7 @@ ${project.groupId} - zenwave-code-generator-test-resources + zenwave-sdk-test-resources ${project.version} test diff --git a/zenwave-code-generator-cli/src/main/java/com/google/googlejavaformat/java/CustomFormatter.java b/zenwave-sdk-cli/src/main/java/com/google/googlejavaformat/java/CustomFormatter.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/com/google/googlejavaformat/java/CustomFormatter.java rename to zenwave-sdk-cli/src/main/java/com/google/googlejavaformat/java/CustomFormatter.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/Help.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/Help.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/Help.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/Help.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/Main.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/Main.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/Main.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/Main.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/MainGenerator.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/MainGenerator.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/MainGenerator.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/MainGenerator.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/Plugin.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/Plugin.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/Plugin.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/Plugin.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/doc/DocumentedOption.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/doc/DocumentedOption.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/doc/DocumentedOption.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/doc/DocumentedOption.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/doc/DocumentedPlugin.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/doc/DocumentedPlugin.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/doc/DocumentedPlugin.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/doc/DocumentedPlugin.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/doc/PluginAnnotationProcessor.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/doc/PluginAnnotationProcessor.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/doc/PluginAnnotationProcessor.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/doc/PluginAnnotationProcessor.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/formatters/Formatter.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/formatters/Formatter.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/formatters/Formatter.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/formatters/Formatter.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/formatters/JavaFormatter.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/formatters/JavaFormatter.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/formatters/JavaFormatter.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/formatters/JavaFormatter.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/generators/AbstractAsyncapiGenerator.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/generators/AbstractAsyncapiGenerator.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/generators/AbstractAsyncapiGenerator.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/generators/AbstractAsyncapiGenerator.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/generators/AbstractJDLGenerator.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/generators/AbstractJDLGenerator.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/generators/AbstractJDLGenerator.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/generators/AbstractJDLGenerator.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/generators/AbstractOpenAPIGenerator.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/generators/AbstractOpenAPIGenerator.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/generators/AbstractOpenAPIGenerator.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/generators/AbstractOpenAPIGenerator.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/generators/Generator.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/generators/Generator.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/generators/Generator.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/generators/Generator.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/generators/JDLEntitiesToAvroConverter.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/generators/JDLEntitiesToAvroConverter.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/generators/JDLEntitiesToAvroConverter.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/generators/JDLEntitiesToAvroConverter.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/generators/JDLEntitiesToSchemasConverter.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/generators/JDLEntitiesToSchemasConverter.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/generators/JDLEntitiesToSchemasConverter.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/generators/JDLEntitiesToSchemasConverter.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/CONVENTIONS.txt b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/CONVENTIONS.txt similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/CONVENTIONS.txt rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/CONVENTIONS.txt diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/DatabaseType.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/DatabaseType.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/DatabaseType.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/DatabaseType.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/PersistenceType.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/PersistenceType.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/PersistenceType.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/PersistenceType.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/ProgrammingStyle.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/ProgrammingStyle.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/ProgrammingStyle.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/ProgrammingStyle.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/WebFlavorType.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/WebFlavorType.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/WebFlavorType.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/WebFlavorType.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/asyncapi/AsyncapiOperationType.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/asyncapi/AsyncapiOperationType.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/asyncapi/AsyncapiOperationType.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/asyncapi/AsyncapiOperationType.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/asyncapi/AsyncapiRoleType.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/asyncapi/AsyncapiRoleType.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/options/asyncapi/AsyncapiRoleType.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/options/asyncapi/AsyncapiRoleType.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/parsers/DefaultYamlParser.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/parsers/DefaultYamlParser.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/parsers/DefaultYamlParser.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/parsers/DefaultYamlParser.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/parsers/GraphQLParser.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/parsers/GraphQLParser.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/parsers/GraphQLParser.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/parsers/GraphQLParser.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/parsers/JDLParser.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/parsers/JDLParser.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/parsers/JDLParser.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/parsers/JDLParser.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/parsers/Model.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/parsers/Model.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/parsers/Model.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/parsers/Model.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/parsers/Parser.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/parsers/Parser.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/parsers/Parser.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/parsers/Parser.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/plugins/ForkPlugin.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/plugins/ForkPlugin.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/plugins/ForkPlugin.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/plugins/ForkPlugin.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/plugins/ForkPluginGenerator.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/plugins/ForkPluginGenerator.java similarity index 98% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/plugins/ForkPluginGenerator.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/plugins/ForkPluginGenerator.java index 0c961445..8ce36d79 100644 --- a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/plugins/ForkPluginGenerator.java +++ b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/plugins/ForkPluginGenerator.java @@ -41,7 +41,7 @@ public class ForkPluginGenerator implements Generator { public String targetPluginClassName; @DocumentedOption(description = "Download URL for the source code of original plugin in zip format", required = false) - public URL downloadURL = new URL("https://github.com/ZenWave360/zenwave-code-generator/archive/refs/tags/v1.0.0.RC1.zip"); + public URL downloadURL = new URL("https://github.com/ZenWave360/zenwave-sdk/archive/refs/tags/v1.0.0.RC1.zip"); @DocumentedOption public String targetFolder; @@ -264,14 +264,14 @@ protected void deleteEmptyFolders(File root) throws IOException { } protected File download(URL downloadURL) throws IOException { - File zipFile = File.createTempFile("zenwave-code-generator-repo-", ".zip"); + File zipFile = File.createTempFile("zenwave-sdk-repo-", ".zip"); log.debug("Downloading {} to {}", downloadURL, zipFile.getAbsoluteFile()); FileUtils.copyURLToFile(downloadURL, zipFile); return zipFile; } protected File uncompress(File zipFile) throws IOException { - File outputDir = File.createTempFile("zenwave-code-generator-repo-", ""); + File outputDir = File.createTempFile("zenwave-sdk-repo-", ""); outputDir.delete(); outputDir.mkdir(); log.debug("Uncompressing {} to {}", zipFile, outputDir); diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/AbstractBaseProcessor.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/AbstractBaseProcessor.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/AbstractBaseProcessor.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/AbstractBaseProcessor.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/AsyncApiProcessor.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/AsyncApiProcessor.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/AsyncApiProcessor.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/AsyncApiProcessor.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/EnrichAsyncAPIWithJDLProcessor.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/EnrichAsyncAPIWithJDLProcessor.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/EnrichAsyncAPIWithJDLProcessor.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/EnrichAsyncAPIWithJDLProcessor.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/EnrichOpenAPIWithJDLProcessor.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/EnrichOpenAPIWithJDLProcessor.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/EnrichOpenAPIWithJDLProcessor.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/EnrichOpenAPIWithJDLProcessor.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/EnrichSchemaWithJDLProcessor.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/EnrichSchemaWithJDLProcessor.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/EnrichSchemaWithJDLProcessor.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/EnrichSchemaWithJDLProcessor.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/JDLDummyDataFromSchemasProcessor.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/JDLDummyDataFromSchemasProcessor.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/JDLDummyDataFromSchemasProcessor.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/JDLDummyDataFromSchemasProcessor.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/JDLProcessor.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/JDLProcessor.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/JDLProcessor.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/JDLProcessor.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/OpenApiProcessor.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/OpenApiProcessor.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/OpenApiProcessor.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/OpenApiProcessor.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/Processor.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/Processor.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/processors/Processor.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/processors/Processor.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/templating/CustomHandlebarsHelpers.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/templating/CustomHandlebarsHelpers.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/templating/CustomHandlebarsHelpers.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/templating/CustomHandlebarsHelpers.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/templating/HandlebarsEngine.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/templating/HandlebarsEngine.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/templating/HandlebarsEngine.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/templating/HandlebarsEngine.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/templating/OutputFormatType.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/templating/OutputFormatType.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/templating/OutputFormatType.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/templating/OutputFormatType.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/templating/TemplateEngine.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/templating/TemplateEngine.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/templating/TemplateEngine.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/templating/TemplateEngine.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/templating/TemplateInput.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/templating/TemplateInput.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/templating/TemplateInput.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/templating/TemplateInput.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/templating/TemplateOutput.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/templating/TemplateOutput.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/templating/TemplateOutput.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/templating/TemplateOutput.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/utils/CommaSeparatedCollectionDeserializationHandler.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/utils/CommaSeparatedCollectionDeserializationHandler.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/utils/CommaSeparatedCollectionDeserializationHandler.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/utils/CommaSeparatedCollectionDeserializationHandler.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/utils/DataFaker.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/utils/DataFaker.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/utils/DataFaker.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/utils/DataFaker.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/utils/JSONPath.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/utils/JSONPath.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/utils/JSONPath.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/utils/JSONPath.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/utils/Lists.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/utils/Lists.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/utils/Lists.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/utils/Lists.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/utils/Maps.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/utils/Maps.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/utils/Maps.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/utils/Maps.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/utils/NamingUtils.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/utils/NamingUtils.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/utils/NamingUtils.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/utils/NamingUtils.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/writers/TemplateFileWriter.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/writers/TemplateFileWriter.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/writers/TemplateFileWriter.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/writers/TemplateFileWriter.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/writers/TemplateStdoutWriter.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/writers/TemplateStdoutWriter.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/writers/TemplateStdoutWriter.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/writers/TemplateStdoutWriter.java diff --git a/zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/writers/TemplateWriter.java b/zenwave-sdk-cli/src/main/java/io/zenwave360/generator/writers/TemplateWriter.java similarity index 100% rename from zenwave-code-generator-cli/src/main/java/io/zenwave360/generator/writers/TemplateWriter.java rename to zenwave-sdk-cli/src/main/java/io/zenwave360/generator/writers/TemplateWriter.java diff --git a/zenwave-code-generator-cli/src/main/resources/io/zenwave360/generator/help/detailed.hbs b/zenwave-sdk-cli/src/main/resources/io/zenwave360/generator/help/detailed.hbs similarity index 100% rename from zenwave-code-generator-cli/src/main/resources/io/zenwave360/generator/help/detailed.hbs rename to zenwave-sdk-cli/src/main/resources/io/zenwave360/generator/help/detailed.hbs diff --git a/zenwave-code-generator-cli/src/main/resources/io/zenwave360/generator/help/help.hbs b/zenwave-sdk-cli/src/main/resources/io/zenwave360/generator/help/help.hbs similarity index 100% rename from zenwave-code-generator-cli/src/main/resources/io/zenwave360/generator/help/help.hbs rename to zenwave-sdk-cli/src/main/resources/io/zenwave360/generator/help/help.hbs diff --git a/zenwave-code-generator-cli/src/main/resources/io/zenwave360/generator/help/list.hbs b/zenwave-sdk-cli/src/main/resources/io/zenwave360/generator/help/list.hbs similarity index 100% rename from zenwave-code-generator-cli/src/main/resources/io/zenwave360/generator/help/list.hbs rename to zenwave-sdk-cli/src/main/resources/io/zenwave360/generator/help/list.hbs diff --git a/zenwave-code-generator-cli/src/main/resources/io/zenwave360/generator/help/markdown.hbs b/zenwave-sdk-cli/src/main/resources/io/zenwave360/generator/help/markdown.hbs similarity index 100% rename from zenwave-code-generator-cli/src/main/resources/io/zenwave360/generator/help/markdown.hbs rename to zenwave-sdk-cli/src/main/resources/io/zenwave360/generator/help/markdown.hbs diff --git a/zenwave-code-generator-cli/src/main/resources/simplelogger.properties b/zenwave-sdk-cli/src/main/resources/simplelogger.properties similarity index 100% rename from zenwave-code-generator-cli/src/main/resources/simplelogger.properties rename to zenwave-sdk-cli/src/main/resources/simplelogger.properties diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/HelpTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/HelpTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/HelpTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/HelpTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/MainGeneratorTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/MainGeneratorTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/MainGeneratorTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/MainGeneratorTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/MainTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/MainTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/MainTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/MainTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/PluginTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/PluginTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/PluginTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/PluginTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/generators/AbstractAsyncapiGeneratorTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/generators/AbstractAsyncapiGeneratorTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/generators/AbstractAsyncapiGeneratorTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/generators/AbstractAsyncapiGeneratorTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/generators/AbstractJDLGeneratorTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/generators/AbstractJDLGeneratorTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/generators/AbstractJDLGeneratorTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/generators/AbstractJDLGeneratorTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/generators/AbstractOpenAPIGeneratorTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/generators/AbstractOpenAPIGeneratorTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/generators/AbstractOpenAPIGeneratorTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/generators/AbstractOpenAPIGeneratorTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/generators/JDLEntitiesToAvroConverterTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/generators/JDLEntitiesToAvroConverterTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/generators/JDLEntitiesToAvroConverterTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/generators/JDLEntitiesToAvroConverterTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/generators/JDLEntitiesToSchemasConverterTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/generators/JDLEntitiesToSchemasConverterTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/generators/JDLEntitiesToSchemasConverterTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/generators/JDLEntitiesToSchemasConverterTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/parsers/DefaultYamlParserTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/parsers/DefaultYamlParserTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/parsers/DefaultYamlParserTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/parsers/DefaultYamlParserTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/parsers/GraphQLParserTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/parsers/GraphQLParserTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/parsers/GraphQLParserTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/parsers/GraphQLParserTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/parsers/JDLParserTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/parsers/JDLParserTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/parsers/JDLParserTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/parsers/JDLParserTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/plugins/ForkPluginGeneratorTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/plugins/ForkPluginGeneratorTest.java similarity index 90% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/plugins/ForkPluginGeneratorTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/plugins/ForkPluginGeneratorTest.java index ab98563a..196ce44b 100644 --- a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/plugins/ForkPluginGeneratorTest.java +++ b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/plugins/ForkPluginGeneratorTest.java @@ -3,14 +3,16 @@ import java.net.MalformedURLException; import java.net.URL; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; +@Disabled public class ForkPluginGeneratorTest { @Test public void testFork_JDLApplicationDefault() throws MalformedURLException { ForkPluginGenerator plugin = new ForkPluginGenerator(); - plugin.downloadURL = new URL("https://github.com/ZenWave360/zenwave-code-generator/archive/refs/heads/main.zip"); + plugin.downloadURL = new URL("https://github.com/ZenWave360/zenwave-sdk/archive/refs/heads/main.zip"); plugin.sourcePluginClassName = "io.zenwave360.generator.plugins.JDLBackendApplicationDefaultPlugin"; plugin.targetPluginClassName = "io.zenwave360.generator.plugins.forked.JDLBackendApplicationDefaultPluginForked"; plugin.targetFolder = "target/forked" + System.currentTimeMillis(); @@ -20,7 +22,7 @@ public void testFork_JDLApplicationDefault() throws MalformedURLException { @Test public void testFork_JDLApplicationDefault_SamePackage() throws MalformedURLException { ForkPluginGenerator plugin = new ForkPluginGenerator(); - plugin.downloadURL = new URL("https://github.com/ZenWave360/zenwave-code-generator/archive/refs/heads/main.zip"); + plugin.downloadURL = new URL("https://github.com/ZenWave360/zenwave-sdk/archive/refs/heads/main.zip"); plugin.sourcePluginClassName = "io.zenwave360.generator.plugins.JDLBackendApplicationDefaultPlugin"; plugin.targetPluginClassName = "io.zenwave360.generator.plugins.JDLBackendApplicationDefaultPluginForked"; plugin.targetFolder = "target/forked" + System.currentTimeMillis(); diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/plugins/NoOpGenerator.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/plugins/NoOpGenerator.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/plugins/NoOpGenerator.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/plugins/NoOpGenerator.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/plugins/NoOpPluginConfiguration.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/plugins/NoOpPluginConfiguration.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/plugins/NoOpPluginConfiguration.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/plugins/NoOpPluginConfiguration.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/processors/AsyncApiProcessorTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/processors/AsyncApiProcessorTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/processors/AsyncApiProcessorTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/processors/AsyncApiProcessorTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/processors/JDLDummyDataFromSchemasProcessorTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/processors/JDLDummyDataFromSchemasProcessorTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/processors/JDLDummyDataFromSchemasProcessorTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/processors/JDLDummyDataFromSchemasProcessorTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/processors/JDLProcessorTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/processors/JDLProcessorTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/processors/JDLProcessorTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/processors/JDLProcessorTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/processors/JDLWithOpenApiProcessorTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/processors/JDLWithOpenApiProcessorTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/processors/JDLWithOpenApiProcessorTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/processors/JDLWithOpenApiProcessorTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/processors/OpenApiProcessorTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/processors/OpenApiProcessorTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/processors/OpenApiProcessorTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/processors/OpenApiProcessorTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/templates/HandlebarsEngineTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/templates/HandlebarsEngineTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/templates/HandlebarsEngineTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/templates/HandlebarsEngineTest.java diff --git a/zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/utils/CommaSeparatedCollectionDeserializationHandlerTest.java b/zenwave-sdk-cli/src/test/java/io/zenwave360/generator/utils/CommaSeparatedCollectionDeserializationHandlerTest.java similarity index 100% rename from zenwave-code-generator-cli/src/test/java/io/zenwave360/generator/utils/CommaSeparatedCollectionDeserializationHandlerTest.java rename to zenwave-sdk-cli/src/test/java/io/zenwave360/generator/utils/CommaSeparatedCollectionDeserializationHandlerTest.java diff --git a/zenwave-code-generator-cli/src/test/resources/io/zenwave360/generator/templating/handlebars-test.hbs b/zenwave-sdk-cli/src/test/resources/io/zenwave360/generator/templating/handlebars-test.hbs similarity index 100% rename from zenwave-code-generator-cli/src/test/resources/io/zenwave360/generator/templating/handlebars-test.hbs rename to zenwave-sdk-cli/src/test/resources/io/zenwave360/generator/templating/handlebars-test.hbs diff --git a/zenwave-code-generator-cli/src/test/resources/io/zenwave360/generator/templating/partial.hbs b/zenwave-sdk-cli/src/test/resources/io/zenwave360/generator/templating/partial.hbs similarity index 100% rename from zenwave-code-generator-cli/src/test/resources/io/zenwave360/generator/templating/partial.hbs rename to zenwave-sdk-cli/src/test/resources/io/zenwave360/generator/templating/partial.hbs diff --git a/zenwave-code-generator-maven-plugin/README.md b/zenwave-sdk-maven-plugin/README.md similarity index 80% rename from zenwave-code-generator-maven-plugin/README.md rename to zenwave-sdk-maven-plugin/README.md index 1d0fa164..c5822996 100644 --- a/zenwave-code-generator-maven-plugin/README.md +++ b/zenwave-sdk-maven-plugin/README.md @@ -1,8 +1,8 @@ # ZenWave Code Generator Maven Plugin > 👉 ZenWave360 Helps You Create Software that's Easy to Understand -[![Maven Central](https://img.shields.io/maven-central/v/io.github.zenwave360.zenwave-code-generator/zenwave-code-generator.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.github.zenwave360.zenwave-code-generator/zenwave-code-generator) -[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-code-generator)](https://github.com/ZenWave360/zenwave-code-generator/blob/main/LICENSE) +[![Maven Central](https://img.shields.io/maven-central/v/io.github.zenwave360.zenwave-sdk/zenwave-sdk.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.github.zenwave360.zenwave-sdk/zenwave-sdk) +[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-sdk)](https://github.com/ZenWave360/zenwave-sdk/blob/main/LICENSE) You can use ZenWave Maven Plugin to generate code as part of your build process: @@ -13,8 +13,8 @@ In the following example we are configuring the `asyncapi-spring-cloud-streams3` ```xml - io.github.zenwave360.zenwave-code-generator - zenwave-code-generator-maven-plugin + io.github.zenwave360.zenwave-sdk + zenwave-sdk-maven-plugin ${zenwave.version} @@ -52,12 +52,12 @@ In the following example we are configuring the `asyncapi-spring-cloud-streams3` - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins asyncapi-spring-cloud-streams3 ${zenwave.version} - io.github.zenwave360.zenwave-code-generator.plugins + io.github.zenwave360.zenwave-sdk.plugins asyncapi-jsonschema2pojo ${zenwave.version} diff --git a/zenwave-code-generator-maven-plugin/pom.xml b/zenwave-sdk-maven-plugin/pom.xml similarity index 91% rename from zenwave-code-generator-maven-plugin/pom.xml rename to zenwave-sdk-maven-plugin/pom.xml index a871308b..17f4badb 100644 --- a/zenwave-code-generator-maven-plugin/pom.xml +++ b/zenwave-sdk-maven-plugin/pom.xml @@ -2,12 +2,12 @@ 4.0.0 - io.github.zenwave360.zenwave-code-generator - zenwave-code-generator + io.github.zenwave360.zenwave-sdk + zenwave-sdk 1.0.0-SNAPSHOT ${project.groupId}:${project.artifactId} - zenwave-code-generator-maven-plugin + zenwave-sdk-maven-plugin maven-plugin @@ -38,7 +38,7 @@ ${project.groupId} - zenwave-code-generator-cli + zenwave-sdk-cli ${project.version} diff --git a/zenwave-code-generator-maven-plugin/src/main/java/io/zenwave360/generator/GeneratorMojo.java b/zenwave-sdk-maven-plugin/src/main/java/io/zenwave360/generator/GeneratorMojo.java similarity index 100% rename from zenwave-code-generator-maven-plugin/src/main/java/io/zenwave360/generator/GeneratorMojo.java rename to zenwave-sdk-maven-plugin/src/main/java/io/zenwave360/generator/GeneratorMojo.java diff --git a/zenwave-code-generator-test-resources/pom.xml b/zenwave-sdk-test-resources/pom.xml similarity index 92% rename from zenwave-code-generator-test-resources/pom.xml rename to zenwave-sdk-test-resources/pom.xml index 088008ab..a590d06d 100644 --- a/zenwave-code-generator-test-resources/pom.xml +++ b/zenwave-sdk-test-resources/pom.xml @@ -2,12 +2,12 @@ 4.0.0 - zenwave-code-generator - io.github.zenwave360.zenwave-code-generator + zenwave-sdk + io.github.zenwave360.zenwave-sdk 1.0.0-SNAPSHOT ${project.groupId}:${project.artifactId} - zenwave-code-generator-test-resources + zenwave-sdk-test-resources 2.6.7 diff --git a/zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/AbstractAuditingEntity.java b/zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/AbstractAuditingEntity.java similarity index 100% rename from zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/AbstractAuditingEntity.java rename to zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/AbstractAuditingEntity.java diff --git a/zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Blog.java b/zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Blog.java similarity index 100% rename from zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Blog.java rename to zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Blog.java diff --git a/zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Post.java b/zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Post.java similarity index 100% rename from zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Post.java rename to zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Post.java diff --git a/zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Product.java b/zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Product.java similarity index 100% rename from zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Product.java rename to zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Product.java diff --git a/zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Tag.java b/zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Tag.java similarity index 100% rename from zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Tag.java rename to zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/Tag.java diff --git a/zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/package-info.java b/zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/package-info.java similarity index 100% rename from zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/package-info.java rename to zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/jpa2jdl/package-info.java diff --git a/zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/AbstractAuditingEntity.java b/zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/AbstractAuditingEntity.java similarity index 100% rename from zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/AbstractAuditingEntity.java rename to zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/AbstractAuditingEntity.java diff --git a/zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/Blog.java b/zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/Blog.java similarity index 100% rename from zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/Blog.java rename to zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/Blog.java diff --git a/zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/Post.java b/zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/Post.java similarity index 100% rename from zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/Post.java rename to zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/Post.java diff --git a/zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/Tag.java b/zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/Tag.java similarity index 100% rename from zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/Tag.java rename to zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/Tag.java diff --git a/zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/package-info.java b/zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/package-info.java similarity index 100% rename from zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/package-info.java rename to zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/mongodb2jdl/package-info.java diff --git a/zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/testutils/MavenCompiler.java b/zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/testutils/MavenCompiler.java similarity index 100% rename from zenwave-code-generator-test-resources/src/main/java/io/zenwave360/generator/testutils/MavenCompiler.java rename to zenwave-sdk-test-resources/src/main/java/io/zenwave360/generator/testutils/MavenCompiler.java diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-circular-refs.yml b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-circular-refs.yml similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-circular-refs.yml rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-circular-refs.yml diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-commands.yml b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-commands.yml similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-commands.yml rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-commands.yml diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-events.yml b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-events.yml similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-events.yml rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-events.yml diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-javaType.yml b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-javaType.yml similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-javaType.yml rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-javaType.yml diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-orders-relational.yml b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-orders-relational.yml similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-orders-relational.yml rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-orders-relational.yml diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-shoping-cart.yml b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-shoping-cart.yml similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-shoping-cart.yml rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/asyncapi-shoping-cart.yml diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/avros/all_cart_entities.avsc b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/avros/all_cart_entities.avsc similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/avros/all_cart_entities.avsc rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/avros/all_cart_entities.avsc diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/asyncapi.yml b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/asyncapi.yml similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/asyncapi.yml rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/asyncapi.yml diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/flight-delayed-event.schema b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/flight-delayed-event.schema similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/flight-delayed-event.schema rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/flight-delayed-event.schema diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/master-data.schema b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/master-data.schema similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/master-data.schema rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/master-data.schema diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/notification-subscriptions-message-envelop.schema b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/notification-subscriptions-message-envelop.schema similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/notification-subscriptions-message-envelop.schema rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/notification-subscriptions-message-envelop.schema diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport-notification-batch-message-envelop.schema b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport-notification-batch-message-envelop.schema similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport-notification-batch-message-envelop.schema rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport-notification-batch-message-envelop.schema diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport-notification-eventdata-generic.schema b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport-notification-eventdata-generic.schema similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport-notification-eventdata-generic.schema rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport-notification-eventdata-generic.schema diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport-notification-message-envelop.schema b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport-notification-message-envelop.schema similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport-notification-message-envelop.schema rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport-notification-message-envelop.schema diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport.schema b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport.schema similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport.schema rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/transport.schema diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/truck-stop-delayed-event.schema b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/truck-stop-delayed-event.schema similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/truck-stop-delayed-event.schema rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/asyncapi/json-schemas/truck-stop-delayed-event.schema diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/graphql/user-crud.graphql b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/graphql/user-crud.graphql similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/graphql/user-crud.graphql rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/graphql/user-crud.graphql diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/21-points.jh b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/21-points.jh similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/21-points.jh rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/21-points.jh diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/21-points.png b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/21-points.png similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/21-points.png rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/21-points.png diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model-eda-idl.jdl b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model-eda-idl.jdl similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model-eda-idl.jdl rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model-eda-idl.jdl diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model-relational.jdl b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model-relational.jdl similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model-relational.jdl rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model-relational.jdl diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model-semantic-annotations.jdl b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model-semantic-annotations.jdl similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model-semantic-annotations.jdl rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model-semantic-annotations.jdl diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model.jdl b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model.jdl similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model.jdl rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model.jdl diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model.png b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model.png similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model.png rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/orders-model.png diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/petstore.jdl b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/petstore.jdl similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/petstore.jdl rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/jdl/petstore.jdl diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/oas-controllers-with-no-jdl.yml b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/oas-controllers-with-no-jdl.yml similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/oas-controllers-with-no-jdl.yml rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/oas-controllers-with-no-jdl.yml diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/openapi-orders-relational.yml b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/openapi-orders-relational.yml similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/openapi-orders-relational.yml rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/openapi-orders-relational.yml diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/openapi-orders.yml b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/openapi-orders.yml similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/openapi-orders.yml rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/openapi-orders.yml diff --git a/zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/openapi-petstore.yml b/zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/openapi-petstore.yml similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/openapi-petstore.yml rename to zenwave-sdk-test-resources/src/main/resources/io/zenwave360/generator/resources/openapi/openapi-petstore.yml diff --git a/zenwave-code-generator-test-resources/src/main/resources/logback-test.xml b/zenwave-sdk-test-resources/src/main/resources/logback-test.xml similarity index 100% rename from zenwave-code-generator-test-resources/src/main/resources/logback-test.xml rename to zenwave-sdk-test-resources/src/main/resources/logback-test.xml