graphdb-workbench 2.2.3-TR3 → 2.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/11.f7cb87be309f6bd00aa5.bundle.js +1 -1
  2. package/dist/11.f7cb87be309f6bd00aa5.bundle.js.map +1 -1
  3. package/dist/148.45985ae23de642595544.bundle.js +1 -1
  4. package/dist/148.45985ae23de642595544.bundle.js.map +1 -1
  5. package/dist/20.4eb25ede434dc329ecf1.bundle.js +1 -1
  6. package/dist/20.4eb25ede434dc329ecf1.bundle.js.map +1 -1
  7. package/dist/27.fef157d9275358c9f1a0.bundle.js +1 -1
  8. package/dist/27.fef157d9275358c9f1a0.bundle.js.map +1 -1
  9. package/dist/33.fde8076c81c87c25c367.bundle.js +1 -1
  10. package/dist/33.fde8076c81c87c25c367.bundle.js.map +1 -1
  11. package/dist/4.ca3eb6b5da0890c0abe0.bundle.js +2 -0
  12. package/dist/4.ca3eb6b5da0890c0abe0.bundle.js.map +1 -0
  13. package/dist/40.10f42e3f6d8d87bd3221.bundle.js +1 -1
  14. package/dist/40.10f42e3f6d8d87bd3221.bundle.js.map +1 -1
  15. package/dist/94.94158487a9024ff3a623.bundle.js +1 -1
  16. package/dist/94.94158487a9024ff3a623.bundle.js.map +1 -1
  17. package/dist/{bundle.ad25ae9ac5a096a64118.bundle.js → bundle.d34ddcc40dd190254f1c.bundle.js} +3 -3
  18. package/dist/{bundle.ad25ae9ac5a096a64118.bundle.js.map → bundle.d34ddcc40dd190254f1c.bundle.js.map} +1 -1
  19. package/dist/i18n/locale-en.json +1 -1
  20. package/dist/i18n/locale-fr.json +1 -1
  21. package/dist/index.html +3 -3
  22. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  23. package/dist/pages/autocomplete.html +1 -1
  24. package/dist/pages/choose-repository-type.html +1 -1
  25. package/dist/pages/cluster-management/clusterInfo.html +5 -5
  26. package/dist/pages/create-index.html +4 -4
  27. package/dist/pages/dependencies.html +1 -1
  28. package/dist/pages/domainRangeInfo.html +2 -2
  29. package/dist/pages/edit.html +1 -1
  30. package/dist/pages/explore.html +1 -1
  31. package/dist/pages/export.html +1 -1
  32. package/dist/pages/find.html +1 -1
  33. package/dist/pages/graph-config/saveGraphConfig.html +11 -11
  34. package/dist/pages/graphs-visualizations.html +7 -7
  35. package/dist/pages/guides.html +1 -1
  36. package/dist/pages/import.html +1 -1
  37. package/dist/pages/jdbc-create.html +5 -5
  38. package/dist/pages/monitor/queries.html +1 -1
  39. package/dist/pages/monitor/resources.html +2 -2
  40. package/dist/pages/namespaces.html +2 -2
  41. package/dist/pages/plugins.html +1 -1
  42. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  43. package/dist/pages/rdfrank.html +2 -2
  44. package/dist/pages/repositories.html +2 -2
  45. package/dist/pages/repository.html +2 -2
  46. package/dist/pages/similarity-indexes.html +1 -1
  47. package/dist/pages/sparql-template-create.html +5 -5
  48. package/dist/pages/sparql.html +3 -3
  49. package/dist/pages/webapi.html +2 -2
  50. package/dist/res/swagger/index.html +27 -27
  51. package/package.json +1 -1
  52. package/dist/4.9bdad67508aabe526dcc.bundle.js +0 -2
  53. package/dist/4.9bdad67508aabe526dcc.bundle.js.map +0 -1
@@ -103,7 +103,7 @@
103
103
  "loader_message": "Deleting cluster",
104
104
  "notifications": {
105
105
  "success_delete": "Cluster deleted successfully",
106
- "success_delete_partial": "Not all nodes are deleted",
106
+ "success_delete_partial": "Not all nodes were deleted",
107
107
  "fail_delete": "Can not delete cluster"
108
108
  }
109
109
  },
@@ -103,7 +103,7 @@
103
103
  "loader_message": "Suppression d'un cluster",
104
104
  "notifications": {
105
105
  "success_delete": "Cluster supprimé avec succès",
106
- "success_delete_partial": "Tous les nœuds ne sont pas supprimés",
106
+ "success_delete_partial": "Tous les nœuds n'ont pas été supprimés",
107
107
  "fail_delete": "Impossible de supprimer le cluster"
108
108
  }
109
109
  },
package/dist/index.html CHANGED
@@ -13,8 +13,8 @@
13
13
 
14
14
  <link rel="apple-touch-icon-precomposed" href="icon.png">
15
15
 
16
- <script src="plugin-registry.js?v=2.2.3-TR3"></script>
17
- <script src="plugins.js?v=2.2.3-TR3"></script>
16
+ <script src="plugin-registry.js?v=2.2.3"></script>
17
+ <script src="plugins.js?v=2.2.3"></script>
18
18
  <link rel="shortcut icon" href="icon.png"><link href="vendor.a43cfebcaaba38dfc77d.css" rel="stylesheet"><link href="main.c29920c7f6f6ecb00cae.css" rel="stylesheet"></head>
19
19
 
20
20
  <body>
@@ -166,6 +166,6 @@
166
166
  <object data="img/graphdb-splash.1ef2940889acddc03c7defb3f9f41f8d.svg"></object>
167
167
  <div>GraphDB Workbench is loading...</div>
168
168
  </div>
169
- <script type="text/javascript" src="vendor.49ad20ac4aa296c27b45.bundle.js"></script><script type="text/javascript" src="main.35e30fd1f1326e91ed6c.bundle.js"></script><script type="text/javascript" src="bundle.ad25ae9ac5a096a64118.bundle.js"></script></body>
169
+ <script type="text/javascript" src="vendor.49ad20ac4aa296c27b45.bundle.js"></script><script type="text/javascript" src="main.35e30fd1f1326e91ed6c.bundle.js"></script><script type="text/javascript" src="bundle.d34ddcc40dd190254f1c.bundle.js"></script></body>
170
170
 
171
171
  </html>
@@ -1,4 +1,4 @@
1
- <link href="css/rdf-resource-search.css?v=2.2.3-TR3" rel="stylesheet"/>
1
+ <link href="css/rdf-resource-search.css?v=2.2.3" rel="stylesheet"/>
2
2
 
3
3
  <div ng-if="getActiveRepository() && hasActiveLocation() && isNotLoading()" ng-cloak>
4
4
  <div id="search-box" class="card search-rdf-input" ng-keydown="onKeyDown($event)" ng-if="!isHomePage()">
@@ -1,4 +1,4 @@
1
- <link href="css/autocomplete.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/autocomplete.css?v=2.2.3" rel="stylesheet">
2
2
  <div id="autocomplete" class="page">
3
3
  <h1>
4
4
  {{title}}
@@ -1,4 +1,4 @@
1
- <link href="css/repository.create.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/repository.create.css?v=2.2.3" rel="stylesheet">
2
2
 
3
3
  <div>
4
4
  <h1 class="mb-3">{{pageTitle}}</h1>
@@ -1,6 +1,6 @@
1
- <link href="css/clustermanagement.css?v=2.2.3-TR3" rel="stylesheet"/>
2
- <link href="css/rdf-details-side-panel.css?v=2.2.3-TR3" rel="stylesheet"/>
3
- <link href="js/lib/d3-tip/d3-tip.css?v=2.2.3-TR3" rel="stylesheet"/>
1
+ <link href="css/clustermanagement.css?v=2.2.3" rel="stylesheet"/>
2
+ <link href="css/rdf-details-side-panel.css?v=2.2.3" rel="stylesheet"/>
3
+ <link href="js/lib/d3-tip/d3-tip.css?v=2.2.3" rel="stylesheet"/>
4
4
 
5
5
  <title>{{'view.clusterManagement.title' | translate}}</title>
6
6
 
@@ -29,12 +29,12 @@
29
29
  tooltip-placement="bottom">
30
30
  <span class="icon-trash"></span> {{'cluster_management.buttons.delete_cluster' | translate}}
31
31
  </button>
32
- <button type="button" class="btn btn-primary add-node-btn" ng-if="currentNode.nodeState === NodeState.LEADER"
32
+ <button type="button" class="btn btn-primary add-node-btn" ng-if="currentLeader"
33
33
  ng-click="showAddNodeToClusterDialog()"
34
34
  gdb-tooltip="{{'cluster_management.buttons.add_nodes_btn_tooltip' | translate}}" tooltip-placement="bottom">
35
35
  <span class="icon-plus"></span> {{'cluster_management.buttons.add_nodes_btn' | translate}}
36
36
  </button>
37
- <button type="button" class="btn btn-secondary remove-node-btn mr-2" ng-if="currentNode.nodeState === NodeState.LEADER"
37
+ <button type="button" class="btn btn-secondary remove-node-btn mr-2" ng-if="currentLeader"
38
38
  ng-click="showRemoveNodesFromClusterDialog()"
39
39
  gdb-tooltip="{{'cluster_management.buttons.remove_nodes_btn_tooltip' | translate}}" tooltip-placement="bottom">
40
40
  <span class="icon-minus"></span> {{'cluster_management.buttons.remove_nodes_btn' | translate}}
@@ -1,10 +1,10 @@
1
- <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3" rel="stylesheet">
2
2
 
3
- <link href="css/lib/yasqe.min.css?v=2.2.3-TR3" rel="stylesheet"/>
3
+ <link href="css/lib/yasqe.min.css?v=2.2.3" rel="stylesheet"/>
4
4
 
5
- <link href="css/new-sparql.css?v=2.2.3-TR3" rel="stylesheet"/>
5
+ <link href="css/new-sparql.css?v=2.2.3" rel="stylesheet"/>
6
6
 
7
- <link href="css/graphs-config.css?v=2.2.3-TR3" rel="stylesheet"/>
7
+ <link href="css/graphs-config.css?v=2.2.3" rel="stylesheet"/>
8
8
 
9
9
 
10
10
  <div class="container-fluid">
@@ -1,4 +1,4 @@
1
- <link href="css/dependencies.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/dependencies.css?v=2.2.3" rel="stylesheet">
2
2
 
3
3
 
4
4
  <title>Explore Class Dependencies</title>
@@ -1,5 +1,5 @@
1
- <link href="css/domain-range-graph.css?v=2.2.3-TR3" rel="stylesheet"/>
2
- <link href="css/rdf-details-side-panel.css?v=2.2.3-TR3" rel="stylesheet"/>
1
+ <link href="css/domain-range-graph.css?v=2.2.3" rel="stylesheet"/>
2
+ <link href="css/rdf-details-side-panel.css?v=2.2.3" rel="stylesheet"/>
3
3
 
4
4
  <title>Explore Data Graph</title>
5
5
 
@@ -1,4 +1,4 @@
1
- <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3" rel="stylesheet">
2
2
 
3
3
  <div core-errors></div>
4
4
  <div class="page" ng-show="getActiveRepository()">
@@ -1,4 +1,4 @@
1
- <link href="css/explore.css?v=2.2.3-TR3" rel="stylesheet"/>
1
+ <link href="css/explore.css?v=2.2.3" rel="stylesheet"/>
2
2
  <div core-errors></div>
3
3
  <div class="page fit-content-on-mobile" ng-show="getActiveRepository()">
4
4
  <div class="resource-info" ng-if="!isTripleResource()">
@@ -1,4 +1,4 @@
1
- <link href="css/export.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/export.css?v=2.2.3" rel="stylesheet">
2
2
 
3
3
  <div id="wb-export">
4
4
 
@@ -1,4 +1,4 @@
1
- <link href="css/find.css?v=2.2.3-TR3" rel="stylesheet"/>
1
+ <link href="css/find.css?v=2.2.3" rel="stylesheet"/>
2
2
 
3
3
  <div class="page">
4
4
  <h1>
@@ -1,10 +1,10 @@
1
- <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3" rel="stylesheet">
2
2
 
3
- <link href="css/lib/yasqe.min.css?v=2.2.3-TR3" rel="stylesheet"/>
3
+ <link href="css/lib/yasqe.min.css?v=2.2.3" rel="stylesheet"/>
4
4
 
5
- <link href="css/new-sparql.css?v=2.2.3-TR3" rel="stylesheet"/>
5
+ <link href="css/new-sparql.css?v=2.2.3" rel="stylesheet"/>
6
6
 
7
- <link href="css/graphs-config.css?v=2.2.3-TR3" rel="stylesheet"/>
7
+ <link href="css/graphs-config.css?v=2.2.3" rel="stylesheet"/>
8
8
 
9
9
  <h1>
10
10
  {{title}}
@@ -82,7 +82,7 @@
82
82
  <div class="image-label-container mb-3" ng-show="page == 1">
83
83
  <label class="image-label d-flex" ng-class="{'active': newConfig.startMode == 'search'}">
84
84
  <input type="radio" class="form-check-input" id="checkboxSuccessSearch" ng-model="newConfig.startMode" value="search">
85
- <img class="image-label-image" src="css/images/search.png?v=2.2.3-TR3" alt="search image" width="100%">
85
+ <img class="image-label-image" src="css/images/search.png?v=2.2.3" alt="search image" width="100%">
86
86
  <div class="image-label-content">
87
87
  <h5>{{'start.with.search.box' | translate}}</h5>
88
88
  <div>{{'choose.starting.point' | translate}}</div>
@@ -91,7 +91,7 @@
91
91
 
92
92
  <label class="image-label d-flex" ng-class="{'active': newConfig.startMode == 'node'}">
93
93
  <input type="radio" class="form-check-input" id="checkboxSuccessNode" ng-model="newConfig.startMode" value="node">
94
- <img class="image-label-image" src="css/images/node.png?v=2.2.3-TR3" alt="node image" width="100%">
94
+ <img class="image-label-image" src="css/images/node.png?v=2.2.3" alt="node image" width="100%">
95
95
  <div class="image-label-content">
96
96
  <h5>{{'start.with.fixed.node' | translate}}</h5>
97
97
  <div>{{'visual.graph.start' | translate}}</div>
@@ -100,7 +100,7 @@
100
100
 
101
101
  <label class="image-label d-flex" ng-class="{'active': newConfig.startMode == 'query'}">
102
102
  <input type="radio" class="form-check-input" data-cy="graph-config-by-graph-query-checkbox" ng-model="newConfig.startMode" value="query">
103
- <img class="image-label-image" src="css/images/query.png?v=2.2.3-TR3" alt="query image" width="100%">
103
+ <img class="image-label-image" src="css/images/query.png?v=2.2.3" alt="query image" width="100%">
104
104
  <div class="image-label-content">
105
105
  <h5>{{'query.results.start' | translate}}</h5>
106
106
  <div>{{'results.start' | translate}}</div>
@@ -141,7 +141,7 @@
141
141
  <p>{{'optional.query' | translate}} <em>{{getSampleName(samples[0], 'expandQuery')}}</em> {{'sample.query.used' | translate}}</p>
142
142
  </div>
143
143
  <div>
144
- <img src="css/images/expand.png?v=2.2.3-TR3" class="info-box-img" height="220" alt="expand image">
144
+ <img src="css/images/expand.png?v=2.2.3" class="info-box-img" height="220" alt="expand image">
145
145
  </div>
146
146
  </div>
147
147
 
@@ -167,7 +167,7 @@
167
167
  <p>{{'optional.query' | translate}} <em>{{getSampleName(samples[0], 'resourceQuery')}}</em> {{'sample.query.used' | translate}}</p>
168
168
  </div>
169
169
  <div>
170
- <img src="css/images/labels-size.png?v=2.2.3-TR3" class="info-box-img" height="220" alt="labels size image">
170
+ <img src="css/images/labels-size.png?v=2.2.3" class="info-box-img" height="220" alt="labels size image">
171
171
  </div>
172
172
  </div>
173
173
 
@@ -186,7 +186,7 @@
186
186
  <p>{{'query.is.optional.local.name' | translate}}</p>
187
187
  </div>
188
188
  <div>
189
- <img src="css/images/predicates.png?v=2.2.3-TR3" class="info-box-img" height="220" alt="predicates image">
189
+ <img src="css/images/predicates.png?v=2.2.3" class="info-box-img" height="220" alt="predicates image">
190
190
  </div>
191
191
  </div>
192
192
 
@@ -211,7 +211,7 @@
211
211
  <p>{{'optional.query' | translate}} <em>{{getSampleName(samples[0], 'resourcePropertiesQuery')}}</em> {{'sample.query.used' | translate}}</p>
212
212
  </div>
213
213
  <div>
214
- <img src="css/images/side-panel.png?v=2.2.3-TR3" class="info-box-img" height="220" alt="side panel image">
214
+ <img src="css/images/side-panel.png?v=2.2.3" class="info-box-img" height="220" alt="side panel image">
215
215
  </div>
216
216
  </div>
217
217
 
@@ -1,7 +1,7 @@
1
- <link href="css/graphs-vizualizations.css?v=2.2.3-TR3" rel="stylesheet"/>
2
- <link href="css/rdf-details-side-panel.css?v=2.2.3-TR3" rel="stylesheet"/>
3
- <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.2.3-TR3" rel="stylesheet"/>
4
- <link href="js/lib/d3-tip/d3-tip.css?v=2.2.3-TR3" rel="stylesheet"/>
1
+ <link href="css/graphs-vizualizations.css?v=2.2.3" rel="stylesheet"/>
2
+ <link href="css/rdf-details-side-panel.css?v=2.2.3" rel="stylesheet"/>
3
+ <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.2.3" rel="stylesheet"/>
4
+ <link href="js/lib/d3-tip/d3-tip.css?v=2.2.3" rel="stylesheet"/>
5
5
 
6
6
  <div class="container-fluid">
7
7
 
@@ -131,9 +131,9 @@
131
131
  <tr ng-repeat="config in graphConfigs">
132
132
  <td width="20">
133
133
  <a href ng-click="goToGraphConfig(config)">
134
- <img ng-if="config.startMode == 'search'" src="css/images/search.png?v=2.2.3-TR3" alt="" width="64" uib-popover="{{'visual.config.search.box.starting.point' | translate}}" popover-trigger="mouseenter">
135
- <img ng-if="config.startMode == 'node'" src="css/images/node.png?v=2.2.3-TR3" alt="" width="64" uib-popover="{{'visual.config.fixed.resource.starting.point' | translate}}" popover-trigger="mouseenter">
136
- <img ng-if="config.startMode == 'query'" src="css/images/query.png?v=2.2.3-TR3" alt="" data-cy="graph-config-starting-point-query-results" width="64" uib-popover="{{'visual.config.query.results.starting.point' | translate}}" popover-trigger="mouseenter">
134
+ <img ng-if="config.startMode == 'search'" src="css/images/search.png?v=2.2.3" alt="" width="64" uib-popover="{{'visual.config.search.box.starting.point' | translate}}" popover-trigger="mouseenter">
135
+ <img ng-if="config.startMode == 'node'" src="css/images/node.png?v=2.2.3" alt="" width="64" uib-popover="{{'visual.config.fixed.resource.starting.point' | translate}}" popover-trigger="mouseenter">
136
+ <img ng-if="config.startMode == 'query'" src="css/images/query.png?v=2.2.3" alt="" data-cy="graph-config-starting-point-query-results" width="64" uib-popover="{{'visual.config.query.results.starting.point' | translate}}" popover-trigger="mouseenter">
137
137
  </a>
138
138
  </td>
139
139
  <td>
@@ -1,4 +1,4 @@
1
- <link href="css/guides.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/guides.css?v=2.2.3" rel="stylesheet">
2
2
  <h1>
3
3
  {{title}}
4
4
  <span class="btn btn-link"
@@ -1,4 +1,4 @@
1
- <link rel="stylesheet" type="text/css" href="css/import.css?v=2.2.3-TR3">
1
+ <link rel="stylesheet" type="text/css" href="css/import.css?v=2.2.3">
2
2
 
3
3
  <div id="wb-import">
4
4
  <h1>
@@ -1,12 +1,12 @@
1
- <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3" rel="stylesheet">
2
2
 
3
- <link href="css/lib/yasqe.min.css?v=2.2.3-TR3" rel="stylesheet"/>
3
+ <link href="css/lib/yasqe.min.css?v=2.2.3" rel="stylesheet"/>
4
4
 
5
- <link href="css/new-sparql.css?v=2.2.3-TR3" rel="stylesheet"/>
5
+ <link href="css/new-sparql.css?v=2.2.3" rel="stylesheet"/>
6
6
 
7
- <link href="css/graphs-config.css?v=2.2.3-TR3" rel="stylesheet"/>
7
+ <link href="css/graphs-config.css?v=2.2.3" rel="stylesheet"/>
8
8
 
9
- <link href="css/jdbc.css?v=2.2.3-TR3" rel="stylesheet"/>
9
+ <link href="css/jdbc.css?v=2.2.3" rel="stylesheet"/>
10
10
 
11
11
  <div class="container-fluid fit-content-on-mobile">
12
12
  <h1>
@@ -3,7 +3,7 @@
3
3
 
4
4
  <title>${messages.app.title} : ${messages.jmx.QueryMonitoringPage.title}</title>
5
5
 
6
- <link href="css/jmx.css?v=2.2.3-TR3" rel="stylesheet" />
6
+ <link href="css/jmx.css?v=2.2.3" rel="stylesheet" />
7
7
 
8
8
  <h1>
9
9
  {{title}}
@@ -1,7 +1,7 @@
1
- <link href="css/jmx.css?v=2.2.3-TR3" rel="stylesheet"/>
1
+ <link href="css/jmx.css?v=2.2.3" rel="stylesheet"/>
2
2
 
3
3
  <!-- nvd3 css and js starts-->
4
- <link href="js/lib/nvd3/nv.d3.css?v=2.2.3-TR3" rel="stylesheet"/>
4
+ <link href="js/lib/nvd3/nv.d3.css?v=2.2.3" rel="stylesheet"/>
5
5
 
6
6
 
7
7
  <div class="hiddenVariables" style="display: none;">
@@ -1,5 +1,5 @@
1
- <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3-TR3" rel="stylesheet">
2
- <link href="css/export.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3" rel="stylesheet">
2
+ <link href="css/export.css?v=2.2.3" rel="stylesheet">
3
3
 
4
4
  <title>Namespaces</title>
5
5
 
@@ -1,4 +1,4 @@
1
- <link href="css/plugins.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/plugins.css?v=2.2.3" rel="stylesheet">
2
2
  <div id="plugins" class="page">
3
3
  <h1>
4
4
  {{title}} {{'for.repository' | translate}} {{getActiveRepository()}}
@@ -1,10 +1,10 @@
1
- <link href="css/rdf-class-hierarchy.css?v=2.2.3-TR3" rel="stylesheet"/>
2
- <link href="css/rdf-class-hierarchy-labels.css?v=2.2.3-TR3" rel="stylesheet"/>
3
- <link href="css/rdf-details-side-panel.css?v=2.2.3-TR3" rel="stylesheet"/>
4
- <link href="js/lib/rzslider/rzslider.min.css?v=2.2.3-TR3" rel="stylesheet"/>
5
- <link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.2.3-TR3" rel="stylesheet"/>
6
- <link href="js/lib/d3-tip/d3-tip.css?v=2.2.3-TR3" rel="stylesheet"/>
7
- <link href="css/lib/animate/3.2.0/animate.min.css?v=2.2.3-TR3" rel="stylesheet"/>
1
+ <link href="css/rdf-class-hierarchy.css?v=2.2.3" rel="stylesheet"/>
2
+ <link href="css/rdf-class-hierarchy-labels.css?v=2.2.3" rel="stylesheet"/>
3
+ <link href="css/rdf-details-side-panel.css?v=2.2.3" rel="stylesheet"/>
4
+ <link href="js/lib/rzslider/rzslider.min.css?v=2.2.3" rel="stylesheet"/>
5
+ <link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.2.3" rel="stylesheet"/>
6
+ <link href="js/lib/d3-tip/d3-tip.css?v=2.2.3" rel="stylesheet"/>
7
+ <link href="css/lib/animate/3.2.0/animate.min.css?v=2.2.3" rel="stylesheet"/>
8
8
 
9
9
  <title>Explore Data Graph</title>
10
10
 
@@ -1,5 +1,5 @@
1
- <link href="css/rdfrank.css?v=2.2.3-TR3" rel="stylesheet">
2
- <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.2.3-TR3" rel="stylesheet"/>
1
+ <link href="css/rdfrank.css?v=2.2.3" rel="stylesheet">
2
+ <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.2.3" rel="stylesheet"/>
3
3
 
4
4
  <div id="rdfRank" class="page">
5
5
  <h1>
@@ -1,6 +1,6 @@
1
- <link href="css/repositories.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/repositories.css?v=2.2.3" rel="stylesheet">
2
2
 
3
- <link href="css/lib/bootstrap-switch/bootstrap-switch.min.css?v=2.2.3-TR3" rel="stylesheet">
3
+ <link href="css/lib/bootstrap-switch/bootstrap-switch.min.css?v=2.2.3" rel="stylesheet">
4
4
 
5
5
  <h1>
6
6
  {{title}}
@@ -1,6 +1,6 @@
1
- <link href="css/repositories.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/repositories.css?v=2.2.3" rel="stylesheet">
2
2
 
3
- <link href="css/lib/bootstrap-switch/bootstrap-switch.min.css?v=2.2.3-TR3" rel="stylesheet">
3
+ <link href="css/lib/bootstrap-switch/bootstrap-switch.min.css?v=2.2.3" rel="stylesheet">
4
4
 
5
5
  <div id="wb-repository">
6
6
  <h1>{{pageTitle}}</h1>
@@ -1,4 +1,4 @@
1
- <link href="css/similarity.css?v=2.2.3-TR3" rel='stylesheet' type='text/css'/>
1
+ <link href="css/similarity.css?v=2.2.3" rel='stylesheet' type='text/css'/>
2
2
 
3
3
  <div class="container-fluid">
4
4
 
@@ -1,12 +1,12 @@
1
- <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3" rel="stylesheet">
2
2
 
3
- <link href="css/lib/yasqe.min.css?v=2.2.3-TR3" rel="stylesheet"/>
3
+ <link href="css/lib/yasqe.min.css?v=2.2.3" rel="stylesheet"/>
4
4
 
5
- <link href="css/new-sparql.css?v=2.2.3-TR3" rel="stylesheet"/>
5
+ <link href="css/new-sparql.css?v=2.2.3" rel="stylesheet"/>
6
6
 
7
- <link href="css/graphs-config.css?v=2.2.3-TR3" rel="stylesheet"/>
7
+ <link href="css/graphs-config.css?v=2.2.3" rel="stylesheet"/>
8
8
 
9
- <link href="css/jdbc.css?v=2.2.3-TR3" rel="stylesheet"/>
9
+ <link href="css/jdbc.css?v=2.2.3" rel="stylesheet"/>
10
10
 
11
11
  <div class="container-fluid fit-content-on-mobile">
12
12
  <h1>
@@ -1,8 +1,8 @@
1
- <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3-TR3" rel="stylesheet">
1
+ <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.2.3" rel="stylesheet">
2
2
 
3
- <link href="css/lib/yasqe.min.css?v=2.2.3-TR3" rel="stylesheet"/>
3
+ <link href="css/lib/yasqe.min.css?v=2.2.3" rel="stylesheet"/>
4
4
 
5
- <link href="css/new-sparql.css?v=2.2.3-TR3" rel="stylesheet"/>
5
+ <link href="css/new-sparql.css?v=2.2.3" rel="stylesheet"/>
6
6
  <div id="wb-sparql">
7
7
 
8
8
  <div ng-show="getActiveRepositoryNoError()" class="pull-right mt-1">
@@ -1,6 +1,6 @@
1
1
 
2
- <link href='css/lib/swagger-ui.min.css?v=2.2.3-TR3' rel='stylesheet' type='text/css'/>
3
- <link href='css/swagger.custom.css?v=2.2.3-TR3' rel='stylesheet' type='text/css'/>
2
+ <link href='css/lib/swagger-ui.min.css?v=2.2.3' rel='stylesheet' type='text/css'/>
3
+ <link href='css/swagger.custom.css?v=2.2.3' rel='stylesheet' type='text/css'/>
4
4
 
5
5
  <h1>
6
6
  {{title}}
@@ -3,37 +3,37 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <title>Swagger UI</title>
6
- <link rel="icon" type="image/png" href="images/favicon-32x32.png?v=2.2.3-TR3" sizes="32x32"/>
7
- <link rel="icon" type="image/png" href="images/favicon-16x16.png?v=2.2.3-TR3" sizes="16x16"/>
8
- <link href='../../css/common.css?v=2.2.3-TR3' media='screen' rel='stylesheet' type='text/css'/>
9
- <link href='css/reset.css?v=2.2.3-TR3' media='screen' rel='stylesheet' type='text/css'/>
10
- <link href='css/screen.css?v=2.2.3-TR3' media='screen' rel='stylesheet' type='text/css'/>
11
- <link href='css/onto-theme.css?v=2.2.3-TR3' media='screen' rel='stylesheet' type='text/css'/>
12
- <link href='css/reset.css?v=2.2.3-TR3' media='print' rel='stylesheet' type='text/css'/>
13
- <link href='css/print.css?v=2.2.3-TR3' media='print' rel='stylesheet' type='text/css'/>
14
- <link href='css/onto-theme.css?v=2.2.3-TR3' media='print' rel='stylesheet' type='text/css'/>
6
+ <link rel="icon" type="image/png" href="images/favicon-32x32.png?v=2.2.3" sizes="32x32"/>
7
+ <link rel="icon" type="image/png" href="images/favicon-16x16.png?v=2.2.3" sizes="16x16"/>
8
+ <link href='../../css/common.css?v=2.2.3' media='screen' rel='stylesheet' type='text/css'/>
9
+ <link href='css/reset.css?v=2.2.3' media='screen' rel='stylesheet' type='text/css'/>
10
+ <link href='css/screen.css?v=2.2.3' media='screen' rel='stylesheet' type='text/css'/>
11
+ <link href='css/onto-theme.css?v=2.2.3' media='screen' rel='stylesheet' type='text/css'/>
12
+ <link href='css/reset.css?v=2.2.3' media='print' rel='stylesheet' type='text/css'/>
13
+ <link href='css/print.css?v=2.2.3' media='print' rel='stylesheet' type='text/css'/>
14
+ <link href='css/onto-theme.css?v=2.2.3' media='print' rel='stylesheet' type='text/css'/>
15
15
 
16
- <script src='lib/object-assign-pollyfill.js?v=2.2.3-TR3' type='text/javascript'></script>
17
- <script src='lib/jquery-3.4.1.min.js?v=2.2.3-TR3' type='text/javascript'></script>
18
- <script src='lib/jquery.slideto.min.js?v=2.2.3-TR3' type='text/javascript'></script>
19
- <script src='lib/jquery.wiggle.min.js?v=2.2.3-TR3' type='text/javascript'></script>
16
+ <script src='lib/object-assign-pollyfill.js?v=2.2.3' type='text/javascript'></script>
17
+ <script src='lib/jquery-3.4.1.min.js?v=2.2.3' type='text/javascript'></script>
18
+ <script src='lib/jquery.slideto.min.js?v=2.2.3' type='text/javascript'></script>
19
+ <script src='lib/jquery.wiggle.min.js?v=2.2.3' type='text/javascript'></script>
20
20
 
21
- <script src="lib/jquery-migrate-1.4.1.min.js?v=2.2.3-TR3"></script>
22
- <script src='lib/jquery.ba-bbq.min.js?v=2.2.3-TR3' type='text/javascript'></script>
23
- <script src='lib/handlebars.min-v4.7.3.js?v=2.2.3-TR3' type='text/javascript'></script>
24
- <script src='lib/lodash.min.js?v=2.2.3-TR3' type='text/javascript'></script>
25
- <script src='lib/backbone-min.js?v=2.2.3-TR3' type='text/javascript'></script>
26
- <script src='swagger-ui.js?v=2.2.3-TR3' type='text/javascript'></script>
27
- <script src='lib/highlight.9.1.0.pack.js?v=2.2.3-TR3' type='text/javascript'></script>
28
- <script src='lib/highlight.9.1.0.pack_extended.js?v=2.2.3-TR3' type='text/javascript'></script>
29
- <script src='lib/jsoneditor.min.js?v=2.2.3-TR3' type='text/javascript'></script>
30
- <script src='lib/marked.js?v=2.2.3-TR3' type='text/javascript'></script>
31
- <script src='lib/swagger-oauth.js?v=2.2.3-TR3' type='text/javascript'></script>
21
+ <script src="lib/jquery-migrate-1.4.1.min.js?v=2.2.3"></script>
22
+ <script src='lib/jquery.ba-bbq.min.js?v=2.2.3' type='text/javascript'></script>
23
+ <script src='lib/handlebars.min-v4.7.3.js?v=2.2.3' type='text/javascript'></script>
24
+ <script src='lib/lodash.min.js?v=2.2.3' type='text/javascript'></script>
25
+ <script src='lib/backbone-min.js?v=2.2.3' type='text/javascript'></script>
26
+ <script src='swagger-ui.js?v=2.2.3' type='text/javascript'></script>
27
+ <script src='lib/highlight.9.1.0.pack.js?v=2.2.3' type='text/javascript'></script>
28
+ <script src='lib/highlight.9.1.0.pack_extended.js?v=2.2.3' type='text/javascript'></script>
29
+ <script src='lib/jsoneditor.min.js?v=2.2.3' type='text/javascript'></script>
30
+ <script src='lib/marked.js?v=2.2.3' type='text/javascript'></script>
31
+ <script src='lib/swagger-oauth.js?v=2.2.3' type='text/javascript'></script>
32
32
 
33
33
  <!-- Some basic translations -->
34
- <!-- <script src='lang/translator.js?v=2.2.3-TR3' type='text/javascript'></script> -->
35
- <!-- <script src='lang/ru.js?v=2.2.3-TR3' type='text/javascript'></script> -->
36
- <!-- <script src='lang/en.js?v=2.2.3-TR3' type='text/javascript'></script> -->
34
+ <!-- <script src='lang/translator.js?v=2.2.3' type='text/javascript'></script> -->
35
+ <!-- <script src='lang/ru.js?v=2.2.3' type='text/javascript'></script> -->
36
+ <!-- <script src='lang/en.js?v=2.2.3' type='text/javascript'></script> -->
37
37
 
38
38
  <script type="text/javascript">
39
39
  $(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphdb-workbench",
3
- "version": "2.2.3-TR3",
3
+ "version": "2.2.3",
4
4
  "description": "The web application for GraphDB APIs",
5
5
  "scripts": {
6
6
  "build": "webpack --config=webpack.config.prod.js",
@@ -1,2 +0,0 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[4,113],{43:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",n),n.$inject=["$http"];function n(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const n=$.param({force:t});return e.delete("rest/cluster/config?"+n)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},59:function(e,t,n){"use strict";n.r(t),n.d(t,"NodeState",(function(){return o})),n.d(t,"LinkState",(function(){return r}));n(4),n(43);angular.module("graphdb.framework.clustermanagement.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",s).controller("CreateClusterCtrl",l).controller("DeleteClusterCtrl",c).controller("EditClusterCtrl",d).controller("AddLocationFromClusterCtrl",u).controller("AddNodesDialogCtrl",f).controller("RemoveNodesDialogCtrl",m).factory("RemoteLocationsService",i);const o={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER",DELETED:"DELETED"},r={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION"};function s(e,t,n,s,a,l,c,i,u,d,g,f,m,p,C,h){let _;function L(t){_||(_=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{_=null,e.childContext.redraw()}))}function N(){return C.getLocationsWithRpcAddresses().then(t=>{const n=t.find(e=>e.isLocal);n&&(n.endpoint=e.currentNode.endpoint,n.rpcAddress=e.currentNode.address),e.clusterModel.locations=t})}function $(t){s.success(t),e.getClusterConfiguration()}function v(e,t,n){let o=e.message||e;400===t&&Array.isArray(e)?o=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412===t&&(o=Object.keys(e).reduce((t,n)=>t+`<div>${n} - ${e[n]}</div>`,"")),s.error(o,n,{allowHtml:!0})}e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=o,e.leaderChanged=!1,e.currentLeader=null,e.childContext={},e.shouldShowClusterSettingsPanel=!1,e.onopen=e.onclose=()=>angular.noop(),e.toggleSidePanel=()=>{e.shouldShowClusterSettingsPanel=!e.shouldShowClusterSettingsPanel},e.toggleLegend=()=>{e.childContext.toggleLegend&&e.childContext.toggleLegend()},e.setLoader=function(t,n){g.cancel(e.loaderTimeout),t?(e.loaderMessage=n,e.loaderTimeout=g((function(){e.loader=t}),50)):e.loader=!1},e.childContext.selectNode=function(t){e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=function(){return f.getClusterStatus().then((function(t){const n=t.data.slice(),s=n.find(e=>e.nodeState===o.LEADER);var a,l;a=e.currentLeader,(l=s)&&a&&a.address===l.address||(e.currentLeader=s,e.leaderChanged=!0),e.currentNode=n.find(t=>t.address===e.currentNode.address);const c=[];s&&Object.keys(s.syncStatus).forEach(e=>{const t=s.syncStatus[e];t!==r.NO_CONNECTION&&c.push({id:`${s.address}-${e}`,source:s.address,target:e,status:t})}),e.clusterModel.hasCluster=!0,e.clusterModel.nodes=n,e.clusterModel.links=c})).catch((function(t){404===t.status&&(e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null)}))},e.showCreateClusterDialog=function(){l.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.finally((function(){N(),L(!0)}))},e.showDeleteDialog=()=>{l.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then((function(t){const n=p.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,n),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>e===o.DELETED)){const e=p.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");s.success(e)}else{const e=p.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),n=Object.keys(t.data).reduce((e,n)=>e+`<div>${n} - ${t.data[n]}</div>`,"");s.success(n,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=p.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete"),n=Object.keys(e.data).reduce((t,n)=>t+`<div>${n} - ${e.data[n]}</div>`,"");s.error(n,t,{allowHtml:!0})}).finally(()=>{e.setLoader(!1),L(!0),h.$broadcast("reloadLocations")})}))},e.showEditConfigurationDialog=()=>{l.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:function(){return{clusterConfiguration:e.clusterConfiguration}}}}).result.finally((function(){L(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>N()),e.showAddNodeToClusterDialog=()=>{l.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then((function(t){const n=p.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,n);const o=t.map(e=>e.rpcAddress);f.addNodesToCluster(o).then(()=>{$(p.instant("cluster_management.cluster_page.notifications.add_nodes_success"))}).catch(e=>{const t=p.instant("cluster_management.cluster_page.notifications.add_nodes_fail");v(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),L(!0)})})).finally(()=>N())},e.showRemoveNodesFromClusterDialog=()=>{l.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const n=p.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,n);const o=t.map(e=>e.address);f.removeNodesFromCluster(o).then(()=>{$(p.instant("cluster_management.cluster_page.notifications.remove_nodes_success"))}).catch(e=>{const t=p.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");v(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),L(!0)})}))},(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=u((function(){L()}),1e3);e.$on("$destroy",(function(){u.cancel(t)}))});const S=angular.element(i),E=function(){e.childContext.resize()};S.bind("resize",E);const T=function(t){const n=t.target,o=document.getElementById("nodeTooltip");e.selectedNode&&o!==n&&!o.contains(n)&&e.childContext.selectNode(null)};S.bind("mousedown",T),e.$on("$destroy",(function(){S.unbind("resize",E),S.unbind("mousedown",T)}))}s.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope"];const a=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function l(e,t,n,o,r,s,l,c,i,u){e.pageTitle=s.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.getAdvancedOptionsClass=a,e.createCluster=function(){return e.setLoader(!0,s.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),o.createCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(t){!function(t,n){delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.create_failed")),e.errors.splice(0),412===n?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===n?e.errors.push(...t):409===n&&e.errors.push(t)}(t.data,t.status)})).finally(()=>{e.setLoader(!1),u.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,n=e.selectedLocations&&e.selectedLocations.length>=2;return t&&n},e.setLoader=function(t,o){n.cancel(e.loaderTimeout),t?e.loaderTimeout=n((function(){e.loader=t,e.loaderMessage=o}),300):e.loader=!1},e.addNodeToList=function(t){t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=function(t,n){n.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(n))},e.addLocation=function(){i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=function(){e.isClusterConfigurationValid()?e.createCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=function(){t.dismiss("cancel")}}function c(e,t){e.forceDelete=!1,e.ok=function(){t.close(e.forceDelete)},e.cancel=function(){t.dismiss("cancel")}}function i(e,t,n,o,r){return{addLocation:function(){let e;return n.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(n=>(e=n,e.isLocal=!1,e.endpoint=e.uri,function(e){let n;return o.addLocation(e).catch(e=>{const n=getError(e.data,e.status);return t.error(n,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return n=t.find(t=>t.endpoint===e.uri),n})}(e)))},getLocationsWithRpcAddresses:s};function s(){return o.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const n=getError(e.data,e.status);t.error(n,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return o.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}function u(e,t,n,o,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1},e.docBase=g(o),e.isValidLocation=function(){return(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1},e.ok=function(){e.newLocation?t.close(e.newLocation):n.error(r.instant("location.cannot.be.empty.error"))},e.cancel=function(){t.dismiss("cancel")}}function d(e,t,n,o,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=angular.copy(a.clusterConfiguration),e.loader=!1,e.updateCluster=function(){return e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),o.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(t){!function(t,n){delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===n||"string"==typeof t?e.errors.push(t):412===n?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===n&&e.errors.push(...t)}(t.data,t.status)})).finally(()=>e.setLoader(!1))},e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=function(t,o){n.cancel(e.loaderTimeout),t?e.loaderTimeout=n((function(){e.loader=t,e.loaderMessage=o}),300):e.loader=!1},e.ok=function(){e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=function(){t.dismiss("cancel")}}l.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"],c.$inject=["$scope","$uibModalInstance"],i.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"],u.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"],d.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"];const g=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion};function f(e,t,n,o,r){const s=angular.copy(n.clusterConfiguration),a=angular.copy(n.clusterModel);e.nodes=[],e.clusterNodes=a.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),e.locations=a.locations.filter(e=>!s.nodes.includes(e.rpcAddress)),e.locations.forEach(e=>e.isNew=!0),e.addNodeToList=function(t){t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=function(t,n){e.nodes.splice(t,1),e.locations.push(n)},e.addLocation=function(){r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=function(){t.close(e.nodes)},e.cancel=function(){t.dismiss("cancel")}}function m(e,t,n){const o=angular.copy(n.clusterModel);e.clusterNodes=o.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=function(t,n){n.shouldRemove=!n.shouldRemove,n.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=function(){const n=e.clusterNodes.filter(e=>e.shouldRemove);t.close(n)},e.cancel=function(){t.dismiss("cancel")}}f.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"],m.$inject=["$scope","$uibModalInstance","data"]}}]);
2
- //# sourceMappingURL=4.9bdad67508aabe526dcc.bundle.js.map