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
shane@beefcake:~/libs/graal/substratevm$ echo $JAVA_HOME | |
/home/shane/tools/graalvm-ee-1.0.0-rc6 | |
shane@beefcake:~/libs/graal/substratevm$ java -version | |
java version "1.8.0_172" | |
Java(TM) SE Runtime Environment (build 1.8.0_172-b11) | |
GraalVM 1.0.0-rc6 (build 25.71-b01-internal-jvmci-0.48, mixed mode) | |
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
Description: Upload an object to an S3 bucket, triggering a Lambda event, returning the object key as a Stack Output. | |
Parameters: | |
Key: | |
Description: S3 Object key | |
Type: String | |
Default: test | |
Body: | |
Description: S3 Object body content | |
Type: String | |
Default: TEST CONTENT |
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
package com.foo.service.elasticsearch; | |
import org.elasticsearch.action.admin.cluster.health.ClusterHealthRequestBuilder; | |
import org.elasticsearch.action.admin.cluster.health.ClusterHealthResponse; | |
import org.elasticsearch.action.bulk.BulkProcessor; | |
import org.elasticsearch.action.bulk.BulkRequest; | |
import org.elasticsearch.action.bulk.BulkResponse; | |
import org.elasticsearch.action.index.IndexRequest; | |
import org.elasticsearch.action.search.SearchResponse; | |
import org.elasticsearch.client.Client; |
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
import java.io.*; | |
public class WordListProcessor { | |
public static final char[] EXCLUDE_CHARS = {'_', '-', '.', '\''}; | |
public static void main(String[] args) throws Exception { | |
StringBuilder content = new StringBuilder(); |
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
feign.Response convertResponse(HttpURLConnection connection) throws IOException { | |
int status = connection.getResponseCode(); | |
String reason = connection.getResponseMessage(); | |
Map<String, Collection<String>> headers = new LinkedHashMap<String, Collection<String>>(); | |
for (Map.Entry<String, List<String>> field : connection.getHeaderFields().entrySet()) { | |
// response message | |
if (field.getKey() != null) | |
headers.put(field.getKey(), field.getValue()); | |
} |
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
digitalsanctum:cloudstack shane$ mvn -e -Pdeveloper,marvin.test -Dmarvin.config=setup/dev/advanced.cfg -pl :cloud-marvin integration-test | |
[INFO] Error stacktraces are turned on. | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Apache CloudStack marvin 4.2.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin --- | |
[INFO] |
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
Running com.cloud.utils.testcase.NioTest | |
2013-06-05 11:27:28,727 INFO [utils.testcase.NioTest] (main:) Test | |
2013-06-05 11:27:28,785 INFO [utils.nio.NioServer] (NioTestServer-Selector:) NioConnection started and listening on 0.0.0.0/0.0.0.0:7777 |
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
2013-05-30 10:58:24,997 ERROR Failed to start VM for aws-ec2:us-east-1@ClouderaCdhNodeImpl{id=GLP8hYoX}: java.lang.RuntimeException: security group us-east-1/jclouds#brooklyn-al1q-shane-brook-ex7b-clouderacdhnode-glp8 is not available after creating | |
2013-05-30 10:58:25,000 INFO Execution of effector start on entity GLP8hYoX failed with java.util.concurrent.ExecutionException: Error invoking start[locations] on entity ClouderaCdhNodeImpl{id=GLP8hYoX} | |
2013-05-30 10:58:25,006 WARN Error while running task Task[start [EFFECTOR, ClouderaCdhNodeImpl{id=GLP8hYoX}]; BH00nuN0] (rethrowing): java.lang.RuntimeException: security group us-east-1/jclouds#brooklyn-al1q-shane-brook-ex7b-clouderacdhnode-glp8 is not available after creating | |
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: security group us-east-1/jclouds#brooklyn-al1q-shane-brook-ex7b-clouderacdhnode-glp8 is not available after creating | |
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2263) ~[guav |
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
INFO [cloud.server.ManagementServerImpl] (Timer-2:) Startup CloudStack management server... | |
INFO [cloud.server.ManagementServerImpl] (Timer-2:) Admin user enabled | |
INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:) We are good, no orphan management server msid in host table is found | |
INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:) No inactive management server node found | |
WARN [apache.cloudstack.alerts] (Cluster-Notification-1:) alertType:: 14 // dataCenterId:: 0 // podId:: 0 // clusterId:: null // message:: Management server node 127.0.0.1 is up | |
WARN [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:) Notifying management server join event took 10 ms | |
INFO [factory.annotation.AutowiredAnnotationBeanPostProcessor] (1921042184@qtp-987496092-4:) JSR-330 'javax.inject.Inject' annotation found and supported for autowiring | |
INFO [cloud.configuration.ConfigurationManagerImpl] (1592789911@qtp-987496092-0:) adding a new subnet to the network 204 | |
INFO [cloud.resource.ResourceMa |
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
2013-05-28 18:31:49,730 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-242:null) 1. The VM i-2-10-VM is in Starting state. | |
2013-05-28 18:31:49,734 DEBUG [xen.resource.CitrixHelper] (DirectAgent-242:null) Can't find the guest os: Ubuntu 12.04 (64-bit) mapping into XCP's guestOS type, start it as HVM guest | |
2013-05-28 18:31:49,786 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-242:null) Created VM 45f12dd2-39c3-647a-8ac0-3eeab5fa63cb for i-2-10-VM | |
2013-05-28 18:31:49,892 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-242:null) VBD fe4a1b35-f077-78bf-0514-8ca3fd448b0d created for Vol[11|ROOT|a631590f-58cf-4078-9582-5648b84cbed9|5368709120] | |
2013-05-28 18:31:51,077 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-242:null) VBD a5c6b142-26dc-2d7f-358e-0f0b443a2c9d created for Vol[10|ISO|nfs://192.168.56.10:/opt/storage/secondary/template/tmpl//2/202//202-2-88eeeaea-42eb-336f-8d37-19200f33f327.iso|0] | |
2013-05-28 18:31:51,077 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-242:null) Creating |