From e15462778eac52c89bbb27b0034e39425ed959e3 Mon Sep 17 00:00:00 2001 From: Sonali Shakya Date: Thu, 12 Dec 2024 11:37:09 +0530 Subject: [PATCH] Enum value revert --- .../Entity/SessionDetails.java | 2 +- .../src/main/resources/application.properties | 8 ++++---- .../Entity/SessionDetails$Code.class | Bin 1490 -> 1489 bytes 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/yugabyte-integration/src/main/java/com/ondc/yugabyte_integration/Entity/SessionDetails.java b/yugabyte-integration/src/main/java/com/ondc/yugabyte_integration/Entity/SessionDetails.java index 579c7f5..197ff1e 100644 --- a/yugabyte-integration/src/main/java/com/ondc/yugabyte_integration/Entity/SessionDetails.java +++ b/yugabyte-integration/src/main/java/com/ondc/yugabyte_integration/Entity/SessionDetails.java @@ -33,7 +33,7 @@ public enum Type { } public enum Code { - TRV11 ("METRO"); + METRO ("TRV11"); public final String domainCode; diff --git a/yugabyte-integration/src/main/resources/application.properties b/yugabyte-integration/src/main/resources/application.properties index dbc1c72..7c62a07 100644 --- a/yugabyte-integration/src/main/resources/application.properties +++ b/yugabyte-integration/src/main/resources/application.properties @@ -1,9 +1,9 @@ spring.application.name=yugabyte-integration -spring.datasource.url=${DB_URL} -#spring.datasource.url=jdbc:postgresql://127.0.0.1:5433/my_app +#spring.datasource.url=${DB_URL} +spring.datasource.url=jdbc:postgresql://127.0.0.1:5433/my_app spring.datasource.username=yugabyte -#spring.datasource.password= -spring.datasource.password=${DB_PASSWORD} +spring.datasource.password= +#spring.datasource.password=${DB_PASSWORD} spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect spring.jpa.hibernate.ddl-auto=update spring.jpa.show-sql=true diff --git a/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails$Code.class b/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails$Code.class index 5613f6ccf222ca13bc34af7772b5b813a794f27d..02515da1663f55cd1623d69b1932d95e74dcaf93 100644 GIT binary patch delta 17 Zcmcb_eUW>^RYn%pkf5;5w-|pg0{}jk2F?Hg delta 18 acmcb}eTjR+RYq2}kf1QD%{Li;FarQYM+XT2