mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-01 02:57:49 +00:00
added NPE protection in OpensyncExternalIntegrationCloud for retrieving auto provisioning properties of the customer
This commit is contained in:
@@ -713,7 +713,10 @@ public class OpensyncExternalIntegrationCloud implements OpensyncExternalIntegra
|
||||
}
|
||||
int customerId = ovsdbSession.getCustomerId();
|
||||
Customer customer = customerServiceInterface.getOrNull(customerId);
|
||||
if (customer != null && customer.getDetails().getAutoProvisioning().isEnabled()) {
|
||||
if (customer != null
|
||||
&& customer.getDetails()!=null
|
||||
&& customer.getDetails().getAutoProvisioning()!=null
|
||||
&& customer.getDetails().getAutoProvisioning().isEnabled()) {
|
||||
Equipment equipmentConfig = getCustomerEquipment(apId);
|
||||
|
||||
if (equipmentConfig == null) {
|
||||
|
||||
Reference in New Issue
Block a user