edgexfoundry / edgex-compose

EdgeX Foundry Docker Compose release compose files and tools for building EdgeX compose files
Apache License 2.0
82 stars 119 forks source link

Add on services are not added to API Gateway via Proxy Setup #405

Closed lenny-goodell closed 1 year ago

lenny-goodell commented 1 year ago

🐞 Bug Report

Affected Services [REQUIRED]

Compose Builder Makefile ### Is this a regression? Not sure. Thought this work at one time in Levski ### Description and Minimal Reproduction [**REQUIRED**] Run `make gen ds-onvif-camera ds-usb-camera ds-bacnet-ip ds-bacnet-mstp ds-modbus ds-mqtt ds-rest ds-snmp ds-virtual ds-llrp ds-coap ds-gpio asc-http asc-mqtt asc-sample asc-metrics as-llrp asc-ex-mqtt` `EDGEX_ADD_PROXY_ROUTE` in generated compose file is empty. Should have proxy routes for each of the add on services. ## πŸ”₯ Exception or Error Not Found error for https://localhost:8443/device-gpio/api/v3/ping and others above (except device-virtual) ## 🌍 Your Environment N/A
lenny-goodell commented 1 year ago

Setting EXTRA_PROXY_ROUTE_LIST is missing from each service. The code here added for Device UART must be added to all add on services (except Device Virtual) https://github.com/edgexfoundry/edgex-compose/blob/minnesota/compose-builder/Makefile#L387-L392