public class AppGroup extends Object
GroupController
.Modifier and Type | Field and Description |
---|---|
static String |
APP_NAME_PARAM
Application group path name used by default.
|
static String |
DOMAIN_METADATA |
static String |
GROUP_SEP
Application group name separator.
|
static String |
USERID_METADATA
Additional metadata used when creating new groups.
|
Constructor and Description |
---|
AppGroup(String domain,
String name)
Constructor for
AppGroup . |
Modifier and Type | Method and Description |
---|---|
static AppGroup |
from(String domain,
String name)
Creates new
AppGroup from the given domain and app group name. |
String |
getAssembly()
Returns OneOps assembly for the application group.
|
String |
getDomain()
Returns oneOps mgmt domain for the application group.
|
String |
getEnv()
Returns OneOps env for the application group.
|
String |
getGroupName()
Returns the keywhiz group name.
|
String |
getKeywhizGroup()
Returns the http url encoded
getGroupName() . |
String |
getName()
Returns application group name.
|
String |
getNsPath()
Returns OneOps env nspath for the application group.
|
String |
getOrg()
Returns OneOps org for the application group.
|
String |
getOrgNsPath()
Returns OneOps org nspath for the application group.
|
String |
toString() |
public static final String APP_NAME_PARAM
public static final String GROUP_SEP
public static final String USERID_METADATA
public static final String DOMAIN_METADATA
public static AppGroup from(@Nonnull String domain, @Nonnull String name)
AppGroup
from the given domain and app group name.domain
- OneOps mgmt domainname
- application group name. OneOps environment name with {org}_{assembly}_{env}
format.AppGroup
IllegalArgumentException
- if the app group name format is not valid.public String getDomain()
public String getName()
public String getOrg()
public String getOrgNsPath()
public String getAssembly()
public String getEnv()
public String getNsPath()
public String getGroupName()
public String getKeywhizGroup() throws UnsupportedEncodingException
getGroupName()
. Use this method when making requests to
keywhiz servers. The URL encoded group name is used for request conUnsupportedEncodingException
Copyright © 2018 Walmart, Inc.. All rights reserved.