Use GCR images from 'google-samples' project; allow switch on whether dns service is

supported, or to use env vars to get service host info.

Test change to reflect php filename change.
This commit is contained in:
Amy Unruh
2015-08-10 11:00:44 -07:00
parent c28b68d254
commit 3574999fa3
9 changed files with 97 additions and 26 deletions

View File

@@ -9,7 +9,7 @@ RedisController.prototype.onRedis = function() {
this.scope_.messages.push(this.scope_.msg);
this.scope_.msg = "";
var value = this.scope_.messages.join();
this.http_.get("index.php?cmd=set&key=messages&value=" + value)
this.http_.get("guestbook.php?cmd=set&key=messages&value=" + value)
.success(angular.bind(this, function(data) {
this.scope_.redisResponse = "Updated.";
}));
@@ -21,7 +21,7 @@ redisApp.controller('RedisCtrl', function ($scope, $http, $location) {
$scope.controller.location_ = $location;
$scope.controller.http_ = $http;
$scope.controller.http_.get("index.php?cmd=get&key=messages")
$scope.controller.http_.get("guestbook.php?cmd=get&key=messages")
.success(function(data) {
console.log(data);
$scope.messages = data.data.split(",");