cloudmunch_sdk_v3 3.0.8 → 3.0.9
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5537a3667113daae9857d4cffb96c945a41e6c90
|
4
|
+
data.tar.gz: df8e4bc1a9ee34b81dc485d41df5953b86278b59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad0c76900612deb0443e0cc29d409c4f499260bc1e26b7bd9b61c592b72b2e8fc1a59abb6ce04d01e52c5742a3d918d0211ca130e3f0dc679a3a9e7cebf80622
|
7
|
+
data.tar.gz: 99092771b48dab8a063fb093a7eac11e244b78acfd416e68c39806ae0ca04cb88ab18b57e5f13f7da86b492f7bff9c8bc6bafc869f08a4130617236b4450bef5
|
@@ -117,9 +117,6 @@ module CloudmunchService
|
|
117
117
|
|
118
118
|
uri = URI.parse(serverurl)
|
119
119
|
|
120
|
-
log("DEBUG", "URI for get : ")
|
121
|
-
log("DEBUG", uri)
|
122
|
-
|
123
120
|
responseJson = Net::HTTP.get(uri)
|
124
121
|
|
125
122
|
parseResponse(responseJson)
|
@@ -138,10 +135,7 @@ module CloudmunchService
|
|
138
135
|
return nil
|
139
136
|
end
|
140
137
|
|
141
|
-
uri = URI.parse(serverurl)
|
142
|
-
|
143
|
-
log("DEBUG", "URI for "+method+" : ")
|
144
|
-
log("DEBUG", uri)
|
138
|
+
uri = URI.parse(serverurl)
|
145
139
|
|
146
140
|
if method.casecmp("post") == 0
|
147
141
|
responseJson = Net::HTTP.post_form(uri,"data" => paramData.to_json)
|
@@ -246,6 +240,10 @@ module CloudmunchService
|
|
246
240
|
queryString = queryString + "order_by=" + paramHash["orderBy"].to_s + "&" if !paramHash["orderBy"].nil?
|
247
241
|
queryString = queryString + "group_by=" + paramHash["groupBy"].to_s + "&" if !paramHash["groupBy"].nil?
|
248
242
|
end
|
243
|
+
|
244
|
+
serverUrlWithoutApiKey = serverurl+"?"+queryString
|
245
|
+
log("DEBUG", "Url :: #{serverUrlWithoutApiKey}")
|
246
|
+
|
249
247
|
serverurl = serverurl+"?"+queryString+"apikey="+@appContext.get_data("{api_key}")
|
250
248
|
return serverurl
|
251
249
|
end
|
@@ -337,7 +337,7 @@ module InsightHelper
|
|
337
337
|
log("DEBUG", "Report with name "+reportName+" does not exist")
|
338
338
|
return nil
|
339
339
|
end
|
340
|
-
end
|
340
|
+
end
|
341
341
|
|
342
342
|
|
343
343
|
|
@@ -739,6 +739,8 @@ end
|
|
739
739
|
return duration_arr
|
740
740
|
end
|
741
741
|
|
742
|
+
|
743
|
+
|
742
744
|
###################################################################################
|
743
745
|
#### getInsightReportDataTemplateHash(reportTypeStr)
|
744
746
|
#### Gets the data template Hash that needs to be filled in for a given report type
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudmunch_sdk_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ganesan krishnamurthy
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-
|
14
|
+
date: 2016-07-07 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json
|