tanzu-solutions-engineering / pcf-ers-demo Goto Github PK
View Code? Open in Web Editor NEWPivotal Cloud Foundry Elastic Runtime Service basic demo
License: BSD 2-Clause "Simplified" License
Pivotal Cloud Foundry Elastic Runtime Service basic demo
License: BSD 2-Clause "Simplified" License
@mborges-pivotal @pcrocker-pivotal hey guys. I was fooling around with building a Concourse pipeline for this over the weekend and thought it would be great to have bundled in formally with the pcf-erc-demo. Any interest? Having some great unit and integration tests to go along with that would be amazing as well.
I find the demo scenario for blue green not well documented
here is what I did
cf push --no-start
cf start attendees1
cf scaleover attendees1 attendees2 30s
here is some git diff
--- a/src/main/resources/templates/fragments/layout.html
+++ b/src/main/resources/templates/fragments/layout.html
@@ -31,7 +31,7 @@ References:
<style>
.navbar.navbar-inverse.navbar-fixed-top {
- background-color: #3EBF5C;
+ background-color: #3EB0FF;
}
and the manifest.yml that I am using
$ more manifest.yml
---
memory: 512MB
instances: 4
buildpack: java_buildpack_offline
services: []
env:
SPRING_PROFILES_ACTIVE: cloud
applications:
- name: attendees1
hosts:
- attendees1
- attendees
path: target/pcf-ers-demo1-0.0.1-SNAPSHOT.jar
- name: attendees2
hosts:
- attendees2
- attendees
path: target/pcf-ers-demo1-0.0.2-SNAPSHOT.jar
Had this below
I fixed the pom.xml with lombock version as below
[user@centos62 pcf-ers-demo]$ git diff
diff --git a/pom.xml b/pom.xml
index 850a5a8..5338d3e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,6 +37,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
+ <version>1.16.8</version>
</dependency>
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is missing. @ line 37, column 15
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.gopivotal.pcf.sme.ers:pcf-ers-demo1:0.0.1-SNAPSHOT (/home/user/pcf/pcf-ers-demo/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is missing. @ line 37, column 15
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.