mirror of
				https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
				synced 2025-10-31 18:47:57 +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); |         LOG.info("OpensyncExternalIntegrationCloud::disconnectClients for Equipment {}", ce); | ||||||
|         PaginationResponse<ClientSession> clientSessions = clientServiceInterface.getSessionsForCustomer( |         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)); |                 new PaginationContext<ClientSession>(100)); | ||||||
|  |  | ||||||
|         if (clientSessions == null) { |         if (clientSessions == null) { | ||||||
| @@ -1885,7 +1885,7 @@ public class OpensyncExternalIntegrationCloud implements OpensyncExternalIntegra | |||||||
|         List<ClientSession> clientSessionsForCustomerAndEquipment = new ArrayList<>(); |         List<ClientSession> clientSessionsForCustomerAndEquipment = new ArrayList<>(); | ||||||
|         if (ce != null) { |         if (ce != null) { | ||||||
|             PaginationResponse<ClientSession> clientSessions = clientServiceInterface.getSessionsForCustomer(customerId, |             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>()); |                     new PaginationContext<ClientSession>()); | ||||||
|             clientSessionsForCustomerAndEquipment.addAll(clientSessions.getItems()); |             clientSessionsForCustomerAndEquipment.addAll(clientSessions.getItems()); | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 ralphlee3
					ralphlee3