Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v212 #77

Merged
merged 2 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/project.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
release:
current-version: "2.1.1"
next-version: "2.1.2-SNAPSHOT"
current-version: "2.1.2"
next-version: "2.1.3-SNAPSHOT"

This file was deleted.

25 changes: 6 additions & 19 deletions docs/modules/ROOT/pages/Implementing-Diameter-Service.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ For instance, with Maven, add the following dependency to your POM file:

To implement a Diameter service, a class must be defined and annotated with `@DiameterService` and optionally `@DiameterServiceOptions`.

The `@DiameterServiceOption` annotation is used, among other things, to specify the Diameter configuration profile to use for the service. If it is not specified, the service will use the default configuration profile.
The `@DiameterServiceOption` annotation is used, among other things, to specify the Diameter configuration profile to use for the service.
If it is not specified, the service will use the default configuration profile.

The type of Diameter service is determined by the xref:_application_session_types[Diameter Application Session Listener] interfaces implemented by the service.

Expand Down Expand Up @@ -135,23 +136,8 @@ The HA extensions store the session information in a remote cache called `diamet

TIP: The cache used can be changed by setting the `quarkus.diameter.parameter.caching-name` property

The Quarkus extension does not automatically include the HA extensions, and to use them, the following maven dependencies need to be added to the application pom file.

[source,xml]
----
<dependency>
<groupId>io.quarkiverse.diameter</groupId>
<artifactId>jdiameter-ha-api</artifactId>
<version>${quarkus.jdiameter.version}</version>
</dependency>
<dependency>
<groupId>io.quarkiverse.diameter</groupId>
<artifactId>jdiameter-ha-impl</artifactId>
<version>${quarkus.jdiameter.version}</version>
</dependency>
----

To use the HA components, the configuration needs to be updated as follows:
The Quarkus extension automatically include the HA extensions.
To use the HA components, the following configuration needs to be added:

[source,properties]
----
Expand All @@ -162,7 +148,8 @@ quarkus.diameter.extensions.timer-facility=org.jdiameter.impl.ha.timer.Replicate

<1> This option changes the caching name from the default `diameter` to 'drasessions'.

NOTE: The HA implementation depends on the Quarkus Infinispan client
NOTE: The HA implementation depends on the Quarkus Infinispan client.
You also need to provide the https://quarkus.io/guides/infinispan-client-reference#configuring-the-connection[Infinispan configuration] to make this all work.

== Example Configuration

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/includes/attributes.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:project-version: 2.1.0
:project-version: 2.1.2
:examples-dir: ./../examples/
:authors: Eddie Carpenter <[email protected]>
:copyright: Apache2
Expand Down
7 changes: 2 additions & 5 deletions docs/modules/ROOT/pages/includes/quarkus-jdiameter.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
:summaryTableId: quarkus-jdiameter_quarkus-diameter
[.configuration-legend]
icon:lock[title=Fixed at build time] Configuration property fixed at build time - All other configuration properties are overridable at runtime
[.configuration-reference.searchable, cols="80,.^10,.^10"]
Expand Down Expand Up @@ -223,7 +222,7 @@ endif::add-copy-button-to-env-var[]
|`0`


h|[[quarkus-jdiameter_section_quarkus-diameter-local-peer-overload-monitors]] [.section-name.section-level1]##link:#quarkus-jdiameter_section_quarkus-diameter-local-peer-overload-monitors[Optional parent element containing child elements that specify settings relating to the Overload Monitor]##
h|[[quarkus-jdiameter_section_quarkus-diameter-local-peer-overload-monitors]] [.section-name.section-level1]##link:#quarkus-jdiameter_section_quarkus-diameter-local-peer-overload-monitors[Optional parent element containing child elements that specify settings]##
h|Type
h|Default

Expand Down Expand Up @@ -1008,7 +1007,7 @@ ifndef::add-copy-button-to-env-var[]
Environment variable: `+++QUARKUS_DIAMETER_NETWORK_REALMS__REALMS__LOCAL_ACTION+++`
endif::add-copy-button-to-env-var[]
--
a|LocalAction
a|`local`, `relay`, `proxy`, `redirect`
|`local`

a| [[quarkus-jdiameter_quarkus-diameter-network-realms-realms-dynamic]] [.property-path]##link:#quarkus-jdiameter_quarkus-diameter-network-realms-realms-dynamic[`quarkus.diameter.network.realms."realms".dynamic`]##
Expand Down Expand Up @@ -1552,5 +1551,3 @@ endif::add-copy-button-to-env-var[]

|===


:!summaryTableId:
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
:summaryTableId: quarkus-jdiameter_quarkus-diameter
[.configuration-legend]
icon:lock[title=Fixed at build time] Configuration property fixed at build time - All other configuration properties are overridable at runtime
[.configuration-reference.searchable, cols="80,.^10,.^10"]
Expand Down Expand Up @@ -223,7 +222,7 @@ endif::add-copy-button-to-env-var[]
|`0`


h|[[quarkus-jdiameter_section_quarkus-diameter-local-peer-overload-monitors]] [.section-name.section-level1]##link:#quarkus-jdiameter_section_quarkus-diameter-local-peer-overload-monitors[Optional parent element containing child elements that specify settings relating to the Overload Monitor]##
h|[[quarkus-jdiameter_section_quarkus-diameter-local-peer-overload-monitors]] [.section-name.section-level1]##link:#quarkus-jdiameter_section_quarkus-diameter-local-peer-overload-monitors[Optional parent element containing child elements that specify settings]##
h|Type
h|Default

Expand Down Expand Up @@ -1008,7 +1007,7 @@ ifndef::add-copy-button-to-env-var[]
Environment variable: `+++QUARKUS_DIAMETER_NETWORK_REALMS__REALMS__LOCAL_ACTION+++`
endif::add-copy-button-to-env-var[]
--
a|LocalAction
a|`local`, `relay`, `proxy`, `redirect`
|`local`

a| [[quarkus-jdiameter_quarkus-diameter-network-realms-realms-dynamic]] [.property-path]##link:#quarkus-jdiameter_quarkus-diameter-network-realms-realms-dynamic[`quarkus.diameter.network.realms."realms".dynamic`]##
Expand Down Expand Up @@ -1552,5 +1551,3 @@ endif::add-copy-button-to-env-var[]

|===


:!summaryTableId:
3 changes: 2 additions & 1 deletion quarkus-diameter/deployment/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>

<parent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
import org.jdiameter.common.impl.statistic.StatisticProcessorImpl;
import org.jdiameter.common.impl.timer.LocalTimerFacilityImpl;
import org.jdiameter.common.impl.validation.DictionaryImpl;
import org.jdiameter.impl.ha.data.CachedSessionDatasourceImpl;
import org.jdiameter.impl.ha.timer.ReplicatedTimerFacilityImpl;
import org.jdiameter.server.impl.*;
import org.jdiameter.server.impl.agent.AgentConfigurationImpl;
import org.jdiameter.server.impl.agent.ProxyAgentImpl;
Expand Down Expand Up @@ -116,7 +118,9 @@ ReflectiveClassBuildItem reflection()
AssemblerImpl.class,
MessageParser.class,
WeightedRoundRobinRouter.class,
WeightedLeastConnectionsRouter.class
WeightedLeastConnectionsRouter.class,
CachedSessionDatasourceImpl.class,
ReplicatedTimerFacilityImpl.class
)
.methods()
.fields()
Expand Down
7 changes: 6 additions & 1 deletion quarkus-diameter/runtime/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>

<parent>
Expand Down Expand Up @@ -37,6 +38,10 @@
<groupId>io.quarkiverse.jdiameter</groupId>
<artifactId>jdiameter-impl</artifactId>
</dependency>
<dependency>
<groupId>io.quarkiverse.jdiameter</groupId>
<artifactId>jdiameter-ha-impl</artifactId>
</dependency>
</dependencies>

<build>
Expand Down
Loading