-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b423f02
Showing
53 changed files
with
4,361 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist/ | ||
node_modules/ |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2017 BitScoop Labs, Inc. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# BitScoop Ops Buddy Demo | ||
|
||
This demo will show you how to set up your own copy of the BitScoop Ops Buddy demo. | ||
The app that is set up allows users to create an account through a web app using a Google account for signup. | ||
In their Ops Buddy account, they can configure various services about which they want to retrieve information. | ||
The demo also sets up an Alexa skill. | ||
This skill, after being linked with the same Google account used to sign up for Ops Buddy, can be queried to retrieve up-to-date information about the services configured in the Ops Buddy account. | ||
|
||
We provide a public copy of this demo at www.opsbuddy.bitscoop.com, as well as a publicly-available Alexa skill called 'BitScoop Ops Buddy', if you want to see the demo in action without having to set up a copy of your own. | ||
Follow the final sections of steps 4 and 5 of the tutorial to create an Ops Buddy account, configure it, and then install and link the Alexa Skill. |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"env": { | ||
"es6": true, | ||
"node": true | ||
}, | ||
|
||
"extends": "eslint:recommended", | ||
|
||
"rules": { | ||
"no-console": "off" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# BitScoop Alexa Demo API Maps | ||
|
||
| API Map | File Name | | | ||
|----------------|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| Postman Pro API Monitors | postman.json | [![Add to BitScoop](https://assets.bitscoop.com/github/AddBitScoopXSmall.png)](https://bitscoop.com/maps/create?source=https://raw.githubusercontent.com/bitscooplabs/bitscoop-ops-buddy/master/fixtures/maps/postman.json) | | ||
| Google Analytics Data | google_analytics.json | [![Add to BitScoop](https://assets.bitscoop.com/github/AddBitScoopXSmall.png)](https://bitscoop.com/maps/create?source=https://raw.githubusercontent.com/bitscooplabs/bitscoop-ops-buddy/master/fixtures/maps/google_analytics.json) | | ||
| Google Sign-In | google_sign_in.json | [![Add to BitScoop](https://assets.bitscoop.com/github/AddBitScoopXSmall.png)](https://bitscoop.com/maps/create?source=https://raw.githubusercontent.com/bitscooplabs/bitscoop-ops-buddy/master/fixtures/maps/google_sign_in.json) | | ||
| StatusCake Health Alerts | statuscake.json | [![Add to BitScoop](https://assets.bitscoop.com/github/AddBitScoopXSmall.png)](https://bitscoop.com/maps/create?source=https://raw.githubusercontent.com/bitscooplabs/bitscoop-ops-buddy/master/fixtures/maps/statuscake.json) | | ||
| GitHub Issues | github.json | [![Add to BitScoop](https://assets.bitscoop.com/github/AddBitScoopXSmall.png)](https://bitscoop.com/maps/create?source=https://raw.githubusercontent.com/bitscooplabs/bitscoop-ops-buddy/master/fixtures/maps/github.json) | |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"version": "1.0", | ||
|
||
"name": "GitHub Issues (BitScoop Alexa Demo)", | ||
"url": "https://api.github.com", | ||
|
||
"endpoints": { | ||
"Issues": { | ||
"GET": { | ||
"method": "GET", | ||
"route": "/repos/{{ parameters.user }}/{{ parameters.repo }}/issues", | ||
"parameters": { | ||
"per_page": 100 | ||
}, | ||
"model": { | ||
"key": "id", | ||
"fields": { | ||
"id": "integer", | ||
"number": "integer", | ||
"url": "string", | ||
"repository_url": "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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"version": "1.0", | ||
|
||
"name": "Google Analytics & Sign-In (BitScoop Alexa Demo)", | ||
"url": "https://www.googleapis.com/analytics/v3", | ||
"auth": { | ||
"type": "oauth2", | ||
"redirect_url": "https://google.com", | ||
"authorization_url": "https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force", | ||
"access_token": "https://accounts.google.com/o/oauth2/token", | ||
"signature": "parameter", | ||
"auth_key": "*** INSERT YOUR AUTH KEY HERE ***", | ||
"auth_secret": "*** INSERT YOUR AUTH SECRET HERE ***" | ||
}, | ||
|
||
"endpoints": { | ||
"Metrics": { | ||
"GET": { | ||
"method": "GET", | ||
"scopes": [ | ||
"https://www.googleapis.com/auth/analytics.readonly" | ||
], | ||
"route": "/data/ga", | ||
"parameters": { | ||
"ids": { | ||
"value": "ga:{{ parameters.view_id }}", | ||
"required": true | ||
}, | ||
"start-date": { | ||
"value": "1daysAgo", | ||
"required": true | ||
}, | ||
"end-date": { | ||
"value": "today", | ||
"required": true | ||
}, | ||
"metrics": { | ||
"value": "ga:users,ga:newUsers", | ||
"required": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"version": "1.0", | ||
|
||
"name": "Google Sign-In (BitScoop Alexa Demo)", | ||
"url": "https://www.googleapis.com/analytics/v3", | ||
"auth": { | ||
"type": "oauth2", | ||
"redirect_url": "https://google.com", | ||
"authorization_url": "https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force", | ||
"access_token": "https://accounts.google.com/o/oauth2/token", | ||
"signature": "parameter", | ||
"auth_key": "*** INSERT YOUR AUTH KEY HERE ***", | ||
"auth_secret": "*** INSERT YOUR AUTH SECRET HERE ***" | ||
}, | ||
|
||
"meta": { | ||
"uniqueness_location": "id", | ||
|
||
"endpoint": { | ||
"scopes": [ | ||
"https://www.googleapis.com/auth/userinfo.email", | ||
"https://www.googleapis.com/auth/userinfo.profile" | ||
], | ||
"route": { | ||
"path": "https://people.googleapis.com/v1/people/me?requestMask.includeField=person.email_addresses,person.names" | ||
}, | ||
"model": { | ||
"key": "id", | ||
"fields": { | ||
"id": { | ||
"type": "string", | ||
"source": "resourceName" | ||
}, | ||
"names": { | ||
"type": "embedded", | ||
"many": true, | ||
"fields": { | ||
"first_name": { | ||
"type": "string", | ||
"source": "givenName" | ||
}, | ||
"last_name": { | ||
"type": "string", | ||
"source": "familyName" | ||
} | ||
} | ||
}, | ||
"emails": { | ||
"type": "embedded", | ||
"many": true, | ||
"fields": { | ||
"address": { | ||
"type": "string", | ||
"source": "value" | ||
} | ||
}, | ||
"source": "emailAddresses" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"version": "1.0", | ||
|
||
"name": "Postman Monitor Alerts (BitScoop Alexa Demo)", | ||
"url": "https://api.getpostman.com", | ||
"headers": { | ||
"X-Api-Key": "{{ parameters.api_key }}" | ||
}, | ||
|
||
"endpoints": { | ||
"RunMonitor": { | ||
"POST": { | ||
"method": "POST", | ||
"route": { | ||
"path": "/monitors/{{ parameters.monitor_id }}/run" | ||
} | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"version": "1.0", | ||
|
||
"name": "StatusCake Alerts (BitScoop Alexa Demo)", | ||
"url": "https://app.statuscake.com", | ||
|
||
"headers": { | ||
"API": "{{ parameters.api_key }}", | ||
"Username": "{{ parameters.username }}" | ||
}, | ||
|
||
"endpoints": { | ||
"Alerts": { | ||
"GET": { | ||
"method": "GET", | ||
"route": { | ||
"data": "items", | ||
"path": "/API/Alerts" | ||
}, | ||
"parameters": { | ||
"TestID": { | ||
"value": "{{ parameters.test_id }}" | ||
}, | ||
"Since": { | ||
"value": "{{ parameters.since }}" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.