test_class.declarator: mockMvc
test_class.modifier: @Autowired
test_class.original_string: @Autowired
      MockMvc mockMvc;
test_class.type: MockMvc
test_class.var_name: mockMvc
test_class.declarator: localAuthorityController
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private LocalAuthorityController localAuthorityController;
test_class.type: LocalAuthorityController
test_class.var_name: localAuthorityController
test_class.declarator: localAuthorityService
test_class.modifier: @MockBean
      private
test_class.original_string: @MockBean
      private LocalAuthorityService localAuthorityService;
test_class.type: LocalAuthorityService
test_class.var_name: localAuthorityService
test_class.declarator: profileService
test_class.modifier: @MockBean
      private
test_class.original_string: @MockBean
      private ProfileService profileService;
test_class.type: ProfileService
test_class.var_name: profileService
test_class.declarator: workGroupService
test_class.modifier: @MockBean
      private
test_class.original_string: @MockBean
      private WorkGroupService workGroupService;
test_class.type: WorkGroupService
test_class.var_name: workGroupService
test_class.file: admin-service/src/test/java/fr/sictiam/stela/admin/controller/LocalAuthorityControllerTest.java
test_class.identifier: LocalAuthorityControllerTest
test_case.body: @Test
      public void getDcId() throws Exception {
          OzwilloInstanceInfo ozwilloInstanceInfo = new OzwilloInstanceInfo();
          ReflectionTestUtils.setField(ozwilloInstanceInfo, "dcId", "https://data.sictiam.fr/dc/type/test:Test_0");
  
          LocalAuthority localAuthority = new LocalAuthority("uuid-local-authority-test-one");
          localAuthority.setOzwilloInstanceInfo(ozwilloInstanceInfo);
          localAuthority.setSiren("123456789");
  
          given(localAuthorityService.findBySiren("123456789")).willReturn(Optional.of(localAuthority));
  
  
          ResultActions resultActions = mockMvc.perform(get("/api/admin/local-authority/123456789/dcId"));
  
          resultActions
                  .andExpect(matchAll(
                          status().isOk(),
                          jsonPath("$").value("https://data.sictiam.fr/dc/type/test:Test_0")
                  ))
                  .andDo(print());
      }
test_case.class_method_signature: LocalAuthorityControllerTest.getDcId()
test_case.full_signature: @Test public void getDcId()
test_case.identifier: getDcId
test_case.invocations: setField setOzwilloInstanceInfo setSiren willReturn given findBySiren of perform get andDo andExpect matchAll isOk status value jsonPath print
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getDcId()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(LocalAuthorityController.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(LocalAuthorityController.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: localAuthorityService
focal_class.modifier: private final
focal_class.original_string: private final LocalAuthorityService localAuthorityService;
focal_class.type: LocalAuthorityService
focal_class.var_name: localAuthorityService
focal_class.declarator: profileService
focal_class.modifier: private final
focal_class.original_string: private final ProfileService profileService;
focal_class.type: ProfileService
focal_class.var_name: profileService
focal_class.declarator: workGroupService
focal_class.modifier: private final
focal_class.original_string: private final WorkGroupService workGroupService;
focal_class.type: WorkGroupService
focal_class.var_name: workGroupService
focal_class.file: admin-service/src/main/java/fr/sictiam/stela/admin/controller/LocalAuthorityController.java
focal_class.identifier: LocalAuthorityController
focal_class.class_method_signature: LocalAuthorityController.LocalAuthorityController(LocalAuthorityService localAuthorityService, ProfileService profileService,
              WorkGroupService workGroupService)
focal_class.full_signature: public  LocalAuthorityController(LocalAuthorityService localAuthorityService, ProfileService profileService,
              WorkGroupService workGroupService)
focal_class.identifier: LocalAuthorityController
focal_class.modifiers: public
focal_class.parameters: (LocalAuthorityService localAuthorityService, ProfileService profileService,
              WorkGroupService workGroupService)
focal_class.signature:  LocalAuthorityController(LocalAuthorityService localAuthorityService, ProfileService profileService,
              WorkGroupService workGroupService)
focal_class.class_method_signature: LocalAuthorityController.getSlugByInstanceId(@PathVariable String instaceId)
focal_class.full_signature: @GetMapping("/instance-id/{instaceId}") public ResponseEntity<String> getSlugByInstanceId(@PathVariable String instaceId)
focal_class.identifier: getSlugByInstanceId
focal_class.modifiers: @GetMapping("/instance-id/{instaceId}") public
focal_class.parameters: (@PathVariable String instaceId)
focal_class.return: ResponseEntity<String>
focal_class.signature: ResponseEntity<String> getSlugByInstanceId(@PathVariable String instaceId)
focal_class.class_method_signature: LocalAuthorityController.getCurrentLocalAuthority(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid)
focal_class.full_signature: @GetMapping("/current") @JsonView(Views.LocalAuthorityView.class) public ResponseEntity<LocalAuthority> getCurrentLocalAuthority(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid)
focal_class.identifier: getCurrentLocalAuthority
focal_class.modifiers: @GetMapping("/current") @JsonView(Views.LocalAuthorityView.class) public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid)
focal_class.return: ResponseEntity<LocalAuthority>
focal_class.signature: ResponseEntity<LocalAuthority> getCurrentLocalAuthority(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid)
focal_class.class_method_signature: LocalAuthorityController.getAllBasicLocalAuthorities()
focal_class.full_signature: @GetMapping("/all") @JsonView(Views.LocalAuthorityViewBasic.class) public List<LocalAuthority> getAllBasicLocalAuthorities()
focal_class.identifier: getAllBasicLocalAuthorities
focal_class.modifiers: @GetMapping("/all") @JsonView(Views.LocalAuthorityViewBasic.class) public
focal_class.parameters: ()
focal_class.return: List<LocalAuthority>
focal_class.signature: List<LocalAuthority> getAllBasicLocalAuthorities()
focal_class.class_method_signature: LocalAuthorityController.getLocalAuthorityByUuid(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid,
              @PathVariable String uuid)
focal_class.full_signature: @GetMapping("/{uuid}") @JsonView(Views.LocalAuthorityView.class) public ResponseEntity<LocalAuthority> getLocalAuthorityByUuid(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid,
              @PathVariable String uuid)
focal_class.identifier: getLocalAuthorityByUuid
focal_class.modifiers: @GetMapping("/{uuid}") @JsonView(Views.LocalAuthorityView.class) public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid,
              @PathVariable String uuid)
focal_class.return: ResponseEntity<LocalAuthority>
focal_class.signature: ResponseEntity<LocalAuthority> getLocalAuthorityByUuid(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid,
              @PathVariable String uuid)
focal_class.class_method_signature: LocalAuthorityController.getInstanceInfoBySlugName(@PathVariable String slugName)
focal_class.full_signature: @GetMapping("/instance/slug-name/{slugName}") public OzwilloInstanceInfo getInstanceInfoBySlugName(@PathVariable String slugName)
focal_class.identifier: getInstanceInfoBySlugName
focal_class.modifiers: @GetMapping("/instance/slug-name/{slugName}") public
focal_class.parameters: (@PathVariable String slugName)
focal_class.return: OzwilloInstanceInfo
focal_class.signature: OzwilloInstanceInfo getInstanceInfoBySlugName(@PathVariable String slugName)
focal_class.class_method_signature: LocalAuthorityController.getInstanceInfoByInstanceId(@PathVariable String instanceId)
focal_class.full_signature: @GetMapping("/instance/instance-id/{instanceId}") public OzwilloInstanceInfo getInstanceInfoByInstanceId(@PathVariable String instanceId)
focal_class.identifier: getInstanceInfoByInstanceId
focal_class.modifiers: @GetMapping("/instance/instance-id/{instanceId}") public
focal_class.parameters: (@PathVariable String instanceId)
focal_class.return: OzwilloInstanceInfo
focal_class.signature: OzwilloInstanceInfo getInstanceInfoByInstanceId(@PathVariable String instanceId)
focal_class.class_method_signature: LocalAuthorityController.addModule(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid,
              @PathVariable Module module)
focal_class.full_signature: @PostMapping("/current/{module}") public ResponseEntity addModule(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid,
              @PathVariable Module module)
focal_class.identifier: addModule
focal_class.modifiers: @PostMapping("/current/{module}") public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid,
              @PathVariable Module module)
focal_class.return: ResponseEntity
focal_class.signature: ResponseEntity addModule(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid,
              @PathVariable Module module)
focal_class.class_method_signature: LocalAuthorityController.removeModule(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid,
              @PathVariable Module module)
focal_class.full_signature: @DeleteMapping("/current/{module}") public ResponseEntity removeModule(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid,
              @PathVariable Module module)
focal_class.identifier: removeModule
focal_class.modifiers: @DeleteMapping("/current/{module}") public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid,
              @PathVariable Module module)
focal_class.return: ResponseEntity
focal_class.signature: ResponseEntity removeModule(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String agentUuid,
              @PathVariable Module module)
focal_class.class_method_signature: LocalAuthorityController.getProfile(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @PathVariable String agentUuid)
focal_class.full_signature: @GetMapping("/{uuid}/agent/{agentUuid}") @JsonView(Views.ProfileView.class) public ResponseEntity<Profile> getProfile(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @PathVariable String agentUuid)
focal_class.identifier: getProfile
focal_class.modifiers: @GetMapping("/{uuid}/agent/{agentUuid}") @JsonView(Views.ProfileView.class) public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @PathVariable String agentUuid)
focal_class.return: ResponseEntity<Profile>
focal_class.signature: ResponseEntity<Profile> getProfile(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @PathVariable String agentUuid)
focal_class.class_method_signature: LocalAuthorityController.getProfileFromCurrent(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String agentUuid)
focal_class.full_signature: @GetMapping("/current/agent/{agentUuid}") @JsonView(Views.ProfileView.class) public ResponseEntity<Profile> getProfileFromCurrent(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String agentUuid)
focal_class.identifier: getProfileFromCurrent
focal_class.modifiers: @GetMapping("/current/agent/{agentUuid}") @JsonView(Views.ProfileView.class) public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String agentUuid)
focal_class.return: ResponseEntity<Profile>
focal_class.signature: ResponseEntity<Profile> getProfileFromCurrent(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String agentUuid)
focal_class.class_method_signature: LocalAuthorityController.getAllGroupByLocalAuthority(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.full_signature: @GetMapping("/{uuid}/group") @JsonView(Views.WorkGroupView.class) public ResponseEntity<List<WorkGroup>> getAllGroupByLocalAuthority(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.identifier: getAllGroupByLocalAuthority
focal_class.modifiers: @GetMapping("/{uuid}/group") @JsonView(Views.WorkGroupView.class) public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.return: ResponseEntity<List<WorkGroup>>
focal_class.signature: ResponseEntity<List<WorkGroup>> getAllGroupByLocalAuthority(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.class_method_signature: LocalAuthorityController.getAllGroupByLocalAuthorityAndModule(@PathVariable String uuid,
              @PathVariable String moduleName)
focal_class.full_signature: @GetMapping("/{uuid}/{moduleName}/group") @JsonView(Views.WorkGroupView.class) public ResponseEntity<List<WorkGroup>> getAllGroupByLocalAuthorityAndModule(@PathVariable String uuid,
              @PathVariable String moduleName)
focal_class.identifier: getAllGroupByLocalAuthorityAndModule
focal_class.modifiers: @GetMapping("/{uuid}/{moduleName}/group") @JsonView(Views.WorkGroupView.class) public
focal_class.parameters: (@PathVariable String uuid,
              @PathVariable String moduleName)
focal_class.return: ResponseEntity<List<WorkGroup>>
focal_class.signature: ResponseEntity<List<WorkGroup>> getAllGroupByLocalAuthorityAndModule(@PathVariable String uuid,
              @PathVariable String moduleName)
focal_class.class_method_signature: LocalAuthorityController.getAllGroupForCurrent(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid)
focal_class.full_signature: @GetMapping("/current/group") @JsonView(Views.WorkGroupView.class) public ResponseEntity<List<WorkGroup>> getAllGroupForCurrent(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid)
focal_class.identifier: getAllGroupForCurrent
focal_class.modifiers: @GetMapping("/current/group") @JsonView(Views.WorkGroupView.class) public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid)
focal_class.return: ResponseEntity<List<WorkGroup>>
focal_class.signature: ResponseEntity<List<WorkGroup>> getAllGroupForCurrent(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid)
focal_class.class_method_signature: LocalAuthorityController.newGroupFromFront(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @RequestBody WorkGroupUI workGroupUI)
focal_class.full_signature: @PostMapping("/{uuid}/group") @JsonView(Views.WorkGroupView.class) public ResponseEntity<WorkGroup> newGroupFromFront(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @RequestBody WorkGroupUI workGroupUI)
focal_class.identifier: newGroupFromFront
focal_class.modifiers: @PostMapping("/{uuid}/group") @JsonView(Views.WorkGroupView.class) public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @RequestBody WorkGroupUI workGroupUI)
focal_class.return: ResponseEntity<WorkGroup>
focal_class.signature: ResponseEntity<WorkGroup> newGroupFromFront(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @RequestBody WorkGroupUI workGroupUI)
focal_class.class_method_signature: LocalAuthorityController.newGroupFromModules(
              @PathVariable String uuid, @PathVariable String name, @RequestBody Set<String> rights)
focal_class.full_signature: @PostMapping("/{uuid}/group/{name}") @JsonView(Views.WorkGroupView.class) public ResponseEntity<String> newGroupFromModules(
              @PathVariable String uuid, @PathVariable String name, @RequestBody Set<String> rights)
focal_class.identifier: newGroupFromModules
focal_class.modifiers: @PostMapping("/{uuid}/group/{name}") @JsonView(Views.WorkGroupView.class) public
focal_class.parameters: (
              @PathVariable String uuid, @PathVariable String name, @RequestBody Set<String> rights)
focal_class.return: ResponseEntity<String>
focal_class.signature: ResponseEntity<String> newGroupFromModules(
              @PathVariable String uuid, @PathVariable String name, @RequestBody Set<String> rights)
focal_class.class_method_signature: LocalAuthorityController.newGroupForCurrent(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @RequestBody WorkGroupUI workGroupUI)
focal_class.full_signature: @PostMapping("/current/group") @JsonView(Views.WorkGroupView.class) public ResponseEntity<WorkGroup> newGroupForCurrent(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @RequestBody WorkGroupUI workGroupUI)
focal_class.identifier: newGroupForCurrent
focal_class.modifiers: @PostMapping("/current/group") @JsonView(Views.WorkGroupView.class) public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @RequestBody WorkGroupUI workGroupUI)
focal_class.return: ResponseEntity<WorkGroup>
focal_class.signature: ResponseEntity<WorkGroup> newGroupForCurrent(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @RequestBody WorkGroupUI workGroupUI)
focal_class.class_method_signature: LocalAuthorityController.getGroup(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.full_signature: @GetMapping("/group/{uuid}") @JsonView(Views.WorkGroupView.class) public ResponseEntity<WorkGroup> getGroup(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.identifier: getGroup
focal_class.modifiers: @GetMapping("/group/{uuid}") @JsonView(Views.WorkGroupView.class) public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.return: ResponseEntity<WorkGroup>
focal_class.signature: ResponseEntity<WorkGroup> getGroup(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.class_method_signature: LocalAuthorityController.updateGroup(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @RequestBody WorkGroupUI workGroupUI)
focal_class.full_signature: @PatchMapping("/group/{uuid}") @JsonView(Views.WorkGroupView.class) public ResponseEntity<WorkGroup> updateGroup(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @RequestBody WorkGroupUI workGroupUI)
focal_class.identifier: updateGroup
focal_class.modifiers: @PatchMapping("/group/{uuid}") @JsonView(Views.WorkGroupView.class) public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @RequestBody WorkGroupUI workGroupUI)
focal_class.return: ResponseEntity<WorkGroup>
focal_class.signature: ResponseEntity<WorkGroup> updateGroup(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @RequestBody WorkGroupUI workGroupUI)
focal_class.class_method_signature: LocalAuthorityController.deleteGroup(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.full_signature: @DeleteMapping("/group/{uuid}") public ResponseEntity deleteGroup(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.identifier: deleteGroup
focal_class.modifiers: @DeleteMapping("/group/{uuid}") public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.return: ResponseEntity
focal_class.signature: ResponseEntity deleteGroup(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.class_method_signature: LocalAuthorityController.getLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.full_signature: @GetMapping("/certificates/{uuid}") public ResponseEntity<Certificate> getLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.identifier: getLocalAuthorityCertificate
focal_class.modifiers: @GetMapping("/certificates/{uuid}") public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.return: ResponseEntity<Certificate>
focal_class.signature: ResponseEntity<Certificate> getLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.class_method_signature: LocalAuthorityController.addCurrentLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @RequestParam("file") MultipartFile file)
focal_class.full_signature: @PostMapping("/current/certificates") public ResponseEntity addCurrentLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @RequestParam("file") MultipartFile file)
focal_class.identifier: addCurrentLocalAuthorityCertificate
focal_class.modifiers: @PostMapping("/current/certificates") public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @RequestParam("file") MultipartFile file)
focal_class.return: ResponseEntity
focal_class.signature: ResponseEntity addCurrentLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @RequestParam("file") MultipartFile file)
focal_class.class_method_signature: LocalAuthorityController.addLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @RequestParam("file") MultipartFile file)
focal_class.full_signature: @PostMapping("/{uuid}/certificates") public ResponseEntity addLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @RequestParam("file") MultipartFile file)
focal_class.identifier: addLocalAuthorityCertificate
focal_class.modifiers: @PostMapping("/{uuid}/certificates") public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @RequestParam("file") MultipartFile file)
focal_class.return: ResponseEntity
focal_class.signature: ResponseEntity addLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @RequestParam("file") MultipartFile file)
focal_class.class_method_signature: LocalAuthorityController.addCertificate(String uuid, MultipartFile file)
focal_class.full_signature: private ResponseEntity addCertificate(String uuid, MultipartFile file)
focal_class.identifier: addCertificate
focal_class.modifiers: private
focal_class.parameters: (String uuid, MultipartFile file)
focal_class.return: ResponseEntity
focal_class.signature: ResponseEntity addCertificate(String uuid, MultipartFile file)
focal_class.class_method_signature: LocalAuthorityController.deleteCurrentLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.full_signature: @DeleteMapping("/current/certificates/{uuid}") public ResponseEntity deleteCurrentLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.identifier: deleteCurrentLocalAuthorityCertificate
focal_class.modifiers: @DeleteMapping("/current/certificates/{uuid}") public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.return: ResponseEntity
focal_class.signature: ResponseEntity deleteCurrentLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid)
focal_class.class_method_signature: LocalAuthorityController.deleteLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String localAuthorityUuid, @PathVariable String uuid)
focal_class.full_signature: @DeleteMapping("/{localAuthorityUuid}/certificates/{uuid}") public ResponseEntity deleteLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String localAuthorityUuid, @PathVariable String uuid)
focal_class.identifier: deleteLocalAuthorityCertificate
focal_class.modifiers: @DeleteMapping("/{localAuthorityUuid}/certificates/{uuid}") public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String localAuthorityUuid, @PathVariable String uuid)
focal_class.return: ResponseEntity
focal_class.signature: ResponseEntity deleteLocalAuthorityCertificate(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String localAuthorityUuid, @PathVariable String uuid)
focal_class.class_method_signature: LocalAuthorityController.addModuleByUuid(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @PathVariable Module module)
focal_class.full_signature: @PostMapping("/{uuid}/{module}") public ResponseEntity addModuleByUuid(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @PathVariable Module module)
focal_class.identifier: addModuleByUuid
focal_class.modifiers: @PostMapping("/{uuid}/{module}") public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @PathVariable Module module)
focal_class.return: ResponseEntity
focal_class.signature: ResponseEntity addModuleByUuid(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @PathVariable Module module)
focal_class.class_method_signature: LocalAuthorityController.removeModuleByUuid(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @PathVariable Module module)
focal_class.full_signature: @DeleteMapping("/{uuid}/{module}") public ResponseEntity removeModuleByUuid(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @PathVariable Module module)
focal_class.identifier: removeModuleByUuid
focal_class.modifiers: @DeleteMapping("/{uuid}/{module}") public
focal_class.parameters: (
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @PathVariable Module module)
focal_class.return: ResponseEntity
focal_class.signature: ResponseEntity removeModuleByUuid(
              @RequestAttribute("STELA-Current-Profile-Is-Local-Authority-Admin") boolean isLocalAuthorityAdmin,
              @RequestAttribute("STELA-Current-Agent-UUID") String currentAgentUuid,
              @PathVariable String uuid, @PathVariable Module module)
focal_class.class_method_signature: LocalAuthorityController.getByCertificate(
              @PathVariable String serial,
              @PathVariable String issuer)
focal_class.full_signature: @GetMapping("/certificate/{serial}/{issuer}") public ResponseEntity<LocalAuthority> getByCertificate(
              @PathVariable String serial,
              @PathVariable String issuer)
focal_class.identifier: getByCertificate
focal_class.modifiers: @GetMapping("/certificate/{serial}/{issuer}") public
focal_class.parameters: (
              @PathVariable String serial,
              @PathVariable String issuer)
focal_class.return: ResponseEntity<LocalAuthority>
focal_class.signature: ResponseEntity<LocalAuthority> getByCertificate(
              @PathVariable String serial,
              @PathVariable String issuer)
focal_class.class_method_signature: LocalAuthorityController.getSiret(@PathVariable String uuid)
focal_class.full_signature: @GetMapping("/{uuid}/siret") public String getSiret(@PathVariable String uuid)
focal_class.identifier: getSiret
focal_class.modifiers: @GetMapping("/{uuid}/siret") public
focal_class.parameters: (@PathVariable String uuid)
focal_class.return: String
focal_class.signature: String getSiret(@PathVariable String uuid)
focal_class.class_method_signature: LocalAuthorityController.getAccessToken(@PathVariable String siren)
focal_class.full_signature: @GetMapping("/{siren}/accessToken") public ResponseEntity<String> getAccessToken(@PathVariable String siren)
focal_class.identifier: getAccessToken
focal_class.modifiers: @GetMapping("/{siren}/accessToken") public
focal_class.parameters: (@PathVariable String siren)
focal_class.return: ResponseEntity<String>
focal_class.signature: ResponseEntity<String> getAccessToken(@PathVariable String siren)
focal_class.class_method_signature: LocalAuthorityController.getDcId(@PathVariable String siren)
focal_class.full_signature: @GetMapping("/{siren}/dcId") public ResponseEntity<String> getDcId(@PathVariable String siren)
focal_class.identifier: getDcId
focal_class.modifiers: @GetMapping("/{siren}/dcId") public
focal_class.parameters: (@PathVariable String siren)
focal_class.return: ResponseEntity<String>
focal_class.signature: ResponseEntity<String> getDcId(@PathVariable String siren)
focal_method.body: @GetMapping("/{siren}/dcId")
      public ResponseEntity<String> getDcId(@PathVariable String siren) {
          Optional<LocalAuthority> localAuthority =  localAuthorityService.findBySiren(siren);
  
          return localAuthority
                  .map(localAuthority1 -> new ResponseEntity<>(localAuthority1.getOzwilloInstanceInfo().getDcId(), HttpStatus.OK))
                  .orElseGet(() -> new ResponseEntity<>(HttpStatus.NOT_FOUND));
      }
focal_method.class_method_signature: LocalAuthorityController.getDcId(@PathVariable String siren)
focal_method.full_signature: @GetMapping("/{siren}/dcId") public ResponseEntity<String> getDcId(@PathVariable String siren)
focal_method.identifier: getDcId
focal_method.invocations: findBySiren orElseGet map getDcId getOzwilloInstanceInfo
focal_method.modifiers: @GetMapping("/{siren}/dcId") public
focal_method.parameters: (@PathVariable String siren)
focal_method.return: ResponseEntity<String>
focal_method.signature: ResponseEntity<String> getDcId(@PathVariable String siren)