Skip to content

Commit

Permalink
JNG-5264 Rename Jackson to jaxrs (and Jakarta RESTful Web Services) (#13
Browse files Browse the repository at this point in the history
)
  • Loading branch information
robertcsakany authored Oct 27, 2023
1 parent 3b3b42c commit 952b07e
Show file tree
Hide file tree
Showing 48 changed files with 110 additions and 110 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/2-feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ labels: "type: feature"
<!-- Please do your best to fill out all of the sections below! -->
<!-- Use this issue type for concrete suggestions, otherwise, open a discussion type issue instead. -->

- [ ] I'd be willing to implement this feature ([contributing guide](https://github.com/BlackBeltTechnology/judo-psm-generator-jackson/blob/develop/CONTRIBUTING.adoc))
- [ ] I'd be willing to implement this feature ([contributing guide](https://github.com/BlackBeltTechnology/judo-psm-generator-jaxrs/blob/develop/CONTRIBUTING.adoc))

## Description

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/3-documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ labels: "type: docs"

<!--
If your issue is not regarding the documentation, please choose an issue type:
https://github.com/BlackBeltTechnology/judo-psm-generator-jackson/issues/new/choose
https://github.com/BlackBeltTechnology/judo-psm-generator-jaxrs/issues/new/choose
-->

### Is there a specific documentation page you are reporting?
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ blank_issues_enabled: false
contact_links:
- name: Read the community guidelines
about: "Please make sure you have read the submission guidelines before posting an issue"
url: https://github.com/BlackBeltTechnology/judo-psm-generator-jackson/blob/develop/CONTRIBUTING.adoc#-submitting-an-issue
url: https://github.com/BlackBeltTechnology/judo-psm-generator-jaxrs/blob/develop/CONTRIBUTING.adoc#-submitting-an-issue
- name: Want to start a discussion?
about: "Want to start a thread to discuss an idea? Use the discussions feature provided by GitHub."
url: https://github.com/BlackBeltTechnology/judo-community/discussions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
continue-on-error: true
run: |-
./mvnw -B -Dstyle.color=always \
-Dsonar.projectKey=judo-psm-generator-jackson \
-Dsonar.projectKey=judo-psm-generator-jaxrs \
-Dsonar.host.url=https://sonar.judo.technology \
-Dsonar.login=${{ secrets.JUDO_SONAR_TOKEN }} \
sonar:sonar
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ We will be insisting on a minimal reproduction in order to save maintainers' tim
bugs. We understand that sometimes it might be hard to extract essentials bits of code from a larger codebase, but we
really need to isolate the problem before we can fix it.

You can file new issues by filling out our https://github.com/BlackBeltTechnology/judo-psm-generator-jackson/issues/new/choose[issue form].
You can file new issues by filling out our https://github.com/BlackBeltTechnology/judo-psm-generator-jaxrs/issues/new/choose[issue form].

### Submitting a PR

Expand Down
18 changes: 9 additions & 9 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# judo-psm-generator-jackson
# judo-psm-generator-jaxrs

PSM based JUDO Jackson REST Java generator
PSM based JUDO Jakarta RESTful Web Services Java generator

It can be used as:

Expand All @@ -10,19 +10,19 @@ It can be used as:
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>hu.blackbelt.judo.archetype</groupId>
<artifactId>judo-psm-generator-jackson-example</artifactId>
<artifactId>judo-psm-generator-jaxrs-example</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
<name>JUDO PSM Generator Jackson REST test</name>
<description>JUDO PSM Jackson REST Generator Example.</description>
<name>JUDO PSM Generator Jakarta RESTful Web Services test</name>
<description>JUDO PSM Jakarta RESTful Web Services Generator Example.</description>
<properties>
<revision>1.0.0-SNAPSHOT</revision>
<maven>3.9.4</maven>
<judo-psm-archetype-version>1.0.0</judo-psm-archetype-version>
<judo-psm-generator-jackson>1.0.0</judo-psm-generator-jackson>
<judo-psm-generator-jaxrs>1.0.0</judo-psm-generator-jaxrs>
<judo-meta-psm-version>1.1.0</judo-meta-psm-version>
</properties>
Expand All @@ -44,13 +44,13 @@ It can be used as:
<uri>${basedir}/src/main/resources</uri>
</uris>
<helpers>
<helper>hu.blackbelt.judo.psm.generator.jackson.PsmModelHelper</helper>
<helper>hu.blackbelt.judo.psm.generator.jaxrs.PsmModelHelper</helper>
</helpers>
<type>psm-jackson</type>
<type>psm-jaxrs</type>
<psm>
mvn:your.psm.model.group.id:your.psm.model.artifact.id:your.psm.model.version!model-name-in-jar.model
</psm>
<destination>${basedir}/target/generated-test-classes/psm/jackson</destination>
<destination>${basedir}/target/generated-test-classes/psm/jaxrs</destination>
</configuration>
</execution>
</executions>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>hu.blackbelt.judo.generator</groupId>
<artifactId>judo-psm-generator-jackson</artifactId>
<artifactId>judo-psm-generator-jaxrs</artifactId>
<version>${revision}</version>
</parent>

<artifactId>judo-psm-generator-jackson-api</artifactId>
<artifactId>judo-psm-generator-jaxrs-api</artifactId>
<packaging>bundle</packaging>

<name>JUDO PSM Generator Jackson REST API</name>
<description>JUDO PSM Jackson REST Generator API, helpers and templates</description>
<name>JUDO PSM Generator Jakarta RESTful Web Services API</name>
<description>JUDO PSM Jakarta RESTful Web Services Generator API, helpers and templates</description>

</project>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package hu.blackbelt.judo.psm.generator.jackson.api;
package hu.blackbelt.judo.psm.generator.jaxrs.api;

/*-
* #%L
* JUDO PSM Generator Jackson REST API
* JUDO PSM Generator Jakarta RESTful Web Services API
* %%
* Copyright (C) 2018 - 2023 BlackBelt Technology
* %%
Expand Down Expand Up @@ -39,8 +39,8 @@
import java.util.*;
import java.util.stream.Collectors;

import static hu.blackbelt.judo.psm.generator.jackson.api.JavaNamespaceHelper.*;
import static hu.blackbelt.judo.psm.generator.jackson.api.ModelHelper.*;
import static hu.blackbelt.judo.psm.generator.jaxrs.api.JavaNamespaceHelper.*;
import static hu.blackbelt.judo.psm.generator.jaxrs.api.ModelHelper.*;

@TemplateHelper
public class JavaApiHelper extends StaticMethodValueResolver {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package hu.blackbelt.judo.psm.generator.jackson.api;
package hu.blackbelt.judo.psm.generator.jaxrs.api;

/*-
* #%L
* JUDO PSM Generator Jackson REST API
* JUDO PSM Generator Jakarta RESTful Web Services API
* %%
* Copyright (C) 2018 - 2023 BlackBelt Technology
* %%
Expand Down Expand Up @@ -39,7 +39,7 @@
import java.util.stream.Collectors;

import static com.github.jknack.handlebars.internal.lang3.StringUtils.capitalize;
import static hu.blackbelt.judo.psm.generator.jackson.api.ObjectTypeHelper.*;
import static hu.blackbelt.judo.psm.generator.jaxrs.api.ObjectTypeHelper.*;

@TemplateHelper
public class JavaNamespaceHelper extends StaticMethodValueResolver {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package hu.blackbelt.judo.psm.generator.jackson.api;
package hu.blackbelt.judo.psm.generator.jaxrs.api;

/*-
* #%L
* JUDO PSM Generator Jackson REST API
* JUDO PSM Generator Jakarta RESTful Web Services API
* %%
* Copyright (C) 2018 - 2023 BlackBelt Technology
* %%
Expand Down Expand Up @@ -44,7 +44,7 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;

import static hu.blackbelt.judo.psm.generator.jackson.api.JavaNamespaceHelper.*;
import static hu.blackbelt.judo.psm.generator.jaxrs.api.JavaNamespaceHelper.*;

@TemplateHelper
public class ModelHelper extends StaticMethodValueResolver {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package hu.blackbelt.judo.psm.generator.jackson.api;
package hu.blackbelt.judo.psm.generator.jaxrs.api;

/*-
* #%L
Expand Down Expand Up @@ -33,8 +33,8 @@
import java.util.Set;
import java.util.stream.Collectors;

import static hu.blackbelt.judo.psm.generator.jackson.api.ModelHelper.getSpecifiedContainer;
import static hu.blackbelt.judo.psm.generator.jackson.api.ModelHelper.modelWrapper;
import static hu.blackbelt.judo.psm.generator.jaxrs.api.ModelHelper.getSpecifiedContainer;
import static hu.blackbelt.judo.psm.generator.jaxrs.api.ModelHelper.modelWrapper;


@TemplateHelper
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package hu.blackbelt.judo.psm.generator.jackson.api;
package hu.blackbelt.judo.psm.generator.jaxrs.api;

/*-
* #%L
Expand Down Expand Up @@ -31,9 +31,9 @@
import hu.blackbelt.judo.meta.psm.service.*;
import hu.blackbelt.judo.meta.psm.type.Cardinality;

import static hu.blackbelt.judo.psm.generator.jackson.api.JavaNamespaceHelper.*;
import static hu.blackbelt.judo.psm.generator.jackson.api.ObjectTypeHelper.getEntity;
import static hu.blackbelt.judo.psm.generator.jackson.api.ObjectTypeHelper.isEntity;
import static hu.blackbelt.judo.psm.generator.jaxrs.api.JavaNamespaceHelper.*;
import static hu.blackbelt.judo.psm.generator.jaxrs.api.ObjectTypeHelper.getEntity;
import static hu.blackbelt.judo.psm.generator.jaxrs.api.ObjectTypeHelper.isEntity;


@TemplateHelper
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package hu.blackbelt.judo.psm.generator.jackson.api;
package hu.blackbelt.judo.psm.generator.jaxrs.api;

/*-
* #%L
* JUDO PSM Generator Jackson REST API
* JUDO PSM Generator Jakarta RESTful Web Services API
* %%
* Copyright (C) 2018 - 2023 BlackBelt Technology
* %%
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>hu.blackbelt.judo.generator</groupId>
<artifactId>judo-psm-generator-jackson</artifactId>
<artifactId>judo-psm-generator-jaxrs</artifactId>
<version>${revision}</version>
</parent>

<artifactId>judo-psm-generator-jackson-common</artifactId>
<artifactId>judo-psm-generator-jaxrs-common</artifactId>
<packaging>bundle</packaging>

<name>JUDO PSM Generator Jackson REST Common templates</name>
<description>JUDO PSM Jackson REST Generator common templates</description>
<name>JUDO PSM Generator Jakarta RESTful Web Services Common templates</name>
<description>JUDO PSM Jakarta RESTful Web Services Generator common templates</description>

</project>
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>hu.blackbelt.judo.generator</groupId>
<artifactId>judo-psm-generator-jackson</artifactId>
<artifactId>judo-psm-generator-jaxrs</artifactId>
<version>${revision}</version>
</parent>

<artifactId>judo-psm-generator-jackson-impl</artifactId>
<artifactId>judo-psm-generator-jaxrs-impl</artifactId>
<packaging>bundle</packaging>

<name>JUDO PSM Generator Jackson REST Implementation</name>
<description>JUDO PSM Jackson REST Generator Implementation, helpers and templates</description>
<name>JUDO PSM Generator Jakarta RESTful Web Services Implementation</name>
<description>JUDO PSM Jakarta RESTful Web Services Generator Implementation, helpers and templates</description>

<dependencies>
<dependency>
<groupId>hu.blackbelt.judo.generator</groupId>
<artifactId>judo-psm-generator-jackson-api</artifactId>
<artifactId>judo-psm-generator-jaxrs-api</artifactId>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package hu.blackbelt.judo.psm.generator.jackson.impl;
package hu.blackbelt.judo.psm.generator.jaxrs.impl;

/*-
* #%L
* JUDO PSM Generator Jackson REST Implementation
* JUDO PSM Generator Jakarta RESTful Web Services Implementation
* %%
* Copyright (C) 2018 - 2023 BlackBelt Technology
* %%
Expand Down Expand Up @@ -30,8 +30,8 @@
import hu.blackbelt.judo.meta.psm.service.TransferObjectRelation;
import hu.blackbelt.judo.meta.psm.service.TransferObjectType;

import static hu.blackbelt.judo.psm.generator.jackson.api.JavaApiHelper.*;
import static hu.blackbelt.judo.psm.generator.jackson.api.JavaNamespaceHelper.*;
import static hu.blackbelt.judo.psm.generator.jaxrs.api.JavaApiHelper.*;
import static hu.blackbelt.judo.psm.generator.jaxrs.api.JavaNamespaceHelper.*;

@TemplateHelper
public class JavaImplHelper extends StaticMethodValueResolver {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>hu.blackbelt.judo.generator</groupId>
<artifactId>judo-psm-generator-jackson</artifactId>
<artifactId>judo-psm-generator-jaxrs</artifactId>
<version>${revision}</version>
</parent>

<artifactId>judo-psm-generator-jackson-osgi</artifactId>
<artifactId>judo-psm-generator-jaxrs-osgi</artifactId>
<packaging>bundle</packaging>

<name>JUDO PSM Generator Jackson REST OSGI</name>
<description>JUDO PSM Jackson REST Generator OSGi descriptor, helpers and templates</description>
<name>JUDO PSM Generator Jakarta RESTful Web Services OSGI</name>
<description>JUDO PSM Jakarta RESTful Web Services Generator OSGi descriptor, helpers and templates</description>

<dependencies>
<dependency>
<groupId>hu.blackbelt.judo.generator</groupId>
<artifactId>judo-psm-generator-jackson-api</artifactId>
<artifactId>judo-psm-generator-jaxrs-api</artifactId>
</dependency>
<dependency>
<groupId>hu.blackbelt.judo.generator</groupId>
<artifactId>judo-psm-generator-jackson-impl</artifactId>
<artifactId>judo-psm-generator-jaxrs-impl</artifactId>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package hu.blackbelt.judo.psm.generator.jackson.osgi;
package hu.blackbelt.judo.psm.generator.jaxrs.osgi;

/*-
* #%L
* JUDO PSM Generator Jackson REST Implementation
* JUDO PSM Generator Jakarta RESTful Web Services Implementation
* %%
* Copyright (C) 2018 - 2023 BlackBelt Technology
* %%
Expand Down Expand Up @@ -31,8 +31,8 @@
import hu.blackbelt.judo.meta.psm.service.TransferObjectType;
import hu.blackbelt.judo.meta.psm.service.TransferOperation;

import static hu.blackbelt.judo.psm.generator.jackson.api.JavaApiHelper.*;
import static hu.blackbelt.judo.psm.generator.jackson.api.JavaNamespaceHelper.*;
import static hu.blackbelt.judo.psm.generator.jaxrs.api.JavaApiHelper.*;
import static hu.blackbelt.judo.psm.generator.jaxrs.api.JavaNamespaceHelper.*;

@TemplateHelper
public class JavaOsgiHelper extends StaticMethodValueResolver {
Expand Down
File renamed without changes.
Loading

0 comments on commit 952b07e

Please sign in to comment.