Skip to content

Commit

Permalink
Add operation to change Interworking URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Antonio Sanchez committed Oct 18, 2018
1 parent aaae13c commit f9493c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ public interface ClientConstants {
String RH_CLEAR_PATH = "/clear";
String RH_LOCAL_RESOURCES_PATH = "/local/resources";
String RH_LOCAL_RESOURCES_SHARE_PATH = RH_LOCAL_RESOURCES_PATH+"/share";
String RH_UPDATE_INTERWORKING_API = RH_RESOURCES_PATH+"/interworkingURL";
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import java.util.List;
import java.util.Map;

@Headers("Accept: application/json")
public interface RegistrationHandlerClient {

@RequestLine("GET " + ClientConstants.RH_RESOURCES_PATH)
Expand Down Expand Up @@ -75,4 +76,8 @@ public interface RegistrationHandlerClient {
@Headers("Content-Type: application/json")
Map<String, List<CloudResource>> unshareResources(Map<String, List<String>> input);

@RequestLine("PUT " + ClientConstants.RH_UPDATE_INTERWORKING_API)
@Headers("Content-Type: text/plain")
List<CloudResource> updateInterworkingURL(String url);

}

0 comments on commit f9493c0

Please sign in to comment.