All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mosip.pms.partner.controller.RoleController Maven / Gradle / Ivy

The newest version!
package io.mosip.pms.partner.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import io.mosip.pms.common.dto.RoleExtnDto;
import io.mosip.pms.common.response.dto.ResponseWrapper;
import io.mosip.pms.partner.service.RoleService;

@RestController
public class RoleController {

	@Autowired
	RoleService roleService;

	@GetMapping("/roles")
	private ResponseWrapper getRequiredRoles() {
		ResponseWrapper responseWrapper = new ResponseWrapper<>();
		responseWrapper.setResponse(roleService.getUIRequiredRoles());
		return responseWrapper;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy