Revision 58384
Added by Michele Artini about 4 years ago
repoApi.st | ||
---|---|---|
250 | 250 |
<h4 class="modal-title">Remote API</h4> |
251 | 251 |
</div> |
252 | 252 |
<div class="modal-body"> |
253 |
The following API has been already registered on
|
|
253 |
{{syncShowRemoteMessage}}
|
|
254 | 254 |
<a href="$syncISBaseUrl$/mvc/ui/repoApis.do#/api/{{syncApi.datasource}}/{{syncApi.id}}/ALL/ALL" target="_blank"> |
255 | 255 |
$syncDesc$ |
256 | 256 |
</a> |
... | ... | |
273 | 273 |
<div class="modal-body"> |
274 | 274 |
The following API will be created on <b>$syncDesc$</b>: |
275 | 275 |
<br /><br /> |
276 |
<pre>{{syncApi | json}}</pre> |
|
276 |
|
|
277 |
<div> |
|
278 |
<ul class="nav nav-tabs" role="tablist"> |
|
279 |
<li class="active"><a href="javascript:void(0)" data-toggle="tab" data-target="#showAsTable">table</a></li> |
|
280 |
<li><a href="javascript:void(0)" data-toggle="tab" data-target="#showAsJson">json</a></li> |
|
281 |
</ul> |
|
282 |
<div class="tab-content" style="margin-top:4px"> |
|
283 |
<div class="tab-pane active" id="showAsTable"> |
|
284 |
<table class="table table-striped table-condensed"> |
|
285 |
<tr> |
|
286 |
<th>id</th> |
|
287 |
<td>{{syncApi.id}}</td> |
|
288 |
</tr> |
|
289 |
<tr> |
|
290 |
<th>protocol</th> |
|
291 |
<td>{{syncApi.protocol}}</td> |
|
292 |
</tr> |
|
293 |
<tr> |
|
294 |
<th>baseUrl</th> |
|
295 |
<td>{{syncApi.baseurl}}</td> |
|
296 |
</tr> |
|
297 |
<tr ng-repeat="p in syncApi.apiParams"> |
|
298 |
<th>{{p.param}}</th> |
|
299 |
<td>{{p.value}}</td> |
|
300 |
</tr> |
|
301 |
<tr> |
|
302 |
<th>id xpath</th> |
|
303 |
<td>{{syncApi.metadataIdentifierPath}}</td> |
|
304 |
</tr> |
|
305 |
</table> |
|
306 |
</div> |
|
307 |
<div class="tab-pane" id="showAsJson"> |
|
308 |
<pre>{{syncApi | json}}</pre> |
|
309 |
</div> |
|
310 |
</div> |
|
311 |
</div> |
|
277 | 312 |
</div> |
278 | 313 |
<div class="modal-footer"> |
279 |
<button type="button" class="btn btn-primary" ng-click="createRemoteSyncApi(syncApi)">Confirm</button> |
|
314 |
<button type="button" class="btn btn-primary" data-dismiss="modal" ng-click="createRemoteSyncApi(syncApi)">Confirm</button>
|
|
280 | 315 |
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> |
281 | 316 |
</div> |
282 | 317 |
</div> |
Also available in: Unified diff
remoteMdstore API creation in other infrastructure