1 package edgebsl 2 3 import "time" 4 5 const ( 6 // BFFUsername is the name of the bff user for the edge root user. 7 BFFUsername = "bffuser" 8 // BSLSecretNamespace is the name of the namespace the bsl secret is stored in. 9 BSLSecretNamespace = "edge-system" 10 // EnterpriseTypeName is the name of the bsl enterprise type 11 EnterpriseTypeName = "organization" 12 // EnterpriseTypeDescription is the description of the bsl enterprise type 13 EnterpriseTypeDescription = "EU type for Edge Banner." 14 // getEdgeOrgs is the url path for getting bsl edge org 15 getEdgeOrgs = "customer-activation/onboard/Edge/organizations" 16 // createBslGroupPath is the url path for creating bsl groups. 17 createBslGroupPath = "/security/groups" 18 // createBslUserPath is the url path for creating bsl users. 19 createBslUserPath = "/provisioning/users" 20 // grantBslRolePath is the url path for granting bsl user group a specific role. 21 grantBslRolePath = "/security/role-grants/group-grants" 22 // revokeBslRoleFromGroupPath is the url path for revoking roles from a user group. 23 revokeBslRoleFromGroupPath = "/security/role-grants/group-grants/revoke" 24 // getUserGroupGrantedRoles is the url path for roles assigned to a user group. 25 getUserGroupGrantedRoles = "/security/role-grants/group-grants/%s/granted-roles" 26 // grantRoleToRootUser is the url path to grant root user some roles. 27 grantRoleToRootUser = "/security/group-memberships" 28 // resetBslUserPasswordPath is the url path for resetting a bsl user's password. 29 resetBslUserPasswordPath = "/provisioning/users/reset-password" 30 // createEnterpriseUnitType is the url path for creating an enterprise unit. 31 createEnterpriseUnitType = "/provisioning/enterprise-types" 32 // createUserAccessKeyPath is the url path for creating a new secret and shared key. 33 createUserAccessKeyPath = "/security/security-access-keys" 34 // defaultTimeout is the defaualt timeout for the bsl http client 35 defaultTimeout = 60 * time.Second 36 ) 37