Fix resolution URL mappings
@@ -14,7 +14,7 @@ public class ResolutionApi {
@Autowired
ResolutionApiService service;
- @GetMapping(value = "/{pkg}/{pkg_ver}/dependencies", produces = MediaType.APPLICATION_JSON_VALUE)
+ @GetMapping(value = "/{pkg}/{pkg_ver}/resolve/dependencies", produces = MediaType.APPLICATION_JSON_VALUE)
ResponseEntity<String> resolveDependencies(@PathVariable("pkg") String package_name,
@PathVariable("pkg_ver") String package_version,
@RequestParam(required = false, defaultValue = "true") boolean transitive,
@@ -22,7 +22,7 @@ public class ResolutionApi {
return service.resolveDependencies(package_name, package_version, transitive, timestamp);
}
- @GetMapping(value = "/{pkg}/{pkg_ver}/dependents", produces = MediaType.APPLICATION_JSON_VALUE)
+ @GetMapping(value = "/{pkg}/{pkg_ver}/resolve/dependents", produces = MediaType.APPLICATION_JSON_VALUE)
ResponseEntity<String> resolveDependents(@PathVariable("pkg") String package_name,
@PathVariable("pkg_ver") String package_version,
@RequestParam(required = false, defaultValue = "true") boolean transitive,
