Skip to content

Commit

Permalink
Updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddie Carpenter committed Nov 14, 2024
1 parent e7e82ab commit 13ec21b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 32 deletions.
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"
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:

0 comments on commit 13ec21b

Please sign in to comment.