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 script will create a simple IM Dashboard header with a large image and the following Links: | |
- Release Schedule | |
- Create new Release | |
- Create new TEBR | |
- Create new Change | |
Refer to the Plutora knowledge base on how to add a new widget. To implement this widget on your own site, following the instructions below | |
*/ |
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 script will import a file from a remote server location, and import the file into Plutora using API's. | |
The script will perform a validation of values in the file against the relevant field values in Plutora and throw an exception if the values don't exist | |
IMPORTANT: In order to run the script on you subdomain: | |
1. The script is coded to look for a file called example.csv | |
2. The values in the file must match the values in your subdomain, this includes: | |
- Impacted System | |
- Risk Level | |
- Type |
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 script will create a simple IM Dashboard Widget with images and links to the following areas in Plutora: | |
- Release Schedule | |
- Environment Schedule | |
- Impacted Systems Matrix | |
Refer to the Plutora knowledge base on how to add a new widget. To implement this widget on your own site, following the instructions below | |
*/ | |
/* Copy this CSS text into the CSS section of the widget editor */ |
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
/*Copy this snippet of code into the html section of the widget editor*/ | |
<div class="user-info-tooltip"> | |
<div class="user-info-wrapper"> | |
<div class="user-info-top"> | |
<div class="user-location"><span>Sydney, Australia</span></div> | |
<div class="user-weather"><span class="icon-weather"></span><span class="degree"></span><span class="unit">℃</span></div> | |
</div> | |
</div> | |
</div> |
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
.barclays-tebr { | |
position: relative; | |
} | |
imdashboard .barclays-tebr-panel { | |
border-width: 0; | |
/*background-color: transparent;*/ | |
} | |
imdashboard .barclays-tebr-panel .panel-heading { | |
border-bottom-width: 0; | |
} |
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
.barclays-tecr { | |
position: relative; | |
} | |
imdashboard .barclays-tecr-panel { | |
border-width: 0; | |
/*background-color: transparent;*/ | |
} | |
imdashboard .barclays-tecr-panel .panel-heading { | |
border-bottom-width: 0; | |
} |
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
imdashboard .barclays-envs-panel { | |
border-width: 0; | |
} | |
imdashboard .barclays-envs-panel .panel-heading { | |
border-bottom-width: 0; | |
} | |
imdashboard .barclays-envs-panel .panel-heading h4 { | |
font-size: 16px; | |
line-height: 36px; | |
} |
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 script will connect to Jenkins using Basic Authentication and trigger the execution of a Job called 'Demo' using API' requests. | |
It will then copy the log file from Jenkins to the execution log in Plutora as well as send build progress updates back to the Plutora UI | |
To execute this script on your own instance of Plutora you will need to replace all credentials and API end points. These are highlighted as comments like this: <<INSERT Text >> | |
*/ | |
/******************************************************** | |
*************STEP 1: Import npm's************************ | |
********************************************************/ | |
const https = require("https"); |
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 script will connect to Plutora using Oauth 2.0 Authentication and retrieve a list of Releases using an API request. | |
It will then console.log the response to the execution log in Plutora. | |
This script uses credentials that are defined in Plutora UI as Job Parameters. Refer to the knowledge base in Plutora for more information on adding parameters | |
To execute this script on your own instance of Plutora, create a new Job, upload the script and define the 'Credentials' in the Plutora UI as parameters. | |
The parameters should be named exactly as they are named in the script. For example, 'args.arguments.oauthurl' should a parameter call 'oauthurl' in the UI | |
*/ |
OlderNewer