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
# Within your vagrant project folder: | |
git clone https://github.com/gopivotal/pivotal-samples.git | |
mv pivotal-samples/sample-data ./retail_demo | |
rm -Rf ./pivotal-samples | |
# login to the PHD master (and client) node. The ssh password: gpadmin | |
# phd1 = 10.211.55.101 |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
# Embedded provisioning script common for all cluster hosts and PCC. | |
$phd_provision_script = <<SCRIPT | |
#!/bin/bash |
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
#!/bin/bash | |
# Make sure you have the latest Vagrant and VirtualBox installed. | |
# 1. Add CentOS-6.2-x86_64 box to your Vagrant configuration. | |
vagrant box add CentOS-6.2-x86_64 https://s3.amazonaws.com/Vagrant_BaseBoxes/centos-6.2-x86_64-201306301713.box | |
# 2. Download and uncompress the PHD 1.0.1. | |
wget "http://bitcast-a.v1.o1.sjc1.bitgravity.com/greenplum/pivotal-sw/phd_1.0.1.0-19_community.tar.gz" | |
tar -xzf ./phd_1.0.1.0-19_community.tar.gz |
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
/* | |
* Copyright 2013 the original author or authors. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
public interface Oauth2ClientOperations { | |
String SECURITY_FILTER_NAME = "springSecurityFilterChain"; | |
boolean isOAuthClientInstallationPossible(); | |
void installOAuthClient(String authorizationServerUri, String protectedResourceUri); | |
} |
NewerOlder