Skip to content

Commit

Permalink
Fixes #6335 incompatible URLs on data-manager's DisplayApplicationRes…
Browse files Browse the repository at this point in the history
…ource

Signed-off-by: Yury Krikun <yury.krikun@gmail.com>
  • Loading branch information
ykrkn committed Mar 25, 2022
1 parent 9ef26b0 commit 0321777
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ public QueryResponse getQueryByGUID(@PathVariable String serverName,
* UserNotAuthorizedException the user is not authorized to issue this request or
* PropertyServerException there is a problem reported in the open metadata server(s)
*/
@PostMapping(path = "/elements/{parentGUID}/data-containers")
@PostMapping(path = "/schemas/elements/{parentGUID}/data-containers")

public GUIDResponse createDataContainer(@PathVariable String serverName,
@PathVariable String userId,
Expand All @@ -863,7 +863,7 @@ public GUIDResponse createDataContainer(@PathVariable String s
* UserNotAuthorizedException the user is not authorized to issue this request or
* PropertyServerException there is a problem reported in the open metadata server(s)
*/
@PostMapping(path = "/elements/{parentGUID}/data-containers/from-template/{templateGUID}")
@PostMapping(path = "/schemas/elements/{parentGUID}/data-containers/from-template/{templateGUID}")

public GUIDResponse createDataContainerFromTemplate(@PathVariable String serverName,
@PathVariable String userId,
Expand All @@ -890,7 +890,7 @@ public GUIDResponse createDataContainerFromTemplate(@PathVariable String
* UserNotAuthorizedException the user is not authorized to issue this request or
* PropertyServerException there is a problem reported in the open metadata server(s)
*/
@PostMapping(path = "/data-containers/{dataContainerGUID}")
@PostMapping(path = "/schemas/data-containers/{dataContainerGUID}")

public VoidResponse updateDataContainer(@PathVariable String serverName,
@PathVariable String userId,
Expand All @@ -916,7 +916,7 @@ public VoidResponse updateDataContainer(@PathVariable String s
* UserNotAuthorizedException the user is not authorized to issue this request or
* PropertyServerException there is a problem reported in the open metadata server(s)
*/
@PostMapping(path = "/data-containers/{dataContainerGUID}/delete")
@PostMapping(path = "/schemas/data-containers/{dataContainerGUID}/delete")

public VoidResponse removeDataContainer(@PathVariable String serverName,
@PathVariable String userId,
Expand All @@ -943,7 +943,7 @@ public VoidResponse removeDataContainer(@PathVariable String
* UserNotAuthorizedException the user is not authorized to issue this request or
* PropertyServerException there is a problem reported in the open metadata server(s)
*/
@PostMapping(path = "/data-containers/by-search-string")
@PostMapping(path = "/schemas/data-containers/by-search-string")

public DataContainersResponse findDataContainers(@PathVariable String serverName,
@PathVariable String userId,
Expand All @@ -969,7 +969,7 @@ public DataContainersResponse findDataContainers(@PathVariable String
* UserNotAuthorizedException the user is not authorized to issue this request or
* PropertyServerException there is a problem reported in the open metadata server(s)
*/
@GetMapping(path = "/data-containers/by-parent-element/{parentGUID}")
@GetMapping(path = "/schemas/data-containers/by-parent-element/{parentGUID}")

public DataContainersResponse getDataContainersForParent(@PathVariable String serverName,
@PathVariable String userId,
Expand All @@ -996,7 +996,7 @@ public DataContainersResponse getDataContainersForParent(@PathVariable String se
* UserNotAuthorizedException the user is not authorized to issue this request or
* PropertyServerException there is a problem reported in the open metadata server(s)
*/
@PostMapping(path = "/data-containers/by-name")
@PostMapping(path = "/schemas/data-containers/by-name")

public DataContainersResponse getDataContainersByName(@PathVariable String serverName,
@PathVariable String userId,
Expand All @@ -1020,7 +1020,7 @@ public DataContainersResponse getDataContainersByName(@PathVariable String
* UserNotAuthorizedException the user is not authorized to issue this request or
* PropertyServerException there is a problem reported in the open metadata server(s)
*/
@GetMapping(path = "/data-containers/{dataContainerGUID}")
@GetMapping(path = "/schemas/data-containers/{dataContainerGUID}")

public DataContainerResponse getDataContainerByGUID(@PathVariable String serverName,
@PathVariable String userId,
Expand Down

0 comments on commit 0321777

Please sign in to comment.