This commit is contained in:
parent
2348199dce
commit
8738e53d50
|
@ -79,7 +79,7 @@ public class DataRepositories {
|
|||
|
||||
|
||||
|
||||
@RequestMapping(method = RequestMethod.GET, value = { "/externaldatarepo" }, produces="application/json")
|
||||
@RequestMapping(method = RequestMethod.GET, value = { "/external/datarepos" }, produces="application/json")
|
||||
public @ResponseBody ResponseEntity<Object> listExternalDataRepositories(@RequestParam(value="query", required=false) String query ){
|
||||
try {
|
||||
List<Map<String,String>> remoteRepos = remoteFetcher.getRepositories(query);
|
||||
|
|
|
@ -77,7 +77,7 @@ public class Organisations {
|
|||
@Autowired private RemoteFetcher remoteFetcher;
|
||||
|
||||
|
||||
@RequestMapping(method = RequestMethod.GET, value = { "/externalorganisations" }, produces="application/json")
|
||||
@RequestMapping(method = RequestMethod.GET, value = { "/external/organisations" }, produces="application/json")
|
||||
public @ResponseBody ResponseEntity<Object> listExternalOrganisations(@RequestParam(value="query", required=false) String query ){
|
||||
try {
|
||||
List<Map<String,String>> remoteRepos = remoteFetcher.getOrganisations(query);
|
||||
|
|
|
@ -88,7 +88,7 @@ public class Projects {
|
|||
@Autowired private RemoteFetcher remoteFetcher;
|
||||
|
||||
|
||||
@RequestMapping(method = RequestMethod.GET, value = { "/externalprojects" }, produces="application/json")
|
||||
@RequestMapping(method = RequestMethod.GET, value = { "/external/projects" }, produces="application/json")
|
||||
public @ResponseBody ResponseEntity<Object> listExternalProjects(@RequestParam(value="query", required=false) String query ){
|
||||
try {
|
||||
List<Map<String,String>> remoteRepos = remoteFetcher.getProjects(query);
|
||||
|
|
|
@ -76,7 +76,7 @@ public class Registries {
|
|||
@Autowired private RemoteFetcher remoteFetcher;
|
||||
|
||||
|
||||
@RequestMapping(method = RequestMethod.GET, value = { "/externalregistries" }, produces="application/json")
|
||||
@RequestMapping(method = RequestMethod.GET, value = { "/external/registries" }, produces="application/json")
|
||||
public @ResponseBody ResponseEntity<Object> listExternalRegistries(@RequestParam(value="query", required=false) String query ){
|
||||
try {
|
||||
List<Map<String,String>> remoteRepos = remoteFetcher.getRegistries(query);
|
||||
|
|
|
@ -76,7 +76,7 @@ public class Researchers {
|
|||
@Autowired private RemoteFetcher remoteFetcher;
|
||||
|
||||
|
||||
@RequestMapping(method = RequestMethod.GET, value = { "/externalresearchers" }, produces="application/json")
|
||||
@RequestMapping(method = RequestMethod.GET, value = { "/external/researchers" }, produces="application/json")
|
||||
public @ResponseBody ResponseEntity<Object> listExternalResearchers(@RequestParam(value="query", required=false) String query ){
|
||||
try {
|
||||
List<Map<String,String>> remoteRepos = remoteFetcher.getResearchers(query);
|
||||
|
|
|
@ -77,7 +77,7 @@ public class Services {
|
|||
@Autowired private RemoteFetcher remoteFetcher;
|
||||
|
||||
|
||||
@RequestMapping(method = RequestMethod.GET, value = { "/externalservices" }, produces="application/json")
|
||||
@RequestMapping(method = RequestMethod.GET, value = { "/external/services" }, produces="application/json")
|
||||
public @ResponseBody ResponseEntity<Object> listExternalServices(@RequestParam(value="query", required=false) String query ){
|
||||
try {
|
||||
List<Map<String,String>> remoteRepos = remoteFetcher.getServices(query);
|
||||
|
|
Loading…
Reference in New Issue