JAIN SLEE Diameter | 15 Interfaces | SLg Fixed | Bundle Plugin Updated
jain-slee.diameter-NG provides comprehensive Diameter Resource Adaptors for JAIN SLEE, supporting 15+ interfaces including Gx, Rx, S6a, S13, SLg, and more.
| Interface | 3GPP Standard | Use Case |
|---|---|---|
| Gx | TS 29.212 | Policy & Charging Control (PCC) |
| Rx | TS 29.214 | Policy for Multimedia Services |
| S6a | TS 29.272 | HSS-MAA Interface (LTE Auth) |
| S13 | TS 29.272 | EIR Interface (IMEI check) |
| SLg | TS 29.172 | Location Services (LCS) |
| SLh | TS 29.173 | LCS Routing |
| Sh | TS 29.328 | User Data handling |
| Rf | TS 32.240 | Offline Charging |
| Ro | TS 32.240 | Online Charging (OCS) |
| Cx/Dx | TS 29.228 | IMS User Registration |
| Gq | TS 29.209 | Policy for IMS |
| CCA | RFC 4006 | Credit Control |
// Fixed: InternalException handling
public ProvideLocationRequest createProvideLocationRequest() {
try {
return (ProvideLocationRequest) createSlgMessage(...);
} catch (InternalException e) {
throw new IllegalStateException("Failed to create message", e);
}
}<!-- Updated for Java 11+ compatibility -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.9</version>
</plugin>- 15 Diameter interfaces in single package
- Consistent RA API across all interfaces
- Shared Diameter base functionality
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β JAIN SLEE Container β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Diameter Base RA β Gx RA β Rx RA β S6a RA β
β β β β β β β β β
β ββββββββββββββ΄βββββ΄βββββ΄βββββ΄βββββ΄βββββ β
β β β
β βββββββββββββΌββββββββββββ β
β β β β β
β S13 RA SLg RA SLh RA β
β β β β β
β βββββββββββββ΄ββββββββββββ β
β β β
β βββββββββββββΌββββββββββββ β
β β jdiameter MUX β β
β β (Diameter Stack) β β
β ββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
mvn clean install -DskipTests -Dcheckstyle.skip=truediameter-base- Common Diameter functionalitydiameter-gx- Gx interface RAdiameter-rx- Rx interface RAdiameter-s6a- S6a interface RAdiameter-s13- S13 interface RAdiameter-slg- SLg interface RA (Fixed!)diameter-slh- SLh interface RAhss-client- HSS client enabler
// Problem: Interface doesn't declare throws InternalException
// Solution: Wrap in RuntimeException
public ProvideLocationRequest createProvideLocationRequest() {
try {
return (ProvideLocationRequest) createSlgMessage(...);
} catch (InternalException e) {
throw new IllegalStateException(
"Failed to create Provide-Location-Request", e);
}
}// Fixed imports in:
// - ProvideLocationRequestImpl.java
// - ProvideLocationAnswerImpl.java
// - LocationRequestImpl.java
// - LocationAnswerImpl.java
// Changed from:
// import static ...SLgAvpCodes.SupportedFeaturesAvpImpl;
// To:
// import ...SupportedFeaturesAvpImpl;// Added constant instead of importing from removed class
private static final long _3GPP_VENDOR_ID = 10415L;- Old: 2.3.4 (incompatible with Java 11+)
- New: 5.1.9 (Java 11/17/21 compatible)
<!-- In all 54 resource module poms -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.9</version>
</plugin>- β Fixed: SLgMessageFactoryImpl InternalException handling
- β Fixed: SupportedFeaturesAvpImpl imports
- β Updated: Felix Bundle Plugin 2.3.4 β 5.1.9
- β Version bump
- β Build fixes
- β Initial migration fixes
GNU Lesser General Public License v2.1
Maintained by: nhanth87
Diameter Stack: Restcomm jdiameter
Bundle Plugin: Apache Felix 5.1.9
For: 4G/5G Policy, Charging, and Location Services