Skip to content

Commit

Permalink
Renamed all the groupid and artifacts to be inline with Quarkivers na…
Browse files Browse the repository at this point in the history
…ming conventions.
  • Loading branch information
Eddie Carpenter committed Aug 17, 2024
1 parent 2aeb3cd commit 1106f9b
Show file tree
Hide file tree
Showing 44 changed files with 2,338 additions and 7,689 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
# In each subsection folders are ordered first by depth, then alphabetically.
# This should make it easy to add new rules without breaking existing ones.

#* @quarkiverse/quarkiverse-diameter
* @quarkiverse/quarkiverse-jdiameter
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
- name: Update latest release version in docs
run: |
mvn -B -ntp -pl docs -am package -DskipTests -DskipITs -Denforcer.skip -Dformatter.skip -Dimpsort.skip
if ! git diff --quiet docs/modules/ROOT/pages/includes/attributes.adoc; then
git add docs/modules/ROOT/pages/includes/attributes.adoc
if ! git diff --quiet docs/modules/ROOT/pages/includes; then
git add docs/modules/ROOT/pages/includes
git commit -m "Update the latest release version ${{steps.metadata.outputs.current-version}} in documentation"
fi
Expand Down
6 changes: 3 additions & 3 deletions core/jdiameter-ha/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.quarkiverse.diameter</groupId>
<groupId>io.quarkiverse.jdiameter</groupId>
<artifactId>jdiameter-ha-parent</artifactId>
<version>2.0.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>jdiameter-ha-api</artifactId>

<name>Quarkus :: Diameter Stack HA :: ${project.artifactId}</name>
<name>Quarkus :: JDiameter Stack HA :: Api</name>

<dependencies>
<dependency>
<groupId>io.quarkiverse.diameter</groupId>
<groupId>io.quarkiverse.jdiameter</groupId>
<artifactId>jdiameter-api</artifactId>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions core/jdiameter-ha/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.quarkiverse.diameter</groupId>
<groupId>io.quarkiverse.jdiameter</groupId>
<artifactId>jdiameter-ha-parent</artifactId>
<version>2.0.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>jdiameter-ha-impl</artifactId>

<name>Quarkus :: Diameter Stack HA :: ${project.artifactId}</name>
<name>Quarkus :: JDiameter Stack HA :: Impl</name>

<dependencies>
<dependency>
Expand All @@ -22,7 +22,7 @@
</dependency>

<dependency>
<groupId>io.quarkiverse.diameter</groupId>
<groupId>io.quarkiverse.jdiameter</groupId>
<artifactId>jdiameter-impl</artifactId>
</dependency>

Expand Down
4 changes: 2 additions & 2 deletions core/jdiameter-ha/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.quarkiverse.diameter</groupId>
<groupId>io.quarkiverse.jdiameter</groupId>
<artifactId>diameter-core-parent</artifactId>
<version>2.0.0</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -14,7 +14,7 @@

<packaging>pom</packaging>

<name>Quarkus :: Diameter Stack HA :: ${project.artifactId}</name>
<name>Quarkus :: JDiameter Stack HA :: Parent</name>

<modules>
<module>api</module>
Expand Down
4 changes: 2 additions & 2 deletions core/jdiameter/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.quarkiverse.diameter</groupId>
<groupId>io.quarkiverse.jdiameter</groupId>
<artifactId>jdiameter-core</artifactId>
<version>2.0.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>jdiameter-api</artifactId>

<name>Quarkus :: Diameter Stack :: API</name>
<name>Quarkus :: JDiameter Stack :: API</name>

<dependencies/>

Expand Down
6 changes: 3 additions & 3 deletions core/jdiameter/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.quarkiverse.diameter</groupId>
<groupId>io.quarkiverse.jdiameter</groupId>
<artifactId>jdiameter-core</artifactId>
<version>2.0.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>jdiameter-impl</artifactId>

<name>Quarkus :: Diameter Stack :: impl</name>
<name>Quarkus :: JDiameter Stack :: Impl</name>

<properties>
<vendor>Quarkus</vendor>
</properties>

<dependencies>
<dependency>
<groupId>io.quarkiverse.diameter</groupId>
<groupId>io.quarkiverse.jdiameter</groupId>
<artifactId>jdiameter-api</artifactId>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions core/jdiameter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.quarkiverse.diameter</groupId>
<groupId>io.quarkiverse.jdiameter</groupId>
<artifactId>diameter-core-parent</artifactId>
<version>2.0.0</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -15,7 +15,7 @@

<packaging>pom</packaging>

<name>Quarkus :: Diameter Stack :: ${project.artifactId}</name>
<name>Quarkus :: JDiameter Stack :: Parent</name>

<modules>
<module>api</module>
Expand Down
39 changes: 3 additions & 36 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.quarkiverse.diameter</groupId>
<artifactId>diameter-parent</artifactId>
<groupId>io.quarkiverse.jdiameter</groupId>
<artifactId>quarkus-jdiameter-parent</artifactId>
<version>2.0.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
Expand All @@ -14,40 +14,7 @@

<artifactId>diameter-core-parent</artifactId>

<name>Quarkus :: Diameter Core :: ${project.artifactId}</name>

<developers>
<developer>
<id>ammendonca</id>
<name>Alexandre Mendonça</name>
<email>[email protected]</email>
<organization>TeleStax</organization>
<organizationUrl>http://www.telestax.com/</organizationUrl>
<roles>
<role>Project Lead</role>
</roles>
<timezone>0</timezone>
</developer>
<developer>
<id>baranowb</id>
<name>Bartosz Baranowski</name>
<email>[email protected]</email>
<organization>TeleStax</organization>
<organizationUrl>http://www.telestax.com/</organizationUrl>
<roles>
<role>Developer</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>

<licenses>
<license>
<name>GNU Affero General Public License</name>
<url>https://www.gnu.org/licenses/agpl-3.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<name>Quarkus :: JDiameter Core :: Parent</name>

<modules>
<module>jdiameter</module>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
* xref:Diameter_User_Guide.adoc[Original JDiameter User Guide]
* xref:Quarkus/Implementing-Diameter-Service.adoc[Implementing Diameter Service]
* xref:Implementing-Diameter-Service.adoc[Implementing Diameter Service]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include::../includes/attributes.adoc[]
include::includes/attributes.adoc[]
= Document Conventions

This manual uses several conventions to highlight certain words and phrases and draw attention to specific pieces of information.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include::../includes/attributes.adoc[]
include::includes/attributes.adoc[]
= {product-name}

The Diameter protocol is a computer networking protocol for Authentication, Authorization and Accounting, as defined in link:https://datatracker.ietf.org/doc/html/rfc6733[RFC6733].
Expand Down Expand Up @@ -43,12 +43,15 @@ The DiameterService interceptor will initialise all the configured services and
[source,java]
----
@DiameterService <1> @DiameterServiceOption(config = "client1") <2> public class MyDiameterService implements ClientCCASessionListener <3>
@DiameterService <1>
@DiameterServiceOption(config = "client1") <2>
public class MyDiameterService implements ClientCCASessionListener <3>
{
@Override public void doCreditControlAnswer(ClientCCASession session, JCreditControlRequest request, JCreditControlAnswer answer) throws InternalException
{
//...
} }
@Override public void doCreditControlAnswer(ClientCCASession session, JCreditControlRequest request, JCreditControlAnswer answer) throws InternalException
{
//...
}
}
----

Expand Down Expand Up @@ -105,9 +108,10 @@ TIP: The stack will only be active if there is a defined DiameterService for the
[source,java]
----
@ApplicationScoped public class Demo
{
@DiameterConfig <1> Stack stack;
@ApplicationScoped
public class Demo {
@DiameterConfig <1>
Stack stack;
@DiameterConfig("test2") <2>
Configuration test2Config;
Expand Down Expand Up @@ -213,4 +217,4 @@ quarkus.diameter.test1.network.realms."server.test.com".application-id.auth-appl
TIP: For more information about the extension configuration please refer to the <<configuration-reference,Configuration Reference>>.

[[configuration-reference]]
include::../includes/quarkus-diameter.adoc[leveloffset=+1]
include::includes/quarkus-jdiameter.adoc[leveloffset=+1]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include::../includes/attributes.adoc[]
include::includes/attributes.adoc[]
:sectnums!:

[appendix]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include::../includes/attributes.adoc[]
include::includes/attributes.adoc[]
:sectnums!:

[preface]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include::../includes/attributes.adoc[]
include::includes/attributes.adoc[]
= Document Conventions

This manual uses several conventions to highlight certain words and phrases and draw attention to specific pieces of information.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include::../includes/attributes.adoc[]
include::includes/attributes.adoc[]
= Provide feedback to the authors!
(((feedback)))

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include::../includes/attributes.adoc[]
include::includes/attributes.adoc[]
:sectnums!:

[appendix]
Expand Down
13 changes: 1 addition & 12 deletions docs/modules/ROOT/pages/includes/attributes.adoc
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
:project-version: ${release.current-version}
:examples-dir: ./../examples/
:authors: Eddie Carpenter <[email protected]>
:copyright: Apache2
:product-name: Quarkus Diameter
:description: {product-name} documentation
:favicon: favicon.svg
:project-version: 2.0.0
:email: [email protected]
:jee-platform: JBoss Application Server
:jee-version: 1.8

:this-issue-tracker-url: https://github.com/eddiecarpenter/quarkus-jdiameter/issues
:this-trunk-source-code-url: https://github.com/eddiecarpenter/quarkus-jdiameter
:examples-dir: ./../examples/

This file was deleted.

Loading

0 comments on commit 1106f9b

Please sign in to comment.