feat(platform): expose deployed release
This commit is contained in:
@@ -895,6 +895,7 @@ func TestHandlerOpsHealthIncludesVehicleServiceRuntime(t *testing.T) {
|
||||
AMapSecurityProxyEnabled: true,
|
||||
AMapSecurityCodeExposed: false,
|
||||
AMapSecurityServiceHost: "/_AMapService",
|
||||
PlatformRelease: "platform-20260704153005",
|
||||
}))
|
||||
rec := httptest.NewRecorder()
|
||||
req := httptest.NewRequest(http.MethodGet, "/api/ops/health", nil)
|
||||
@@ -920,6 +921,9 @@ func TestHandlerOpsHealthIncludesVehicleServiceRuntime(t *testing.T) {
|
||||
if body.Data.Runtime.AMapSecurityServiceHost != "/_AMapService" {
|
||||
t.Fatalf("ops health should include AMap security service host, got %+v", body.Data.Runtime)
|
||||
}
|
||||
if body.Data.Runtime.PlatformRelease != "platform-20260704153005" {
|
||||
t.Fatalf("ops health should include platform release, got %+v", body.Data.Runtime)
|
||||
}
|
||||
}
|
||||
|
||||
func TestHandlerVehicleDataAPIsResolveVehicleKeyword(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user