Skip to content

Commit

Permalink
Merge pull request #166 from anup-nehe/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
aranaravi authored Aug 17, 2023
2 parents 4d633fc + 9b24c65 commit 5f832fd
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ public static void init() {
iam_adminportal_path =System.getenv(IAM_ADMINPORTAL_PATH) == null
? propsKernel.getProperty(IAM_ADMINPORTAL_PATH)
: System.getenv(IAM_ADMINPORTAL_PATH);

logger.info("adminportal_path from config manager::" + iam_adminportal_path);
iam_apienvuser = System.getenv(IAM_APIENVUSER) == null
? propsKernel.getProperty(IAM_APIENVUSER)
Expand Down Expand Up @@ -281,15 +280,17 @@ public static void init() {
master_db_pass = getValueForKey(MASTER_DB_PASS);
master_db_schema = getValueForKey(MASTER_DB_SCHEMA);


iam_external_url = System.getenv(IAM_EXTERNAL_URL) == null
? propsKernel.getProperty(IAM_EXTERNAL_URL)
: System.getenv(IAM_EXTERNAL_URL);
logger.info("iam_external_url::" + iam_external_url);
System.out.println("env from doc" +System.getenv(IAM_EXTERNAL_URL));
System.out.println("env from kernal"+System.getProperty(IAM_EXTERNAL_URL));
logger.info("iam_external_url config manager init::" + iam_external_url);
//

// iam_external_url = getValueForKey(IAM_EXTERNAL_URL);
// logger.info("keycloakendpoint from config manager init::" + iam_external_url);

iam_external_url = getValueForKey(IAM_EXTERNAL_URL);
logger.info("keycloakendpoint from config manager::" + iam_external_url);
iam_adminportal_path =System.getenv(IAM_ADMINPORTAL_PATH) == null
? propsKernel.getProperty(IAM_ADMINPORTAL_PATH)
: System.getenv(IAM_ADMINPORTAL_PATH);
Expand All @@ -299,6 +300,7 @@ public static void init() {
? propsKernel.getProperty(IAM_APIENVUSER)
: System.getenv(IAM_APIENVUSER);
logger.info("apienvuser from config manager::" + iam_apienvuser);

iam_apiinternalendpoint = System.getenv(IAM_APIINTERNALENDPOINT) == null
? propsKernel.getProperty(IAM_APIINTERNALENDPOINT)
: System.getenv(IAM_APIINTERNALENDPOINT);
Expand Down Expand Up @@ -644,7 +646,7 @@ public static String getMasterDbSchema() {
//
// // from docker env getting only host url
public static String getiam_external_url() {
logger.info("keycloak url is:::" + iam_external_url + "/auth");
logger.info("keycloak url extarnal:::" + iam_external_url + "/auth");
return iam_external_url + "/auth";
}
//
Expand Down

0 comments on commit 5f832fd

Please sign in to comment.