-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
6 changed files
with
113 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,75 @@ | ||
--- | ||
url: | ||
description: "URL of the JIRA instance (e.g. ``https://myproject.atlassian.net``)" | ||
type: "string" | ||
secret: false | ||
required: true | ||
verify: | ||
description: "Verify SSL certificate. Set to False to disable verification. Default True" | ||
type: boolean | ||
default: True | ||
auth_method: | ||
description: "Authentication method to use - oauth or basic" | ||
type: "string" | ||
secret: false | ||
required: true | ||
default: "oauth" | ||
enum: | ||
- oauth | ||
- basic | ||
username: | ||
description: "Username if using the basic auth_method" | ||
type: "string" | ||
secret: false | ||
required: false | ||
password: | ||
description: "Password if using the basic auth_method" | ||
type: "string" | ||
secret: true | ||
required: false | ||
rsa_cert_file: | ||
description: "Path to a private key file, e.g. /home/vagrant/jira.pem" | ||
type: "string" | ||
secret: false | ||
required: false | ||
oauth_token: | ||
description: "OAuth token" | ||
type: "string" | ||
secret: true | ||
required: false | ||
oauth_secret: | ||
description: "OAuth secret" | ||
type: "string" | ||
secret: true | ||
required: false | ||
consumer_key: | ||
description: "Consumer key" | ||
type: "string" | ||
secret: true | ||
required: false | ||
poll_interval: | ||
description: "Polling interval - default 30s" | ||
type: "integer" | ||
secret: false | ||
required: false | ||
default: 30 | ||
project: | ||
description: "Project to be used as default for actions that don't require or allow a project" | ||
type: "string" | ||
secret: false | ||
required: true | ||
validate: | ||
description: "If true it will validate your credentials first." | ||
type: boolean | ||
default: false | ||
required: false | ||
client_cert_file: | ||
description: "Path to a client cert file, e.g. /home/jiracerts/username.cer" | ||
type: "string" | ||
secret: false | ||
required: false | ||
client_key_file: | ||
description: "Path to a client key file, e.g. /home/jiracerts/username.key" | ||
type: "string" | ||
secret: false | ||
required: false | ||
url: | ||
description: "URL of the JIRA instance (e.g. ``https://myproject.atlassian.net``)" | ||
type: "string" | ||
secret: false | ||
required: true | ||
verify: | ||
description: "Verify SSL certificate. Set to False to disable verification. Default True" | ||
type: boolean | ||
default: True | ||
auth_method: | ||
description: "Authentication method to use - oauth or basic" | ||
type: "string" | ||
secret: false | ||
required: true | ||
default: "oauth" | ||
enum: | ||
- oauth | ||
- basic | ||
username: | ||
description: "Username if using the basic auth_method" | ||
type: "string" | ||
secret: false | ||
required: false | ||
password: | ||
description: "Password if using the basic auth_method" | ||
type: "string" | ||
secret: true | ||
required: false | ||
rsa_cert_file: | ||
description: "Path to a private key file, e.g. /home/vagrant/jira.pem" | ||
type: "string" | ||
secret: false | ||
required: false | ||
oauth_token: | ||
description: "OAuth token" | ||
type: "string" | ||
secret: true | ||
required: false | ||
oauth_secret: | ||
description: "OAuth secret" | ||
type: "string" | ||
secret: true | ||
required: false | ||
consumer_key: | ||
description: "Consumer key" | ||
type: "string" | ||
secret: true | ||
required: false | ||
poll_interval: | ||
description: "Polling interval - default 30s" | ||
type: "integer" | ||
secret: false | ||
required: false | ||
default: 30 | ||
project: | ||
description: "Project to be used as default for actions that don't require or allow a project" | ||
type: "string" | ||
secret: false | ||
required: true | ||
validate: | ||
description: "If true it will validate your credentials first." | ||
type: boolean | ||
default: false | ||
required: false | ||
client_cert_file: | ||
description: "Path to a client cert file, e.g. /home/jiracerts/username.cer" | ||
type: "string" | ||
secret: false | ||
required: false | ||
client_key_file: | ||
description: "Path to a client key file, e.g. /home/jiracerts/username.key" | ||
type: "string" | ||
secret: false | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
--- | ||
class_name: "JIRASensor" | ||
entry_point: "jira_sensor.py" | ||
description: "Sensor which monitors JIRA for new tickets" | ||
poll_interval: 30 | ||
trigger_types: | ||
- name: "issues_tracker" | ||
description: "Trigger which indicates that a new issue has been created" | ||
payload_schema: | ||
type: "object" | ||
properties: | ||
project: | ||
type: "string" | ||
issue_name: | ||
type: "string" | ||
issue_url: | ||
type: "string" | ||
created: | ||
type: "string" | ||
assignee: | ||
type: "string" | ||
fix_versions: | ||
type: "list" | ||
issue_type: | ||
type: "string" | ||
class_name: "JIRASensor" | ||
entry_point: "jira_sensor.py" | ||
description: "Sensor which monitors JIRA for new tickets" | ||
poll_interval: 30 | ||
trigger_types: | ||
- | ||
name: "issues_tracker" | ||
description: "Trigger which indicates that a new issue has been created" | ||
payload_schema: | ||
type: "object" | ||
properties: | ||
project: | ||
type: "string" | ||
issue_name: | ||
type: "string" | ||
issue_url: | ||
type: "string" | ||
created: | ||
type: "string" | ||
assignee: | ||
type: "string" | ||
fix_versions: | ||
type: "string" | ||
issue_type: | ||
type: "string" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
--- | ||
url: "https://company.atlassian.net" | ||
auth_method: "basic" | ||
username: "user" | ||
password: "passwd" | ||
poll_interval: 30 | ||
project: "MY_PROJECT" | ||
verify: True | ||
client_cert_file: "" | ||
client_key_file: "" | ||
url: "https://company.atlassian.net" | ||
auth_method: "basic" | ||
username: "user" | ||
password: "passwd" | ||
poll_interval: 30 | ||
project: "MY_PROJECT" | ||
verify: True | ||
client_cert_file: "" | ||
client_key_file: "" |