export const __webpack_esm_id__=19994;export const __webpack_esm_ids__=[19994];export const __webpack_esm_modules__={19994(){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",t),t.$inject=["$http"];const e="rest/cluster";function t(t){return{getClusterConfig:function(){return t.get(`${e}/config`)},createCluster:function(n){return t.post(`${e}/httpConfig`,n)},updateClusterConfiguration:function(n){return n.nodes&&delete n.nodes,t.patch(`${e}/config`,n)},deleteCluster:function(n){const r=$.param({force:n});return t.delete(`${e}/config?${r}`)},replaceNodesInCluster:function(n){return t.patch(`${e}/httpConfig`,n)},getClusterStatus:function(){return t.get(`${e}/group/status`)},getNodeStatus:function(){return t.get(`${e}/node/status`)},addCusterTag:function(n){return t.post(`${e}/config/tag`,n)},deleteClusterTag:function(n){return t({method:"DELETE",url:`${e}/config/tag`,data:{tag:n},headers:{"Content-type":"application/json;charset=utf-8"}})},disableSecondaryMode:function(){return t.delete(`${e}/config/secondary-mode`)},enableSecondaryMode:function(n){return t.post(`${e}/config/secondary-mode`,n)}}}}};
//# sourceMappingURL=19994.6f6218048fc5b417aaa4.bundle.js.map