Skip to content

Commit

Permalink
feat: add Layer Property for IMasaStackConfig (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qinyouzeng authored Mar 21, 2023
1 parent 82f6253 commit 679b50d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public interface IMasaStackConfig

public bool SingleSsoClient { get; }

public string TscLayer { get; }

string GetValue(string key);

Dictionary<string, string> GetValues();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ public static class MasaStackConfigConstant
public const string OTLP_URL = "OTLP_URL";
public const string ADMIN_PWD = "ADMIN_PWD";
public const string DCC_SECRET = "DCC_SECRET";
public const string TSC_LAYER = "TSC_LAYER";
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public ElasticModel ElasticModel

public string DccSecret => GetValue(MasaStackConfigConstant.DCC_SECRET);

public string TscLayer => GetValue(MasaStackConfigConstant.TSC_LAYER);

public bool SingleSsoClient { get; }

public List<string> GetProjectList() => this.GetAllServer().Keys.ToList();
Expand Down

0 comments on commit 679b50d

Please sign in to comment.