right_agent 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,7 +55,9 @@ module RightScale
55
55
  "/forwarder/shutdown" => [:post, "/right_net/scheduler/shutdown"],
56
56
  "/key_server/retrieve_public_keys" => [:get, "/right_net/key_server/retrieve_public_keys"],
57
57
  "/router/ping" => [:get, "/health-check"],
58
- "/router/query_tags" => [:post, "/tags/by_tag"],
58
+ # Currently cannot use RightApi for query_tags because it does not support server
59
+ # tag scoping by account or deployment like the router does
60
+ #"/router/query_tags" => [:post, "/tags/by_tag"],
59
61
  "/router/add_tags" => [:post, "/tags/multi_add"],
60
62
  "/router/delete_tags" => [:post, "/tags/multi_delete"],
61
63
  "/state_recorder/record" => [:put, "/right_net/state_recorder/record"],
data/right_agent.gemspec CHANGED
@@ -25,7 +25,7 @@ require 'rbconfig'
25
25
 
26
26
  Gem::Specification.new do |spec|
27
27
  spec.name = 'right_agent'
28
- spec.version = '2.1.0'
28
+ spec.version = '2.1.1'
29
29
  spec.date = '2014-04-01'
30
30
  spec.authors = ['Lee Kirchhoff', 'Raphael Simon', 'Tony Spataro', 'Scott Messier']
31
31
  spec.email = 'lee@rightscale.com'
@@ -96,11 +96,12 @@ describe RightScale::ApiClient do
96
96
  @client.push("/booter/declare", @payload.merge(:r_s_version => @version), @target, @token).should be_nil
97
97
  end
98
98
 
99
- it "maps query_tags request" do
100
- flexmock(@client).should_receive(:map_query_tags).with(:post, {:tags => ["a:b=c"]}, "query_tags", @token, Hash).
101
- and_return({}).once
102
- @client.request("/router/query_tags", @payload.merge(:tags => ["a:b=c"]), @target, @token).should == {}
103
- end
99
+ # Currently not supporting query_tags via RightApi
100
+ #it "maps query_tags request" do
101
+ # flexmock(@client).should_receive(:map_query_tags).with(:post, {:tags => ["a:b=c"]}, "query_tags", @token, Hash).
102
+ # and_return({}).once
103
+ # @client.request("/router/query_tags", @payload.merge(:tags => ["a:b=c"]), @target, @token).should == {}
104
+ #end
104
105
 
105
106
  it "does not require token" do
106
107
  flexmock(@client).should_receive(:make_request).with(:post, "/right_net/booter/declare", {:r_s_version => @version},
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -412,7 +412,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
412
412
  version: '0'
413
413
  segments:
414
414
  - 0
415
- hash: -514675308971748709
415
+ hash: 4244231635060832919
416
416
  requirements: []
417
417
  rubyforge_project:
418
418
  rubygems_version: 1.8.26