task9462 #18

Merged
michele.artini merged 7 commits from task9462 into master 2024-03-13 09:22:52 +01:00
1 changed files with 301 additions and 291 deletions
Showing only changes of commit a9458520e1 - Show all commits

View File

@ -303,7 +303,9 @@ public class CommunityApiController extends AbstractExporterController {
}
}
@RequestMapping(value = "/community/{id}/contentproviders", produces = {
@RequestMapping(value = {
"/community/{id}/contentproviders", "/community/{id}/datasources"
}, produces = {
"application/json"
}, method = RequestMethod.GET)
@Operation(summary = "get the list of content providers associated to a given community", description = "get the list of content providers associated to a given community", tags = {
@ -324,7 +326,9 @@ public class CommunityApiController extends AbstractExporterController {
}
}
@RequestMapping(value = "/community/{id}/contentproviders", produces = {
@RequestMapping(value = {
"/community/{id}/contentproviders", "/community/{id}/datasources"
}, produces = {
"application/json"
}, method = RequestMethod.POST)
@Operation(summary = "associate a content provider to the community", description = "associate a content provider to the community", tags = {
@ -349,7 +353,9 @@ public class CommunityApiController extends AbstractExporterController {
}
}
@RequestMapping(value = "/community/{id}/contentproviders", produces = {
@RequestMapping(value = {
"/community/{id}/contentproviders", "/community/{id}/datasources"
}, produces = {
"application/json"
}, method = RequestMethod.DELETE)
@Operation(summary = "remove the association between a content provider and the community", description = "remove the association between a content provider and the community", tags = {
@ -372,7 +378,9 @@ public class CommunityApiController extends AbstractExporterController {
}
}
@RequestMapping(value = "/community/{id}/contentprovidersList", produces = {
@RequestMapping(value = {
"/community/{id}/contentprovidersList", "/community/{id}/datasourcesList"
}, produces = {
"application/json"
}, method = RequestMethod.POST)
@Operation(summary = "associate a list of content providers to the community", description = "associate a list of content providers to the community", tags = {
@ -397,7 +405,9 @@ public class CommunityApiController extends AbstractExporterController {
}
}
@RequestMapping(value = "/community/{id}/contentprovidersList", produces = {
@RequestMapping(value = {
"/community/{id}/contentprovidersList", "/community/{id}/datasourcesList"
}, produces = {
"application/json"
}, method = RequestMethod.DELETE)
@Operation(summary = "remove a list of content providers from the community", description = "remove a list of content providers from the community", tags = {