Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Add environment name to base config - BI-225
Browse files Browse the repository at this point in the history
  • Loading branch information
bekesibeks committed Jul 8, 2021
1 parent b2c5d91 commit fc62df4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/src/main/java/com/pkb/common/config/BaseConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ default boolean isPubSubTestControlEnabled() {
return getConfigStorage().getBoolean("pubsub.testcontrolenabled", false);
}

default String getEnvironmentName() {
return getConfigStorage().getString("environment.name", "NOT_SET");
}

/**
* @param protocol defaults to http
* @param host valid value required
Expand Down

0 comments on commit fc62df4

Please sign in to comment.