ticket_abstractor_client 1.19.1 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/lib/ticket_abstractor_client/brouha_client.rb +4 -0
- data/lib/ticket_abstractor_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8a51ad189db38669801d9228b6615f6ee092ed7
|
4
|
+
data.tar.gz: c7041acefc3069c40fff6fcf4af82dad589ef674
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e45cec4312b8ad7d22d0059f2891083da4d5a952139afb7dc9444359d4d97f8aa28cd5294f6b45526245cca6391493791c63445b4a32252da03386062e8e4fa0
|
7
|
+
data.tar.gz: 0e6132609ceba081ba64fc05c2a9e42e2319ba5de4278d2f87a0e67dd5ed746a52db4cd3d50455f378cbd7031f70d5e27e58bda9dfd1ca9417f12a3d93200d95
|
data/README.md
CHANGED
@@ -226,10 +226,14 @@ Get data from flowfalcon graph:
|
|
226
226
|
|
227
227
|
## get all incidents:
|
228
228
|
client.service_now.get_all_incidents(limit: '1000', offset: '0', table_name: 'incident')
|
229
|
+
|
230
|
+
# service_desk - is assigment_group in ServiceNow API. It should be escaped
|
231
|
+
# states - get incidents included in this states. It should be integers separated by comma
|
232
|
+
client.service_now.get_all_incidents(service_desk: 'T%26P+Prod+Support', states: '1,2,9,10,11')
|
229
233
|
|
230
234
|
# get incident:
|
231
235
|
# :sys_id is a required parameter
|
232
|
-
client.service_now.get_incident(
|
236
|
+
client.service_now.get_incident(incident_id: '', table_name: 'incident')
|
233
237
|
|
234
238
|
# create incident:
|
235
239
|
# :incident_params is a required parameter
|
@@ -18,4 +18,8 @@ class TicketAbstractorClient::BrouhaClient < TicketAbstractorClient::Client
|
|
18
18
|
def get_incidents_by_query(query_params)
|
19
19
|
get 'brouha/incidents', { query_params: query_params }
|
20
20
|
end
|
21
|
+
|
22
|
+
def add_application(issue_key, application_ids)
|
23
|
+
post 'brouha/add_application', issue_key: issue_key, application_ids: application_ids
|
24
|
+
end
|
21
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ticket_abstractor_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rsamoilov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|