Skip to content

Commit

Permalink
example config
Browse files Browse the repository at this point in the history
  • Loading branch information
LindsayHill committed Jul 30, 2017
1 parent 7ca448a commit 002fa13
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Change Log

## 0.3.2

- Added example configuration file
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,22 @@ ServiceNow provides two videos to demonstrate how to setup Inbound and Outbound

An example pack has been included in this pack to show the integration of ServiceNow with these two integration examples.

# Setup
## Configuration

### Outgoing Integration

Copy the example configuration [servicenow.yaml.example](./servicenow.yaml.example) to
`/opt/stackstorm/configs/servicenow.yaml` and edit as required. It should contain:

* `instance_name` - Upstream Instance Name (e.x.: stackstorm)
* `username` - Username of service account
* `password` - Password of service account
* `default_payload` - Common supported parameters that will be passed to all calls. [Example](http://wiki.servicenow.com/index.php?title=Table_API#Methods)

**Note** : When modifying the configuration in `/opt/stackstorm/configs/` please
remember to tell StackStorm to load these new values by running
`st2ctl reload --register-configs`

### Incoming Integration

In your ServiceNow Outbound integration, REST endpoints accept JSON payloads. In addition, you must specify the following headers in your payload request:
Expand Down
6 changes: 4 additions & 2 deletions pack.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
### Place information about your pack version here.
---
ref: servicenow
name: servicenow
description: ServiceNow Integration Pack
version: 0.3.1
keywords:
- servicenow
- incident management
version: 0.3.2
author: James Fryman
email: james@stackstorm.com
5 changes: 5 additions & 0 deletions servicenow.yaml.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
instance_name: "StackStorm"
username: "st2"
password: "Sup3rS3cr3t"
default_payload: ""

0 comments on commit 002fa13

Please sign in to comment.