revert: undo V3 migration commits (032f8fd..fc0153e)
Reverts 5 commits that migrated service to V3 (image, MySQL version, probe paths, Hibernate dialect, HTTPRoute path). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
032f8fdc19
commit
5033caa130
@ -18,7 +18,7 @@ stringData:
|
|||||||
<property name="connection.username">{{ include "property-settings-svc-v2-chart.databaseUsername" . }}</property>
|
<property name="connection.username">{{ include "property-settings-svc-v2-chart.databaseUsername" . }}</property>
|
||||||
<property name="connection.password">{{ include "property-settings-svc-v2-chart.databasePassword" . }}</property>
|
<property name="connection.password">{{ include "property-settings-svc-v2-chart.databasePassword" . }}</property>
|
||||||
<property name="connection.pool_size">1</property>
|
<property name="connection.pool_size">1</property>
|
||||||
<property name="dialect">ai.osmos.dblib.CustomMySQL8DialectUtf8mb4</property>
|
<property name="dialect">dblib.CustomMySQL8DialectUtf8mb4</property>
|
||||||
<property name="current_session_context_class">thread</property>
|
<property name="current_session_context_class">thread</property>
|
||||||
<property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
|
<property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
|
||||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||||
|
|||||||
@ -17,11 +17,11 @@ commonLabels:
|
|||||||
|
|
||||||
# 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/
|
||||||
image:
|
image:
|
||||||
repository: europe-west1-docker.pkg.dev/prj-onlinesales-prod-01/os-docker-images/onlinesales/github-actions/prod/java/propertysettingsservicev3
|
repository: europe-west1-docker.pkg.dev/prj-onlinesales-prod-01/os-docker-images/onlinesales/prod/services/java/propertysettingssvcv2
|
||||||
# This sets the pull policy for images.
|
# This sets the pull policy for images.
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "dev-4862005c33f336a5eaadc8424d5a6bebb66c345f"
|
tag: "1752740345878"
|
||||||
|
|
||||||
# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
@ -104,7 +104,7 @@ httpRoute:
|
|||||||
- matches:
|
- matches:
|
||||||
- path:
|
- path:
|
||||||
type: PathPrefix
|
type: PathPrefix
|
||||||
value: /propertySettingsSvcV3
|
value: /propertySettingsSvcV2
|
||||||
# filters:
|
# filters:
|
||||||
# - type: RequestHeaderModifier
|
# - type: RequestHeaderModifier
|
||||||
# requestHeaderModifier:
|
# requestHeaderModifier:
|
||||||
@ -129,7 +129,7 @@ resources:
|
|||||||
# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
|
# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /propertySettingsSvcV3/properties?jsonQuery=%7B%22requestType%22%3A%22GetAllProperties%22%2C%22isActive%22%3A%22true%22%2C%22propertyTypeFilter%22%3A%5B%22BUSINESS_SEGMENT_SET%22%5D%2C%22isBestProperty%22%3Afalse%2C%22entityDetails%22%3A%5B%7B%22entityType%22%3A%22AGENCY%22%2C%22entityValue%22%3A%22424_1%22%7D%5D%2C%22application%22%3A%22nagios%22%7D
|
path: /propertySettingsSvcV2/properties?jsonQuery=%7B%22requestType%22%3A%22GetAllProperties%22%2C%22isActive%22%3A%22true%22%2C%22propertyTypeFilter%22%3A%5B%22BUSINESS_SEGMENT_SET%22%5D%2C%22isBestProperty%22%3Afalse%2C%22entityDetails%22%3A%5B%7B%22entityType%22%3A%22AGENCY%22%2C%22entityValue%22%3A%22424_1%22%7D%5D%2C%22application%22%3A%22nagios%22%7D
|
||||||
port: http
|
port: http
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
@ -137,7 +137,7 @@ livenessProbe:
|
|||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /propertySettingsSvcV3/properties?jsonQuery=%7B%22requestType%22%3A%22GetAllProperties%22%2C%22isActive%22%3A%22true%22%2C%22propertyTypeFilter%22%3A%5B%22BUSINESS_SEGMENT_SET%22%5D%2C%22isBestProperty%22%3Afalse%2C%22entityDetails%22%3A%5B%7B%22entityType%22%3A%22AGENCY%22%2C%22entityValue%22%3A%22424_1%22%7D%5D%2C%22application%22%3A%22nagios%22%7D
|
path: /propertySettingsSvcV2/properties?jsonQuery=%7B%22requestType%22%3A%22GetAllProperties%22%2C%22isActive%22%3A%22true%22%2C%22propertyTypeFilter%22%3A%5B%22BUSINESS_SEGMENT_SET%22%5D%2C%22isBestProperty%22%3Afalse%2C%22entityDetails%22%3A%5B%7B%22entityType%22%3A%22AGENCY%22%2C%22entityValue%22%3A%22424_1%22%7D%5D%2C%22application%22%3A%22nagios%22%7D
|
||||||
port: http
|
port: http
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
@ -190,7 +190,7 @@ affinity: {}
|
|||||||
mysql:
|
mysql:
|
||||||
enabled: true
|
enabled: true
|
||||||
image: "mysql"
|
image: "mysql"
|
||||||
imageTag: "8.4"
|
imageTag: "8.0.33"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
mysqlRootPassword: "changeme"
|
mysqlRootPassword: "changeme"
|
||||||
mysqlUser: "propertysettings"
|
mysqlUser: "propertysettings"
|
||||||
@ -207,6 +207,7 @@ mysql:
|
|||||||
configurationFiles:
|
configurationFiles:
|
||||||
mysql.cnf: |-
|
mysql.cnf: |-
|
||||||
[mysqld]
|
[mysqld]
|
||||||
|
default_authentication_plugin=mysql_native_password
|
||||||
character-set-server=utf8
|
character-set-server=utf8
|
||||||
collation-server=utf8_general_ci
|
collation-server=utf8_general_ci
|
||||||
sql_mode=NO_ENGINE_SUBSTITUTION
|
sql_mode=NO_ENGINE_SUBSTITUTION
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user