modify the autocomplete link structure of the index resources

This commit is contained in:
Mohamed Karray
2018-10-15 13:57:55 +02:00
parent 27ca8860d3
commit e891ce9850
3 changed files with 15 additions and 9 deletions

View File

@@ -534,9 +534,8 @@ public class ScmRequests {
}
public class IndexResponse extends ModelResponse<IndexResponse> {
public static final String AUTOCOMPLETE_USERS = "_links.autocompleteUsers.href";
public static final String AUTOCOMPLETE_GROUPS = "_links.autocompleteGroups.href";
public static final String AUTOCOMPLETE_USERS = "_links.autocomplete.find{it.name=='users'}.href";
public static final String AUTOCOMPLETE_GROUPS = "_links.autocomplete.find{it.name=='groups'}.href";
public IndexResponse(Response response) {
super(response);