File tree Expand file tree Collapse file tree 5 files changed +19
-4
lines changed
adapter/adapter.rest/adapter.rest.v2
java/at/tugraz/sss/adapter/rest/v2/entity
servs/search/search.impl/src/main/java/at/kc/tugraz/ss/service/search/impl Expand file tree Collapse file tree 5 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 9494
9595 <apiSource >
9696 <apiVersion >v2</apiVersion >
97- <basePath >http://localhost:8080/sss.adapter.rest.v2 </basePath >
97+ <basePath >http://test-ll.know-center.tugraz.at/layers.test </basePath >
9898 <!--
9999 localhost:8080/sss.adapter.rest.v2
100100 test-ll.know-center.tugraz.at/layers.test
110110 <licenseUrl >${project.licenseURI} </licenseUrl >
111111 </apiInfo >
112112
113- <swaggerUIDocBasePath >http://localhost:8080/sss.adapter.rest.v2 /api-docs</swaggerUIDocBasePath >
113+ <swaggerUIDocBasePath >http://test-ll.know-center.tugraz.at/layers.test /api-docs</swaggerUIDocBasePath >
114114 <!--
115115 localhost:8080/sss.adapter.rest.v2/api-docs
116116 test-ll.know-center.tugraz.at/layers.test/api-docs
Original file line number Diff line number Diff line change @@ -52,5 +52,17 @@ public void setAuthors(final List<String> authors) throws Exception{
5252 this .authors = SSUri .get (authors );
5353 }
5454
55+ @ XmlElement
56+ @ ApiModelProperty (
57+ required = false ,
58+ value = "unique identifier for the pages of a previous query" )
59+ public String pagesID = null ;
60+
61+ @ XmlElement
62+ @ ApiModelProperty (
63+ required = false ,
64+ value = "number of the page to be requested from a previous query" )
65+ public Integer pageNumber = null ;
66+
5567 public SSEntitiesAccessibleGetRESTAPIV2Par (){}
5668}
Original file line number Diff line number Diff line change @@ -117,6 +117,9 @@ public Response entitiesAccessibleFilteredGet(
117117 descPar , //descPar
118118 true ); //withUserRestriction
119119
120+ par .pagesID = input .pagesID ;
121+ par .pageNumber = input .pageNumber ;
122+
120123 }catch (Exception error ){
121124 return Response .status (422 ).build ();
122125 }
Original file line number Diff line number Diff line change 2525 < script type ="text/javascript ">
2626 $ ( function ( ) {
2727 window . swaggerUi = new SwaggerUi ( {
28- url : "http://localhost:8080/sss.adapter.rest.v2 /api-docs" ,
28+ url : "http://test-ll.know-center.tugraz.at/layers.test /api-docs" ,
2929 //test-ll.know-center.tugraz.at/layers.test/api-docs
3030 //localhost:8080/sss.adapter.rest.v2/api-docs
3131 dom_id : "swagger-ui-container" ,
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public SSSearchRet search(final SSSearchPar par) throws Exception{
106106 }
107107
108108 final List <SSUri > uris = new ArrayList <>();
109- final SSEntityURIsGetPar entityURIsGetPar =
109+ final SSEntityURIsGetPar entityURIsGetPar =
110110 new SSEntityURIsGetPar (
111111 par .user ,
112112 null , //entities
You can’t perform that action at this time.
0 commit comments