Skip to content

Commit

Permalink
Merge pull request #21 from Ontotext-AD/GDB-5328-cluster-linking
Browse files Browse the repository at this point in the history
GDB-5328: Fix jolokia http connections
  • Loading branch information
karagyozovd authored Nov 26, 2020
2 parents d20fb93 + ab025f5 commit a42884b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/puppet/util/master_master_link_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def create_link

Puppet::Util::RequestManager.perform_http_request(uri,
{ method: :post,
content_type: "application/json",
body_data: body.to_json },
{ messages: [expected_massage],
codes: [200] }, 0)
Expand All @@ -72,6 +73,7 @@ def delete_link

Puppet::Util::RequestManager.perform_http_request(uri,
{ method: :post,
content_type: "application/json",
body_data: body.to_json },
{ messages: [expected_massage],
codes: [200] }, 0)
Expand Down
2 changes: 2 additions & 0 deletions lib/puppet/util/master_worker_link_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def create_link

Puppet::Util::RequestManager.perform_http_request(uri,
{ method: :post,
content_type: "application/json",
body_data: body.to_json },
{ messages: [expected_massage],
codes: [200] }, 0)
Expand All @@ -72,6 +73,7 @@ def delete_link

Puppet::Util::RequestManager.perform_http_request(uri,
{ method: :post,
content_type: "application/json",
body_data: body.to_json },
{ messages: [expected_massage],
codes: [200] }, 0)
Expand Down
2 changes: 2 additions & 0 deletions lib/puppet/util/repository_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def set_node_id(node_id)

Puppet::Util::RequestManager.perform_http_request(uri,
{ method: :post,
content_type: "application/json",
body_data: body.to_json },
{ codes: [200] }, 0)

Expand All @@ -103,6 +104,7 @@ def set_repository_replication_port(replication_port)

Puppet::Util::RequestManager.perform_http_request(uri,
{ method: :post,
content_type: "application/json",
body_data: body.to_json },
{ codes: [200] }, 0)

Expand Down

0 comments on commit a42884b

Please sign in to comment.