environment-manager 0.2.6 → 0.2.7
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.
- checksums.yaml +4 -4
- data/lib/environment_manager/api.rb +5 -17
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b535680ae158530cfc8836d709dbcb8c9a90d8a
|
4
|
+
data.tar.gz: 2dfada742ee69d571ca763ce8da2f23688553114
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ff86e48049e7c2a62c23ba68635e2a60a68a00a2c463b874aaa27e1ffdc4acd7d56b6c8c4bdef7e8414b77a9b1fd0b912375c4088e01bb156949a6f7c927d04
|
7
|
+
data.tar.gz: 06b74df3373fa4e4714aecc0b83978bee0aabcc64af78dfc7f5c555df294483af04aaf07c4eb2478260b5f5655c5a011a4436eb64adaece8788f3f8d8f0b921e
|
@@ -764,15 +764,9 @@ module EnvironmentManager
|
|
764
764
|
end
|
765
765
|
|
766
766
|
public
|
767
|
-
def get_lbsettings_config(
|
767
|
+
def get_lbsettings_config()
|
768
768
|
# List all load balancer settings
|
769
|
-
|
770
|
-
raise('query_type and query_value are required')
|
771
|
-
end
|
772
|
-
if !query_value.kind_of?(Array)
|
773
|
-
raise('query_value must be an array')
|
774
|
-
end
|
775
|
-
request_endpoint = "/api/v1/config/lb-settings?qa=#{query_type}&qv=#{query_value.join(',')}"
|
769
|
+
request_endpoint = "/api/v1/config/lb-settings"
|
776
770
|
return query(request_endpoint, query_type: "GET")
|
777
771
|
end
|
778
772
|
|
@@ -1175,15 +1169,9 @@ module EnvironmentManager
|
|
1175
1169
|
end
|
1176
1170
|
|
1177
1171
|
public
|
1178
|
-
def get_upstreams_config(
|
1179
|
-
|
1180
|
-
|
1181
|
-
raise('query_type and query_value are required')
|
1182
|
-
end
|
1183
|
-
if !query_value.kind_of?(Array)
|
1184
|
-
raise('query_value must be an array')
|
1185
|
-
end
|
1186
|
-
request_endpoint = "/api/v1/config/upstreams?qa=#{query_type}&qv=#{query_value.join(',')}"
|
1172
|
+
def get_upstreams_config()
|
1173
|
+
# Get all upstream configurations
|
1174
|
+
request_endpoint = "/api/v1/config/upstreams"
|
1187
1175
|
return query(request_endpoint, query_type: "GET")
|
1188
1176
|
end
|
1189
1177
|
|