Fix service URLs, Hades endpoint, auth, and add osmos.ai/service-name

- Fix self-reference URL: prop-property-settings → property-settings-v2-service
- Fix Hades URL: hades.hades.svc.cluster.local → hades-service
- Fix backstage.io/kubernetes-id: property-settings-service → property-settings-v2-service
- Disable auth (auth_enable: false) for test environment
- Add osmos.ai/service-name: psDbService_rw (matches Java hardcoded app name)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Sagar Patil 2026-03-19 20:03:22 +05:30
parent 61365f8124
commit 6e59dcdbe7
2 changed files with 24 additions and 23 deletions

View File

@ -24,19 +24,19 @@ data:
{ {
"post_properties": "post_properties":
{ {
"url": "http://prop-property-settings:8080/propertySettingsSvcV2/properties", "url": "http://property-settings-v2-service:8080/propertySettingsSvcV2/properties",
"type": "post", "type": "post",
"response": "com.sokrati.propertySettingsSvcObjectsV2.PostPropertiesResponse" "response": "com.sokrati.propertySettingsSvcObjectsV2.PostPropertiesResponse"
}, },
"get_all_properties": "get_all_properties":
{ {
"url": "http://prop-property-settings:8080/propertySettingsSvcV2/properties", "url": "http://property-settings-v2-service:8080/propertySettingsSvcV2/properties",
"type": "get", "type": "get",
"response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse" "response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse"
}, },
"get_best_properties": "get_best_properties":
{ {
"url": "http://prop-property-settings:8080/propertySettingsSvcV2/properties", "url": "http://property-settings-v2-service:8080/propertySettingsSvcV2/properties",
"type": "get", "type": "get",
"response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse" "response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse"
}, },
@ -55,19 +55,19 @@ data:
{ {
"post_properties": "post_properties":
{ {
"url": "http://prop-property-settings:8080/propertySettingsSvcV2/properties", "url": "http://property-settings-v2-service:8080/propertySettingsSvcV2/properties",
"type": "post", "type": "post",
"response": "com.sokrati.propertySettingsSvcObjectsV2.PostPropertiesResponse" "response": "com.sokrati.propertySettingsSvcObjectsV2.PostPropertiesResponse"
}, },
"get_all_properties": "get_all_properties":
{ {
"url": "http://prop-property-settings:8080/propertySettingsSvcV2/properties", "url": "http://property-settings-v2-service:8080/propertySettingsSvcV2/properties",
"type": "get", "type": "get",
"response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse" "response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse"
}, },
"get_best_properties": "get_best_properties":
{ {
"url": "http://prop-property-settings:8080/propertySettingsSvcV2/properties", "url": "http://property-settings-v2-service:8080/propertySettingsSvcV2/properties",
"type": "get", "type": "get",
"response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse" "response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse"
}, },
@ -90,7 +90,7 @@ data:
{{- else }} {{- else }}
hades_auth_url : "{{ .Values.hades.baseUrl }}/hadesV2/authorize", hades_auth_url : "{{ .Values.hades.baseUrl }}/hadesV2/authorize",
{{- end }} {{- end }}
auth_enable : true auth_enable : false
}, },
test: { test: {
{{- if .Values.traefik.enabled }} {{- if .Values.traefik.enabled }}
@ -98,7 +98,7 @@ data:
{{- else }} {{- else }}
hades_auth_url : "{{ .Values.hades.baseUrl }}/hadesV2/authorize", hades_auth_url : "{{ .Values.hades.baseUrl }}/hadesV2/authorize",
{{- end }} {{- end }}
auth_enable : true auth_enable : false
} }
} }
statsLogging.cfg: | statsLogging.cfg: |

View File

@ -4,7 +4,7 @@
# External service dependencies - URLs can be overridden via Helm parameters # External service dependencies - URLs can be overridden via Helm parameters
hades: hades:
baseUrl: "http://hades.hades.svc.cluster.local:8080" baseUrl: "http://hades-service:8080"
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ # This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
replicaCount: 1 replicaCount: 1
@ -12,7 +12,7 @@ replicaCount: 1
# Common labels to add to all resources # Common labels to add to all resources
# These labels enable Backstage discovery and Hades IP registration # These labels enable Backstage discovery and Hades IP registration
commonLabels: commonLabels:
backstage.io/kubernetes-id: "property-settings-service" backstage.io/kubernetes-id: "property-settings-v2-service"
osmos.ai/track: "true" osmos.ai/track: "true"
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/ # This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
@ -43,7 +43,8 @@ serviceAccount:
# This is for setting Kubernetes Annotations to a Pod. # This is for setting Kubernetes Annotations to a Pod.
# For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ # For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podAnnotations: {} podAnnotations:
osmos.ai/service-name: "psDbService_rw"
# This is for setting Kubernetes Labels to a Pod. # This is for setting Kubernetes Labels to a Pod.
# For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ # For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {} podLabels: {}
@ -271,25 +272,25 @@ config:
{ {
"post_properties": "post_properties":
{ {
"url": "http://prop-property-settings:8080/propertySettingsSvcV2/properties", "url": "http://property-settings-v2-service:8080/propertySettingsSvcV2/properties",
"type": "post", "type": "post",
"response": "com.sokrati.propertySettingsSvcObjectsV2.PostPropertiesResponse" "response": "com.sokrati.propertySettingsSvcObjectsV2.PostPropertiesResponse"
}, },
"get_all_properties": "get_all_properties":
{ {
"url": "http://prop-property-settings:8080/propertySettingsSvcV2/properties", "url": "http://property-settings-v2-service:8080/propertySettingsSvcV2/properties",
"type": "get", "type": "get",
"response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse" "response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse"
}, },
"get_best_properties": "get_best_properties":
{ {
"url": "http://prop-property-settings:8080/propertySettingsSvcV2/properties", "url": "http://property-settings-v2-service:8080/propertySettingsSvcV2/properties",
"type": "get", "type": "get",
"response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse" "response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse"
}, },
"fetch_context": "fetch_context":
{ {
"url": "http://hades.hades.svc.cluster.local:8080/hadesV2/context", "url": "http://hades-service:8080/hadesV2/context",
"type": "get", "type": "get",
"response": "com.sokrati.hadesObjects.ContextResponse" "response": "com.sokrati.hadesObjects.ContextResponse"
} }
@ -300,25 +301,25 @@ config:
{ {
"post_properties": "post_properties":
{ {
"url": "http://prop-property-settings:8080/propertySettingsSvcV2/properties", "url": "http://property-settings-v2-service:8080/propertySettingsSvcV2/properties",
"type": "post", "type": "post",
"response": "com.sokrati.propertySettingsSvcObjectsV2.PostPropertiesResponse" "response": "com.sokrati.propertySettingsSvcObjectsV2.PostPropertiesResponse"
}, },
"get_all_properties": "get_all_properties":
{ {
"url": "http://prop-property-settings:8080/propertySettingsSvcV2/properties", "url": "http://property-settings-v2-service:8080/propertySettingsSvcV2/properties",
"type": "get", "type": "get",
"response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse" "response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse"
}, },
"get_best_properties": "get_best_properties":
{ {
"url": "http://prop-property-settings:8080/propertySettingsSvcV2/properties", "url": "http://property-settings-v2-service:8080/propertySettingsSvcV2/properties",
"type": "get", "type": "get",
"response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse" "response": "com.sokrati.propertySettingsSvcObjectsV2.GetPropertiesResponse"
}, },
"fetch_context": "fetch_context":
{ {
"url": "http://hades.hades.svc.cluster.local:8080/hadesV2/context", "url": "http://hades-service:8080/hadesV2/context",
"type": "get", "type": "get",
"response": "com.sokrati.hadesObjects.ContextResponse" "response": "com.sokrati.hadesObjects.ContextResponse"
} }
@ -328,12 +329,12 @@ config:
auth: | auth: |
{ {
prod: { prod: {
hades_auth_url : "http://hades.hades.svc.cluster.local:8080/hadesV2/authorize", hades_auth_url : "http://hades-service:8080/hadesV2/authorize",
auth_enable : true auth_enable : false
}, },
test: { test: {
hades_auth_url : "http://hades.hades.svc.cluster.local:8080/hadesV2/authorize", hades_auth_url : "http://hades-service:8080/hadesV2/authorize",
auth_enable : true auth_enable : false
} }
} }