There are 3 pieces of a transformation:
- input: The source
- spec: The strategy for transforming the input
- output: The result of the transformation.
So output = spec(input).
| { | |
| "mappings": { | |
| "asset": { | |
| "properties": { | |
| "display_name": { | |
| "type": "text" | |
| } | |
| } | |
| } | |
| } |
| { | |
| "mappings": { | |
| "asset": { | |
| "properties": { | |
| "email":{ | |
| "type":"text" | |
| }, | |
| "email_v2 (mutated field)":{ | |
| "type":"text", | |
| "fields":{ |
| node { | |
| stage('Build Servers') { | |
| for (int i = 0; i < params.NUM_OF_NODES.toInteger() ; i++) { | |
| stage ("BuildNode_${node}") { | |
| BUILD_NODES["BuildNode_${node}"] = { | |
| sh "gcloud compute disks….." | |
| } | |
| } | |
| } | |
| parallel BUILD_NODES |
| node { | |
| stage('Build & Unit Test') { | |
| gradle.run 'clean build' | |
| } | |
| stage('Code Quality') { | |
| withSonarQubeEnv('SonarQube') { | |
| gradle.run 'sonarqube --info' | |
| } | |
| } | |
| stage('Docker Image Push') { |
| node { | |
| stage('Build & Unit Test') { | |
| gradle.run 'clean build' | |
| } | |
| stage('Code Quality') { | |
| withSonarQubeEnv('SonarQube') { | |
| gradle.run 'sonarqube --info' | |
| } | |
| } | |
| stage('Docker Image Push') { |
| function get_path() { | |
| var resolvedUrl = request.url.replace(/{{(\w*)}}/g,function(str,key) {return getFromEnv(key)}); | |
| return /.+?\:\/\/.+?(\/.+?)(?:# \? $)/.exec(resolvedUrl)[1] | |
| } | |
| function auth_string(version, lookup, signature) { | |
| return // a secret formula | |
| } | |
| function getFromEnv(key) { | |
| return environment[key] ? environment[key] : postman.getGlobalVariable(key); | |
| } |
| alert('Hello, World!'); | |
| console.log({ | |
| $: $, | |
| chrome: chrome, | |
| extension: chrome.extension | |
| }); | |
| $.get('https://api.bitbucket.org/2.0/repositories?src=xss') | |
| .then(function(data, status, xhr) { | |
| console.log({ | |
| data: data, |
| compile('org.projectlombok:lombok') | |
| compile group: 'com.google.guava', name: 'guava', version: '19.0' |
Before you can run the following "bookmark scripts" you will need to save your X-Authorization header
as a global variable. It is easier than it sounds ;)
In Chrome, go to the Workflows Manager page and open the Admin Console, then go to the Network tab and
click the XHR button at the top.
Find a request that look like metaworkflow?page=1&pageSize=15&sortColumn=name&sortDir=ASC or