brpm_module_servicenow 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTIxYzNjODY0NGQxMDY1OTkxMjgzNjg3NGM5ZmRmOTVjN2E3ZjRlOA==
4
+ N2M0ZGZhYTlkMjEyZmU1NzVhMjQ4OGU2ZTFiNzhiODhjYmJhYTdhZQ==
5
5
  data.tar.gz: !binary |-
6
- ODMyNGY0ZjA5MGQ4NWExZWFmMjVkNDNiZDVjOWQ4NjEwNmZmM2RhNg==
6
+ YjMzNDJlOGQzNWNmYzg4Yzg3NTM4ZjRhMmU2NzZlOTIxNzJhMjFlYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjdlMzY2N2FhMGQzYjliOTM0MmU5ZWUxYTU4NzE3NTQ4NWEyNGRiOWIzYzcy
10
- MmY5MzQ1M2JlM2FkMWMwNmQxYzYxMmE4NTdiNjQwMDdjNGNhMDljN2QyYTEx
11
- NjRjMWEzOTBjOTBkNTk1MGY2ZDdmMGYxMzQ5N2QwOWNmMDY3M2E=
9
+ ODU4MWE2MDAzMWM4ZmJhMDYyNzVlZjExMDIyNTdjYWFiNzVmMmJjMDI5MTc5
10
+ OTQyZTgzM2YwMDMwYWI2OTJmNTgxYWFkMTA4YzAwN2NkZTRlMjgzMTBkZTU4
11
+ NjY2ZjI5ZDdiNDA2ZjdlMDgzNWQyMDRlNGQxMDQyYjg2ZjI5OWI=
12
12
  data.tar.gz: !binary |-
13
- MGZkZjU4ODFiZjZkOWYyMTYxYWU0YWE5YWY0OTViZDQyMjhmNjEyOTYwNTU1
14
- NjI0NjQzYmZhNjg0YjQ0NGViNTEyZmM3NDQyZmVlMTQwMTk2NGM2YzcxYmJl
15
- YTVjZTcyYjJhNzQxMjc1YzU0MWI4ZWY4ZmRkMGZkYjFhMzNjOWI=
13
+ YmUxOTkwNzU3N2JjMjY4MzNkNDQ4M2Y4Yzk1ZmM1Y2YyMDE4YjQ4Y2VmN2Q2
14
+ YWIxNGJjMmRmMmExZmZiODNkOGI4MTRjMjVhMDVjMDY5MTFkODYwNWEwMDll
15
+ MTc4ZmI0YzRhYzRkNDlmMWY0NWRlZDQ2N2FlY2MzOGY1NTIwMmY=
data/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # BRPM module for ServiceNow
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/brpm_module_servicenow.png)](http://badge.fury.io/rb/brpm_module_servicenow)
4
+
5
+ This repository represents an BRPM module for ServiceNow, to be used on top of the [BRPM content framework](https://github.com/BMC-RLM/brpm_content_framework). It contains an automation script to update the state of a change request in ServiceNow. It also contains a ServiceNow REST API client library.
@@ -1,3 +1,2 @@
1
1
  snow_rest_client = SnowRestClient.new
2
- change_request_id = BrpmAuto.params["change_request_id"].empty? ? BrpmAuto.request_params["change_request_id"] : BrpmAuto.params["change_request_id"]
3
- snow_rest_client.update_record("change_request", change_request_id, { "state" => snow_rest_client.get_state_id_from_state_label(BrpmAuto.all_params["target_change_request_status"])})
2
+ snow_rest_client.update_record("change_request", BrpmAuto.all_params["change_request_id"], { "state" => snow_rest_client.get_state_id_from_state_label(BrpmAuto.params["target_change_request_status"])})
data/config.yml CHANGED
@@ -1,4 +1,4 @@
1
- version: 0.0.4
1
+ version: 0.0.5
2
2
 
3
3
  author: Niek Bartholomeus
4
4
  email: niek.bartholomeus@gmail.com
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brpm_module_servicenow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niek Bartholomeus
@@ -63,6 +63,7 @@ files:
63
63
  - .gitignore
64
64
  - .ruby-version
65
65
  - Gemfile
66
+ - README.md
66
67
  - Rakefile
67
68
  - automations/transition_change_request.meta
68
69
  - automations/transition_change_request.rb