This file contains hidden or 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
package demo; | |
import org.apache.camel.CamelContext; | |
import org.apache.camel.Endpoint; | |
import org.apache.camel.builder.RouteBuilder; | |
import org.apache.camel.component.http4.HttpComponent; | |
import org.apache.camel.util.jsse.KeyManagersParameters; | |
import org.apache.camel.util.jsse.KeyStoreParameters; | |
import org.apache.camel.util.jsse.SSLContextParameters; | |
import org.apache.camel.util.jsse.TrustManagersParameters; |
This file contains hidden or 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
[ERROR] F8> Cannot create docker access object | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 2.218 s | |
[INFO] Finished at: 2016-11-07T12:14:32+05:30 | |
[INFO] Final Memory: 21M/387M | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.43:build (default-cli) on project harekrishna: Cannot create docker access object: Process 'gofabric8 docker-env' exited with status 1 -> [Help 1] | |
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.43:build (default-cli) on project harekrishna: Cannot create docker access object |
This file contains hidden or 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
<plugin> | |
<groupId>io.fabric8</groupId> | |
<artifactId>fabric8-maven-plugin</artifactId> | |
<version>${fabric8-maven-plugin.version}</version> | |
<configuration> | |
<images> | |
<image> | |
<name>%g/%a:%v</name> | |
<alias>chant-service</alias> | |
<build> |
This file contains hidden or 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
#!/bin/sh | |
set -x | |
set -e | |
NUM_CPUS=`grep -c ^processor /proc/cpuinfo` | |
echo "building using $NUM_CPUS CPUs" | |
ENVOY_DIR=/opt/envoy_env |
This file contains hidden or 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
package com.boot; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.boot.SpringApplication; | |
//make sure spring boot doesn't attempt 2.1 config | |
@SpringBootApplication(exclude={org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration.class} ) | |
public class AppApplication { | |
public static void main(String[] args) { | |
SpringApplication.run(AppSecurityApplication.class, args); | |
} | |
} |
This file contains hidden or 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
param( | |
[string] $IstioVersion = "0.3.0" | |
) | |
$url = "https://github.com/istio/istio/releases/download/$($IstioVersion)/istio_$($IstioVersion)_win.zip" | |
$Path = Get-Location | |
$output = [IO.Path]::Combine($Path, "istio_$($IstioVersion)_win.zip”) | |
Write-Host "Downloading Istio from $url to path " $Path -ForegroundColor Green | |
This file contains hidden or 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
#!/bin/bash | |
set -o pipefail | |
set -e | |
oc login -u system:admin | |
oc project istio-system |
This file contains hidden or 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
podTemplate(name: 'maven33', label: 'maven33', cloud: 'openshift',serviceAccount: 'jenkins', containers: [ | |
containerTemplate(name: 'jnlp', | |
image: 'openshift/jenkins-slave-maven-centos7', | |
workingDir: '/tmp', | |
envVars: [ | |
envVar(key: 'MAVEN_MIRROR_URL',value: 'http://nexus.infra:8081/nexus/content/groups/public/') | |
], | |
cmd: '', | |
args: '${computer.jnlpmac} ${computer.name}') | |
]){ |
This file contains hidden or 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
'use strict'; | |
const gmap = require('@google/maps'); | |
function location(params) { | |
const latlng = JSON.parse(JSON.stringify(params.coords)) | |
const gmapClient = gmap.createClient({ | |
key: process.env.GOOGLE_MAPS_API_KEY | |
}) | |
gmapClient.reverseGeocode({ | |
"latlng": latlng, |
This file contains hidden or 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
'use strict'; | |
const gmap = require('@google/maps'); | |
function location(params) { | |
const latlng = JSON.parse(JSON.stringify(params.coords)) | |
const gmapClient = gmap.createClient({ | |
key: process.env.GOOGLE_MAPS_API_KEY |
OlderNewer