tvaultapi/src/main/java/com/tmobile/cso/vault/api/v2/controller/AzureServicePrincipalAccountsController.java
@PostMapping(value="/v2/azureserviceaccounts/group",produces="application/json")
	@ApiOperation(value = "${AzureServicePrincipalAccountsController.addGroupToAzureServiceAccount.value}", notes = "${AzureServicePrincipalAccountsController.addGroupToAzureServiceAccount.notes}")
	public ResponseEntity<String> addGroupToAzureServiceAccount(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @RequestBody @Valid AzureServiceAccountGroup azureServiceAccountGroup){
	   UserDetails userDetails = (UserDetails) request.getAttribute(USER_DETAILS_STRING);
	   return azureServicePrincipalAccountsService.addGroupToAzureServiceAccount(token, azureServiceAccountGroup, userDetails);
	}
/**
	 * Add Group to Azure Service Principal.
	 * @param request
	 * @param token
	 * @param azureServiceAccountGroup
	 * @return
	 */
Add Group to Azure Service Principal.
Add Group to Azure Service Principal .
@PostMapping(value="/v2/azureserviceaccounts/group",produces="application/json")
	@ApiOperation(value = "${AzureServicePrincipalAccountsController.addGroupToAzureServiceAccount.value}", notes = "${AzureServicePrincipalAccountsController.addGroupToAzureServiceAccount.notes}")
	public ResponseEntity<String> addGroupToAzureServiceAccount(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @RequestBody @Valid AzureServiceAccountGroup azureServiceAccountGroup){
	   UserDetails userDetails = (UserDetails) request.getAttribute(USER_DETAILS_STRING);
	   return azureServicePrincipalAccountsService.addGroupToAzureServiceAccount(token, azureServiceAccountGroup, userDetails);
	}
@ PostMapping ( value = "/v2/azureserviceaccounts/group" , produces = "application/json" ) @ ApiOperation ( value = "${AzureServicePrincipalAccountsController.addGroupToAzureServiceAccount.value}" , notes = "${AzureServicePrincipalAccountsController.addGroupToAzureServiceAccount.notes}" ) public ResponseEntity < String > addGroupToAzureServiceAccount ( HttpServletRequest request , @ RequestHeader ( value = "vault-token" ) String token , @ RequestBody @ Valid AzureServiceAccountGroup azureServiceAccountGroup ) { UserDetails userDetails = ( UserDetails ) request . getAttribute ( USER_DETAILS_STRING ) ; return azureServicePrincipalAccountsService . addGroupToAzureServiceAccount ( token , azureServiceAccountGroup , userDetails ) ; }
Add Group to Azure Service Principal.
Add Group to Azure Service Principal .