bobbai00 commented on code in PR #9650:
URL: https://github.com/apache/texera/pull/9650#discussion_r4675032349
##########
bin/local-dev/main.sh:
##########
@@ -950,6 +952,15 @@ amap_set SVC_ZIP_GLOB notebook-migration-service
"notebook-migration-service/t
amap_set SVC_UNZIP_DEST notebook-migration-service "target/"
amap_set SVC_HEALTH notebook-migration-service "/api/healthcheck"
+amap_set SVC_TYPE result-service jvm
+amap_set SVC_PORT result-service 9102
+amap_set SVC_SBT result-service ResultService
+amap_set SVC_LAUNCHER result-service
"target/result-service-${TEXERA_VERSION}/bin/result-service"
+amap_set SVC_CWD result-service "."
+amap_set SVC_ZIP_GLOB result-service
"result-service/target/universal/result-service-*.zip"
+amap_set SVC_UNZIP_DEST result-service "target/"
+amap_set SVC_HEALTH result-service "/api/healthcheck"
Review Comment:
**Advisory:**
Nothing reads `SVC_HEALTH`. The Health step in `cmd_up` only waits for the
port
([`main.sh:3429-3438`](https://github.com/apache/texera/blob/175d6fc8a6b1cb807eb20fa252e9041d8b78b320/bin/local-dev/main.sh#L3429-L3438)).
So this row never probes `/api/healthcheck`, like the same row on every other
service. Keep it for parity, and drop the map from every row in a follow-up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]