Skip to content

Commit

Permalink
Updating deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Oct 6, 2014
1 parent 4d37810 commit fbc4fe6
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 30 deletions.
30 changes: 15 additions & 15 deletions accounts-web-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,18 @@ if (project.hasProperty('production')) {
}
}

cloudfoundry {
target = 'https://api.run.pivotal.io'
application = 'accounts'
username = cfUsername
password = cfPassword
file = file("${jar.archivePath}")
buildpack = 'https://github.com/cloudfoundry/java-buildpack'
services {
'mongodb' {
label = 'mongolab'
plan = 'sandbox'
bind = true
}
}
}
//cloudfoundry {
// target = 'https://api.run.pivotal.io'
// application = 'accounts'
// username = cfUsername
// password = cfPassword
// file = file("${jar.archivePath}")
// buildpack = 'https://github.com/cloudfoundry/java-buildpack'
// services {
// 'mongodb' {
// label = 'mongolab'
// plan = 'sandbox'
// bind = true
// }
// }
//}
31 changes: 16 additions & 15 deletions flights-web-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,19 @@ if (project.hasProperty('production')) {
}
}

cloudfoundry {
target = 'https://api.run.pivotal.io'
application = 'flights'
username = cfUsername
password = cfPassword
file = file("${jar.archivePath}")
buildpack = 'https://github.com/cloudfoundry/java-buildpack'
services {
'mongodb' {
label = 'mongolab'
plan = 'sandbox'
bind = true
}
}
}
//cloudfoundry {
// target = 'https://api.run.pivotal.io'
// healthCheckTimeout = 30
// application = 'flights'
// username = cfUsername
// password = cfPassword
// file = file("${jar.archivePath}")
// buildpack = 'https://github.com/cloudfoundry/java-buildpack'
// services {
// 'mongodb' {
// label = 'mongolab'
// plan = 'sandbox'
// bind = true
// }
// }
//}

0 comments on commit fbc4fe6

Please sign in to comment.