Commit de22bc5d authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Service component:

- Added temporary logs to debug CI/CD pipeline
parent 3334ca99
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -271,9 +271,13 @@ class ServiceServiceServicerImpl(ServiceServiceServicer):
                device_uuid = device.device_id.device_uuid.uuid
                device_names[device_uuid] = device.name

            LOGGER.warning('device_names={:s}'.format(str(device_names)))
            LOGGER.warning('service={:s}'.format(grpc_message_to_json_string(service)))

            devs = []
            ports = []
            for endpoint_id in service.service_endpoint_ids:
                LOGGER.warning('endpoint_id={:s}'.format(grpc_message_to_json_string(endpoint_id)))
                endpoint_device_uuid = endpoint_id.device_id.device_uuid.uuid
                endpoint_device_name = device_names[endpoint_device_uuid]
                devs.append(endpoint_device_name)