PDPs now sends PdpGroup also during registration. So, PAP treats them as
normal hearbeat and not registration message, causing errors.
Fixing this. This change will be updated by POLICY-2231
This should also fix the csit failures in the PDPs.
Change-Id: Idf62839d175c6e392101e9c58627217a76473de9
Issue-ID: POLICY-2234
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
public void handlePdpStatus(final PdpStatus message) {
synchronized (updateLock) {
try (PolicyModelsProvider databaseProvider = modelProviderWrapper.create()) {
- if (message.getPdpGroup() == null && message.getPdpSubgroup() == null) {
+ if (message.getPdpSubgroup() == null) {
handlePdpRegistration(message, databaseProvider);
} else {
handlePdpHeartbeat(message, databaseProvider);