Class MiaConfigurationController
java.lang.Object
org.qubership.atp.mia.controllers.MiaConfigurationController
- All Implemented Interfaces:
MiaConfigurationControllerApi
@RestController
public class MiaConfigurationController
extends Object
implements MiaConfigurationControllerApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<CompoundDto> addCompound(UUID projectId, CompoundDto compoundDto) POST /configuration/{projectId}/compound Add mia compoundorg.springframework.http.ResponseEntity<Void> addDirectory(UUID projectId, ProjectDirectoryDto projectDirectoryDto) POST /configuration/{projectId}/directory Add mia directoryorg.springframework.http.ResponseEntity<ProcessDto> addProcess(UUID projectId, ProcessDto processDto) POST /configuration/{projectId}/process Add mia processorg.springframework.http.ResponseEntity<Void> addProjectFile(UUID projectId, ProjectFileDto projectFileDto, org.springframework.web.multipart.MultipartFile file) POST /configuration/{projectId}/projectFile Add mia project fileorg.springframework.http.ResponseEntity<List<SectionsDto>> addSection(UUID projectId, SectionDto sectionDto) POST /configuration/{projectId}/section Add mia sectionorg.springframework.http.ResponseEntity<List<CompoundShortDto>> deleteCompound(UUID projectId, UUID compoundId) DELETE /configuration/{projectId}/compound/{compoundId} Delete mia compoundorg.springframework.http.ResponseEntity<Void> deleteConfiguration(UUID projectId, Boolean withPot) DELETE /configuration/{projectId} Delete mia configurationorg.springframework.http.ResponseEntity<Void> deleteDirectory(UUID projectId, UUID directoryId) DELETE /configuration/{projectId}/directory/{directoryId} Delete mia directoryorg.springframework.http.ResponseEntity<List<ProcessShortDto>> deleteProcess(UUID projectId, UUID processId) DELETE /configuration/{projectId}/process/{processId} Delete mia processorg.springframework.http.ResponseEntity<Void> deleteProjectFile(UUID projectId, UUID fileId) DELETE /configuration/{projectId}/projectFile/{fileId} Delete mia sectionorg.springframework.http.ResponseEntity<List<SectionsDto>> deleteSection(UUID projectId, UUID sectionId) DELETE /configuration/{projectId}/section/{sectionId} Delete mia sectionorg.springframework.http.ResponseEntity<org.springframework.core.io.Resource> downloadZipConfig(UUID projectId) GET /configuration/{projectId}/downloadZipConfig Download config as ZIP fileorg.springframework.http.ResponseEntity<CompoundDto> getCompound(UUID projectId, UUID compoundId) GET /configuration/{projectId}/compound/{compoundId} Get mia compoundorg.springframework.http.ResponseEntity<List<CompoundShortDto>> getCompounds(UUID projectId) GET /configuration/{projectId}/compound Get mia all compounds for the projectorg.springframework.http.ResponseEntity<FlowConfigDto> GET /rest/config IMPORTANT.org.springframework.http.ResponseEntity<ProjectConfigurationDto> getConfiguration(UUID projectId) GET /configuration/{projectId} Get mia configurationorg.springframework.http.ResponseEntity<ProjectConfigurationDto> getConfigurationWithHardReload(UUID projectId) GET /configuration/{projectId}/hardReload Hard reload mia configuration from external resourse and return itorg.springframework.http.ResponseEntity<ProjectDirectoriesDto> getDirectories(UUID projectId) GET /configuration/{projectId}/directory Get mia directories hierarchyorg.springframework.http.ResponseEntity<ProcessDto> getProcess(UUID projectId, UUID processId) GET /configuration/{projectId}/process/{processId} Get mia processorg.springframework.http.ResponseEntity<List<ProcessShortDto>> getProcesses(UUID projectId) GET /configuration/{projectId}/process Get mia all processes for the projectorg.springframework.http.ResponseEntity<org.springframework.core.io.Resource> getProjectFile(UUID projectId, UUID projectFileId) GET /configuration/{projectId}/projectFile/{fileId} Get mia project fileorg.springframework.http.ResponseEntity<List<SectionsDto>> getSections(UUID projectId) GET /configuration/{projectId}/section Get mia sections hierarchygetUuidDirectories(UUID projectId) GET /configuration/{projectId}/directories Get mia list of uuids for all directoriesgetUuidFiles(UUID projectId) GET /configuration/{projectId}/projectFiles Get mia list of uuids for all filesorg.springframework.http.ResponseEntity<Void> moveDirectory(UUID projectId, UUID directoryId, MoveDirectoryRequestDto moveDirectoryRequestDto) PATCH /configuration/{projectId}/directory/{directoryId} Move mia project directoryorg.springframework.http.ResponseEntity<Void> moveProjectFile(UUID projectId, UUID fileId, MoveProjectFileRequestDto moveProjectFileRequestDto) PATCH /configuration/{projectId}/projectFile/{fileId} Move mia project fileorg.springframework.http.ResponseEntity<CompoundDto> updateCompound(UUID projectId, CompoundDto compoundDto) PUT /configuration/{projectId}/compound Update mia compoundorg.springframework.http.ResponseEntity<ProjectConfigurationDto> updateConfiguration(UUID projectId, ProjectConfigurationDto projectConfigurationRequestDto) PUT /configuration/{projectId} Update mia configurationorg.springframework.http.ResponseEntity<Void> updateDirectory(UUID projectId, ProjectDirectoryDto projectDirectoryDto) PUT /configuration/{projectId}/directory Update mia directoryorg.springframework.http.ResponseEntity<ProcessDto> updateProcess(UUID projectId, ProcessDto processDto) PUT /configuration/{projectId}/process Update mia processorg.springframework.http.ResponseEntity<Void> updateProjectFile(UUID projectId, ProjectFileDto projectFileDto, org.springframework.web.multipart.MultipartFile file) PUT /configuration/{projectId}/projectFile Update mia project fileorg.springframework.http.ResponseEntity<List<SectionsDto>> updateSection(UUID projectId, SectionDto sectionDto) PUT /configuration/{projectId}/section Update mia sectionorg.springframework.http.ResponseEntity<Boolean> uploadZipConfig(UUID projectId, org.springframework.web.multipart.MultipartFile file) POST /configuration/{projectId}/uploadZipConfig Upload config as ZIP file
-
Constructor Details
-
MiaConfigurationController
public MiaConfigurationController()
-
-
Method Details
-
addCompound
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).COMPOUND.getName(), #projectId, \'CREATE\')") public org.springframework.http.ResponseEntity<CompoundDto> addCompound(UUID projectId, CompoundDto compoundDto) Description copied from interface:MiaConfigurationControllerApiPOST /configuration/{projectId}/compound Add mia compound- Specified by:
addCompoundin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)compoundDto- request (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
addDirectory
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).DIRECTORY.getName(), #projectId, \'CREATE\')") public org.springframework.http.ResponseEntity<Void> addDirectory(UUID projectId, ProjectDirectoryDto projectDirectoryDto) Description copied from interface:MiaConfigurationControllerApiPOST /configuration/{projectId}/directory Add mia directory- Specified by:
addDirectoryin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)projectDirectoryDto- request (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
addProcess
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).PROCESS.getName(), #projectId, \'CREATE\')") public org.springframework.http.ResponseEntity<ProcessDto> addProcess(UUID projectId, ProcessDto processDto) Description copied from interface:MiaConfigurationControllerApiPOST /configuration/{projectId}/process Add mia process- Specified by:
addProcessin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)processDto- request (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
addProjectFile
public org.springframework.http.ResponseEntity<Void> addProjectFile(UUID projectId, ProjectFileDto projectFileDto, org.springframework.web.multipart.MultipartFile file) Description copied from interface:MiaConfigurationControllerApiPOST /configuration/{projectId}/projectFile Add mia project file- Specified by:
addProjectFilein interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)projectFileDto- (required)file- (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
addSection
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).SECTION.getName(), #projectId, \'CREATE\')") public org.springframework.http.ResponseEntity<List<SectionsDto>> addSection(UUID projectId, SectionDto sectionDto) Description copied from interface:MiaConfigurationControllerApiPOST /configuration/{projectId}/section Add mia section- Specified by:
addSectionin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)sectionDto- request (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
deleteCompound
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).COMPOUND.getName(), #projectId, \'DELETE\')") public org.springframework.http.ResponseEntity<List<CompoundShortDto>> deleteCompound(UUID projectId, UUID compoundId) Description copied from interface:MiaConfigurationControllerApiDELETE /configuration/{projectId}/compound/{compoundId} Delete mia compound- Specified by:
deleteCompoundin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)compoundId- Compound ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
deleteConfiguration
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).CONFIGURATION.getName(), #projectId, \'DELETE\')") public org.springframework.http.ResponseEntity<Void> deleteConfiguration(UUID projectId, Boolean withPot) Description copied from interface:MiaConfigurationControllerApiDELETE /configuration/{projectId} Delete mia configuration- Specified by:
deleteConfigurationin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)withPot- Remove with POT (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
deleteDirectory
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).DIRECTORY.getName(), #projectId, \'DELETE\')") public org.springframework.http.ResponseEntity<Void> deleteDirectory(UUID projectId, UUID directoryId) Description copied from interface:MiaConfigurationControllerApiDELETE /configuration/{projectId}/directory/{directoryId} Delete mia directory- Specified by:
deleteDirectoryin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)directoryId- Directory ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
deleteProcess
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).PROCESS.getName(), #projectId, \'DELETE\')") public org.springframework.http.ResponseEntity<List<ProcessShortDto>> deleteProcess(UUID projectId, UUID processId) Description copied from interface:MiaConfigurationControllerApiDELETE /configuration/{projectId}/process/{processId} Delete mia process- Specified by:
deleteProcessin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)processId- Process ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
deleteProjectFile
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).FILE.getName(), #projectId, \'DELETE\')") public org.springframework.http.ResponseEntity<Void> deleteProjectFile(UUID projectId, UUID fileId) Description copied from interface:MiaConfigurationControllerApiDELETE /configuration/{projectId}/projectFile/{fileId} Delete mia section- Specified by:
deleteProjectFilein interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)fileId- Project file ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
deleteSection
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).SECTION.getName(), #projectId, \'DELETE\')") public org.springframework.http.ResponseEntity<List<SectionsDto>> deleteSection(UUID projectId, UUID sectionId) Description copied from interface:MiaConfigurationControllerApiDELETE /configuration/{projectId}/section/{sectionId} Delete mia section- Specified by:
deleteSectionin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)sectionId- Section ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
downloadZipConfig
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).CONFIGURATION.getName(), #projectId, \'READ\')") public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> downloadZipConfig(UUID projectId) Description copied from interface:MiaConfigurationControllerApiGET /configuration/{projectId}/downloadZipConfig Download config as ZIP file- Specified by:
downloadZipConfigin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
getCompound
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).COMPOUND.getName(), #projectId, \'READ\')") public org.springframework.http.ResponseEntity<CompoundDto> getCompound(UUID projectId, UUID compoundId) Description copied from interface:MiaConfigurationControllerApiGET /configuration/{projectId}/compound/{compoundId} Get mia compound- Specified by:
getCompoundin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)compoundId- Compound ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
getCompounds
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).COMPOUND.getName(), #projectId, \'READ\')") public org.springframework.http.ResponseEntity<List<CompoundShortDto>> getCompounds(UUID projectId) Description copied from interface:MiaConfigurationControllerApiGET /configuration/{projectId}/compound Get mia all compounds for the project- Specified by:
getCompoundsin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
getConfig
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).CONFIGURATION.getName(), #projectId, \'READ\')") public org.springframework.http.ResponseEntity<FlowConfigDto> getConfig(UUID projectId, Boolean needReload) Description copied from interface:MiaConfigurationControllerApiGET /rest/config IMPORTANT. IT IS OLD CONFIG!!! USE /configuration/{projectId}, /configuration/{projectId}/section, /configuration/{projectId}/compound, /configuration/{projectId}/process instead.- Specified by:
getConfigin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)needReload- needReload (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
getConfiguration
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).CONFIGURATION.getName(), #projectId, \'READ\')") public org.springframework.http.ResponseEntity<ProjectConfigurationDto> getConfiguration(UUID projectId) Description copied from interface:MiaConfigurationControllerApiGET /configuration/{projectId} Get mia configuration- Specified by:
getConfigurationin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
getConfigurationWithHardReload
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).CONFIGURATION.getName(), #projectId, \'READ\')") public org.springframework.http.ResponseEntity<ProjectConfigurationDto> getConfigurationWithHardReload(UUID projectId) Description copied from interface:MiaConfigurationControllerApiGET /configuration/{projectId}/hardReload Hard reload mia configuration from external resourse and return it- Specified by:
getConfigurationWithHardReloadin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
getDirectories
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).DIRECTORY.getName(), #projectId, \'READ\')") public org.springframework.http.ResponseEntity<ProjectDirectoriesDto> getDirectories(UUID projectId) Description copied from interface:MiaConfigurationControllerApiGET /configuration/{projectId}/directory Get mia directories hierarchy- Specified by:
getDirectoriesin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
getProcess
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).PROCESS.getName(), #projectId, \'READ\')") public org.springframework.http.ResponseEntity<ProcessDto> getProcess(UUID projectId, UUID processId) Description copied from interface:MiaConfigurationControllerApiGET /configuration/{projectId}/process/{processId} Get mia process- Specified by:
getProcessin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)processId- Process ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
getProcesses
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).PROCESS.getName(), #projectId, \'READ\')") public org.springframework.http.ResponseEntity<List<ProcessShortDto>> getProcesses(UUID projectId) Description copied from interface:MiaConfigurationControllerApiGET /configuration/{projectId}/process Get mia all processes for the project- Specified by:
getProcessesin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
getProjectFile
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).FILE.getName(), #projectId, \'READ\')") public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> getProjectFile(UUID projectId, UUID projectFileId) Description copied from interface:MiaConfigurationControllerApiGET /configuration/{projectId}/projectFile/{fileId} Get mia project file- Specified by:
getProjectFilein interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)projectFileId- Project file ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
getSections
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).SECTION.getName(), #projectId, \'READ\')") public org.springframework.http.ResponseEntity<List<SectionsDto>> getSections(UUID projectId) Description copied from interface:MiaConfigurationControllerApiGET /configuration/{projectId}/section Get mia sections hierarchy- Specified by:
getSectionsin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
getUuidDirectories
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).DIRECTORY.getName(), #projectId, \'READ\')") public org.springframework.http.ResponseEntity<List<UUID>> getUuidDirectories(UUID projectId) Description copied from interface:MiaConfigurationControllerApiGET /configuration/{projectId}/directories Get mia list of uuids for all directories- Specified by:
getUuidDirectoriesin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
getUuidFiles
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).FILE.getName(), #projectId, \'READ\')") public org.springframework.http.ResponseEntity<List<UUID>> getUuidFiles(UUID projectId) Description copied from interface:MiaConfigurationControllerApiGET /configuration/{projectId}/projectFiles Get mia list of uuids for all files- Specified by:
getUuidFilesin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
moveDirectory
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).DIRECTORY.getName(), #projectId, \'UPDATE\')") public org.springframework.http.ResponseEntity<Void> moveDirectory(UUID projectId, UUID directoryId, MoveDirectoryRequestDto moveDirectoryRequestDto) Description copied from interface:MiaConfigurationControllerApiPATCH /configuration/{projectId}/directory/{directoryId} Move mia project directory- Specified by:
moveDirectoryin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)directoryId- Directory ID (required)moveDirectoryRequestDto- (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
moveProjectFile
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).FILE.getName(), #projectId, \'UPDATE\')") public org.springframework.http.ResponseEntity<Void> moveProjectFile(UUID projectId, UUID fileId, MoveProjectFileRequestDto moveProjectFileRequestDto) Description copied from interface:MiaConfigurationControllerApiPATCH /configuration/{projectId}/projectFile/{fileId} Move mia project file- Specified by:
moveProjectFilein interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)fileId- Project file ID (required)moveProjectFileRequestDto- (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
updateCompound
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).COMPOUND.getName(), #projectId, \'UPDATE\')") public org.springframework.http.ResponseEntity<CompoundDto> updateCompound(UUID projectId, CompoundDto compoundDto) Description copied from interface:MiaConfigurationControllerApiPUT /configuration/{projectId}/compound Update mia compound- Specified by:
updateCompoundin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)compoundDto- request (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
updateConfiguration
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).CONFIGURATION.getName(), #projectId, \'UPDATE\')") public org.springframework.http.ResponseEntity<ProjectConfigurationDto> updateConfiguration(UUID projectId, ProjectConfigurationDto projectConfigurationRequestDto) Description copied from interface:MiaConfigurationControllerApiPUT /configuration/{projectId} Update mia configuration- Specified by:
updateConfigurationin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)projectConfigurationRequestDto- request (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
updateDirectory
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).DIRECTORY.getName(), #projectId, \'UPDATE\')") public org.springframework.http.ResponseEntity<Void> updateDirectory(UUID projectId, ProjectDirectoryDto projectDirectoryDto) Description copied from interface:MiaConfigurationControllerApiPUT /configuration/{projectId}/directory Update mia directory- Specified by:
updateDirectoryin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)projectDirectoryDto- request (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
updateProcess
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).PROCESS.getName(), #projectId, \'UPDATE\')") public org.springframework.http.ResponseEntity<ProcessDto> updateProcess(UUID projectId, ProcessDto processDto) Description copied from interface:MiaConfigurationControllerApiPUT /configuration/{projectId}/process Update mia process- Specified by:
updateProcessin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)processDto- request (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
updateProjectFile
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).FILE.getName(), #projectId, \'UPDATE\')") public org.springframework.http.ResponseEntity<Void> updateProjectFile(UUID projectId, ProjectFileDto projectFileDto, org.springframework.web.multipart.MultipartFile file) Description copied from interface:MiaConfigurationControllerApiPUT /configuration/{projectId}/projectFile Update mia project file- Specified by:
updateProjectFilein interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)projectFileDto- (required)file- file (optional)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
updateSection
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).SECTION.getName(), #projectId, \'UPDATE\')") public org.springframework.http.ResponseEntity<List<SectionsDto>> updateSection(UUID projectId, SectionDto sectionDto) Description copied from interface:MiaConfigurationControllerApiPUT /configuration/{projectId}/section Update mia section- Specified by:
updateSectionin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)sectionDto- request (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
uploadZipConfig
@PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).CONFIGURATION.getName(), #projectId, \'UPDATE\')") public org.springframework.http.ResponseEntity<Boolean> uploadZipConfig(UUID projectId, org.springframework.web.multipart.MultipartFile file) Description copied from interface:MiaConfigurationControllerApiPOST /configuration/{projectId}/uploadZipConfig Upload config as ZIP file- Specified by:
uploadZipConfigin interfaceMiaConfigurationControllerApi- Parameters:
projectId- Project ID (required)file- file (required)- Returns:
- OK (status code 200) or Created (status code 201) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-