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
2017/10/01 11:32:45 [INFO] Terraform version: 0.10.6 8712b03839d1f63c0bfe11cf5f08e94014aeb85c | |
2017/10/01 11:32:45 [INFO] Go runtime version: go1.9 | |
2017/10/01 11:32:45 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"} | |
2017/10/01 11:32:45 [DEBUG] Attempting to open CLI config file: /home/vagrant/.terraformrc | |
2017/10/01 11:32:45 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2017/10/01 11:32:45 [INFO] CLI command args: []string{"plan"} | |
2017/10/01 11:32:46 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id | |
2017/10/01 11:32:46 [INFO] AWS Auth provider used: "SharedCredentialsProvider" | |
2017/10/01 11:32:46 [INFO] Initializing DeviceFarm SDK connection | |
2017/10/01 11:32:46 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details: |
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
``` | |
#cloud-config | |
coreos: | |
etcd2: | |
name: etcdserver | |
initial-cluster: etcdserver=http://10.0.0.101:2380 | |
initial-advertise-peer-urls: http://10.0.0.101:2380 | |
advertise-client-urls: http://10.0.0.101:2379 | |
# listen on both the official ports and the legacy ports |
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
// global CORS handler that lets anything frm anywhere in | |
@Bean | |
WebMvcConfigurer corsConfigurer() { | |
new WebMvcConfigurerAdapter() { | |
@Override | |
void addCorsMappings( CorsRegistry registry ) { | |
registry.addMapping( '/**' ).allowedOrigins( '*' ).allowedMethods( 'GET', 'POST', 'DELETE', 'PUT', 'OPTIONS' ) | |
} | |
} | |
} |
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
@Document | |
class DailyUserAggregate { | |
@Id | |
@Field( value = '_id' ) | |
String id | |
@Field( value = 'student' ) | |
Student student = new Student() | |
// other fields removed |
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
apply plugin: 'groovy' | |
apply plugin: 'war' | |
defaultTasks 'clean', 'collectJars', 'build' | |
repositories { | |
mavenCentral() | |
maven { | |
url "http://repo.springsource.org/libs-release" | |
} |