Revision 58380
Added by Michele Artini almost 4 years ago
repoApi.st | ||
---|---|---|
82 | 82 |
|
83 | 83 |
<div class="input-group input-group-sm col-xs-12 col-md-6" style="padding: 10px; float: left;"> |
84 | 84 |
<span class="input-group-addon" style="width: 150px;"><b>Last aggregation</b></span> |
85 |
<ng-api-mdstore-info label="Collect" date="currentRepoApi.collDate" total="currentRepoApi.collTotal" id="currentRepoApi.collMdId" sync-description="$syncDesc$" sync-function="showCreateRemoteSyncApi('$mongoUrl$','$mongoDB$',currentRepoApi.collMdId, 'remoteCollectedMdStore')"></ng-api-mdstore-info>
|
|
86 |
<ng-api-mdstore-info label="Transform" date="currentRepoApi.aggrDate" total="currentRepoApi.aggrTotal" id="currentRepoApi.aggrMdId" sync-description="$syncDesc$" sync-function="showCreateRemoteSyncApi('$mongoUrl$','$mongoDB$',currentRepoApi.aggrMdId, 'remoteAggregatedMdStore')"></ng-api-mdstore-info>
|
|
85 |
<ng-api-mdstore-info label="Collect" date="currentRepoApi.collDate" total="currentRepoApi.collTotal" id="currentRepoApi.collMdId" sync-button-label="$syncButton$" sync-function="showCreateRemoteSyncApi('$mongoUrl$','$mongoDB$',currentRepoApi.collMdId, 'remoteCollectedMdStore')"></ng-api-mdstore-info>
|
|
86 |
<ng-api-mdstore-info label="Transform" date="currentRepoApi.aggrDate" total="currentRepoApi.aggrTotal" id="currentRepoApi.aggrMdId" sync-button-label="$syncButton$" sync-function="showCreateRemoteSyncApi('$mongoUrl$','$mongoDB$',currentRepoApi.aggrMdId, 'remoteAggregatedMdStore')"></ng-api-mdstore-info>
|
|
87 | 87 |
<ng-api-objectstore-info label="Download" date="currentRepoApi.downloadDate" total="currentRepoApi.downloadTotal" id="currentRepoApi.downloadObjId"></ng-api-objectstore-info> |
88 | 88 |
</div> |
89 | 89 |
|
... | ... | |
241 | 241 |
</div> |
242 | 242 |
</div> |
243 | 243 |
|
244 |
<div id="remoteSyncApiModal" class="modal fade" tabindex="-1" role="dialog"> |
|
244 |
|
|
245 |
<div id="showRemoteSyncApiModal" class="modal fade" tabindex="-1" role="dialog"> |
|
245 | 246 |
<div class="modal-dialog modal-lg"> |
246 | 247 |
<div class="modal-content"> |
247 | 248 |
<div class="modal-header"> |
248 | 249 |
<button type="button" class="close" data-dismiss="modal">×</button> |
250 |
<h4 class="modal-title">Remote API</h4> |
|
251 |
</div> |
|
252 |
<div class="modal-body"> |
|
253 |
The following API has been already registered on |
|
254 |
<a href="$syncISBaseUrl$/mvc/ui/repoApis.do#/api/{{syncApi.datasource}}/{{syncApi.id}}/ALL/ALL" target="_blank"> |
|
255 |
$syncDesc$ |
|
256 |
</a> |
|
257 |
</div> |
|
258 |
<div class="modal-footer"> |
|
259 |
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> |
|
260 |
</div> |
|
261 |
</div> |
|
262 |
</div> |
|
263 |
</div> |
|
264 |
|
|
265 |
|
|
266 |
<div id="newRemoteSyncApiModal" class="modal fade" tabindex="-1" role="dialog"> |
|
267 |
<div class="modal-dialog modal-lg"> |
|
268 |
<div class="modal-content"> |
|
269 |
<div class="modal-header"> |
|
270 |
<button type="button" class="close" data-dismiss="modal">×</button> |
|
249 | 271 |
<h4 class="modal-title">Create remote API</h4> |
250 | 272 |
</div> |
251 | 273 |
<div class="modal-body"> |
252 |
The following API will be created on ...:
|
|
274 |
The following API will be created on <b>$syncDesc$</b>:
|
|
253 | 275 |
<br /><br /> |
254 |
<pre>{{newSyncApi | json}}</pre>
|
|
276 |
<pre>{{syncApi | json}}</pre>
|
|
255 | 277 |
</div> |
256 | 278 |
<div class="modal-footer"> |
257 |
<button type="button" class="btn btn-primary" data-dismiss="modal">Confirm</button>
|
|
279 |
<button type="button" class="btn btn-primary" ng-click="createRemoteSyncApi(syncApi)">Confirm</button>
|
|
258 | 280 |
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> |
259 | 281 |
</div> |
260 | 282 |
</div> |
Also available in: Unified diff
remoteMdstore API creation in other infrastructure (partial implementation)