ticket_abstractor_client 1.19.1 → 1.20.0

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: 9bdf349d4c87607ace775e2458a6fc67969c580d
4
- data.tar.gz: 28b3008493be3cfbe75c6eed2adfb68ccc261de5
3
+ metadata.gz: d8a51ad189db38669801d9228b6615f6ee092ed7
4
+ data.tar.gz: c7041acefc3069c40fff6fcf4af82dad589ef674
5
5
  SHA512:
6
- metadata.gz: 1d671aa64d20f2134fe512b99d09e6ff7794e21287cff13f874a4335163535aa9f205cca0c513945788dbbfaecf32e8c2bee04b479deb648851cbdaeb226839f
7
- data.tar.gz: 71507f759b342b39fef4ebab7dd3ebc3725a8145d7a7cf14862a755600319c0c3f006b032753ac07a8bc9f3b3d2662090747f16d52de86ea81de63a5a64e4674
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(sys_id: '', table_name: '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
@@ -1,3 +1,3 @@
1
1
  module TicketAbstractorClient
2
- VERSION = '1.19.1'
2
+ VERSION = '1.20.0'
3
3
  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.19.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-04-21 00:00:00.000000000 Z
11
+ date: 2015-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler