mirror of
				https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
				synced 2025-10-31 10:37:51 +00:00 
			
		
		
		
	[WIFI-1358] Adding additional parameter to getSessionsForCustomer (#25)
This commit is contained in:
		| @@ -878,7 +878,7 @@ public class OpensyncExternalIntegrationCloud implements OpensyncExternalIntegra | ||||
|  | ||||
|         LOG.info("OpensyncExternalIntegrationCloud::disconnectClients for Equipment {}", ce); | ||||
|         PaginationResponse<ClientSession> clientSessions = clientServiceInterface.getSessionsForCustomer( | ||||
|                 ce.getCustomerId(), Set.of(ce.getId()), Set.of(ce.getLocationId()), null, | ||||
|                 ce.getCustomerId(), Set.of(ce.getId()), Set.of(ce.getLocationId()), null, null, | ||||
|                 new PaginationContext<ClientSession>(100)); | ||||
|  | ||||
|         if (clientSessions == null) { | ||||
| @@ -1885,7 +1885,7 @@ public class OpensyncExternalIntegrationCloud implements OpensyncExternalIntegra | ||||
|         List<ClientSession> clientSessionsForCustomerAndEquipment = new ArrayList<>(); | ||||
|         if (ce != null) { | ||||
|             PaginationResponse<ClientSession> clientSessions = clientServiceInterface.getSessionsForCustomer(customerId, | ||||
|                     ImmutableSet.of(equipmentId), ImmutableSet.of(ce.getLocationId()), null, | ||||
|                     ImmutableSet.of(equipmentId), ImmutableSet.of(ce.getLocationId()), null, null, | ||||
|                     new PaginationContext<ClientSession>()); | ||||
|             clientSessionsForCustomerAndEquipment.addAll(clientSessions.getItems()); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ralphlee3
					ralphlee3