Skip to content

Commit 27750ad

Browse files
committed
fix: correct route URLs to use http instead of https
Routes are created without TLS termination by default, so URLs should use http:// not https://. This fixes the quick test commands shown at deployment completion. Tested and verified: - curl http://semantic-router-api.../health works - curl -X POST http://semantic-router-api.../api/v1/classify/intent works Signed-off-by: Yossi Ovadia <[email protected]>
1 parent ffe9f69 commit 27750ad

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

deploy/openshift/deploy-to-openshift.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -773,21 +773,21 @@ show_deployment_info() {
773773
fi
774774

775775
if [[ -n "$api_route" ]]; then
776-
echo "Classification API: https://$api_route"
777-
echo "Health Check: https://$api_route/health"
776+
echo "Classification API: http://$api_route"
777+
echo "Health Check: http://$api_route/health"
778778
fi
779779
if [[ -n "$grpc_route" ]]; then
780-
echo "gRPC API: https://$grpc_route"
780+
echo "gRPC API: http://$grpc_route"
781781
fi
782782
if [[ -n "$metrics_route" ]]; then
783-
echo "Metrics: https://$metrics_route/metrics"
783+
echo "Metrics: http://$metrics_route/metrics"
784784
fi
785785

786786
echo ""
787787
echo "=== Quick Test Commands ==="
788788
if [[ -n "$api_route" ]]; then
789-
echo "curl -k https://$api_route/health"
790-
echo "curl -k -X POST https://$api_route/api/v1/classify/intent -H 'Content-Type: application/json' -d '{\"text\": \"Hello world\"}'"
789+
echo "curl http://$api_route/health"
790+
echo "curl -X POST http://$api_route/api/v1/classify/intent -H 'Content-Type: application/json' -d '{\"text\": \"What is 2+2?\"}'"
791791
fi
792792
}
793793

0 commit comments

Comments
 (0)