Commit graph

575 commits

Author SHA1 Message Date
Johannes Schnatterer
54d996f402 Jenkins: Disables concurrent builds.
Because ITs use the same port causing random failures on concurrent builds.
2018-01-09 16:20:24 +01:00
Johannes Schnatterer
3c5b37e451 Jenkins: Init global variables in order to avoid NPE.
Occurs in Jenkins ver. 2.73.3 and Pipeline: Groovy Plugin 2.42.

java.lang.NullPointerException
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovyCallSiteSelector.isVarArgsMethod(GroovyCallSiteSelector.java:231)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovyCallSiteSelector.findMatchingMethod(GroovyCallSiteSelector.java:200)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovyCallSiteSelector.staticMethod(GroovyCallSiteSelector.java:193)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onStaticCall(SandboxInterceptor.java:153)
	at org.kohsuke.groovy.sandbox.impl.Checker$2.call(Checker.java:186)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedStaticCall(Checker.java:190)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:97)
	at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:17)
	at WorkflowScript.run(WorkflowScript:42)
	at ___cps.transform___(Native Method)
2017-12-12 12:46:44 +01:00
Johannes Schnatterer
6ec7e7eee2 Jenkins: Removes deploy application stage.
Makes pipeline less dependent to its environment. No longer needs a preconfigured slave an a host to deploy the petclinic to via SSH. The demo content can now be used on more environments.
2017-12-12 09:25:47 +01:00
Johannes Schnatterer
b5b2dcf1c1 Jenkins: Discover FQDN from env var instead of using hard-coded one.
Makes pipeline less dependent to environment.
2017-12-12 09:22:29 +01:00
Johannes Schnatterer
ef3e3defd4 Jenkins: Archive JUnit results also on failing tests 2017-10-10 16:46:19 +02:00
Johannes Schnatterer
e92ae405dd Jenkins: Run Test & Deploy stages in parallel 2017-10-09 15:31:28 +02:00
Philipp Czora
f4ebbafc14 Adds .smeagol.yml and renames smeagol main page 2017-10-09 15:02:25 +02:00
Philipp Czora
a33431821b Adds smeagol example 2017-10-09 09:56:08 +02:00
Philipp Czora
0f708a3709 Unignores integration test 2017-10-05 12:47:23 +02:00
Philipp Czora
3ca5d64a22 Adds integration test & edits Jenkins pipeline accordingly 2017-10-05 10:00:45 +02:00
Sebastian Sdorra
67481fe73b Fixes ansible deployment 2017-09-27 08:53:56 +02:00
Sebastian Sdorra
d55ae63656 Use snapshot version for demo 2017-09-27 08:37:58 +02:00
Sebastian Sdorra
f24fb87c1e Adds basic ansible deployment 2017-09-26 17:30:07 +02:00
Sebastian Sdorra
63d5dd3299 Fixes build and nexus deployment 2017-09-26 16:34:57 +02:00
Sebastian Sdorra
3b471b46c5 Adds Jenkinsfile 2017-09-25 15:14:26 +02:00
Jeric Bryle Sy Dy
cdbfafe077 set pet to owner to avoid null owner when user gets an error on new pet page 2017-09-21 13:31:05 +01:00
Dave Syer
101c9dc690 Update Spring Boot and Thymeleaf versions 2017-06-30 11:07:07 +01:00
Antoine Rey
ffa967c94b spring-petclinic-angular1 repo renamed to spring-petclinic-angularjs 2017-04-12 21:41:00 +02:00
Antoine Rey
fd1c742d4f Do not fail maven build when git directing is missing 2017-03-06 08:12:14 +00:00
Stephane Nicoll
f792522b3d Merge pull request #229 from henri-tremblay:ehcacheback
* pr/229:
  Polish contribution
  Put Ehcache back
2017-02-17 12:32:01 +01:00
Stephane Nicoll
75912a06c5 Polish contribution
Closes gh-229
2017-02-17 12:30:57 +01:00
Henri Tremblay
443d35eae2 Put Ehcache back 2017-02-17 06:22:26 -05:00
Dave Syer
63dadcc07f Make all entity fields private
Encapsulation is better that way (and tere is a getter for all of them
anyway).
2017-02-03 10:04:36 +00:00
Dave Syer
0a51540ad0 Fix serializability of Vet 2017-02-03 10:03:11 +00:00
Stephane Nicoll
be13722cc5 Polish 2017-02-03 08:37:02 +01:00
Stephane Nicoll
d2ec371496 Restore actuator access with Spring Boot 1.5 2017-02-03 08:36:48 +01:00
Stephane Nicoll
126bd97971 Polish 2017-02-03 08:36:08 +01:00
Dave Syer
c7657df854 Remove ehcache (at least temporarily)
The fact that it was still there on the classpath means it needs to
be configured (and fails silently if you don't). Removed to give
us some tmie to reconsider.
2017-02-02 16:04:55 +00:00
Huang YunKun
e8882e8b27 Update CacheConfig link 2017-02-02 16:56:54 +01:00
Dave Syer
90b8df9319 Update to 1.5.1 2017-01-31 15:51:55 +00:00
Dave Syer
80269539e2 Configure caching properly to avoid error in vets 2017-01-08 15:45:30 +00:00
Dave Syer
0f840cd50b Change artifactId to 'spring-petclinic' 2016-12-20 10:47:45 +00:00
Dave Syer
6da37c30d3 Use default cache configuration 2016-12-06 12:04:23 +00:00
Dave Syer
0c7db646ef Make mysql configuration more first class 2016-12-05 21:50:29 +00:00
Dave Syer
8b76a54814 Update mysql readme 2016-12-05 12:05:01 +00:00
Oscar Utbult
837483f1d0 Fix incorrect glyphicon name 2016-12-05 11:46:01 +00:00
Kristof Neirynck
61be1bac41 Fix #207 set pet owner when for has an error 2016-12-05 11:45:37 +00:00
Kristof Neirynck
ca2a66500f Correct view as xml url 2016-12-05 11:45:04 +00:00
Oscar Utbult
7dcae7cc86 Fix Javadoc error 2016-12-05 11:44:37 +00:00
Oscar Utbult
706c6fc647 Replace anonymous class with lambda 2016-12-05 11:44:14 +00:00
Dave Syer
87ee7cadfb Exclude groovy because it isn't used 2016-12-02 12:57:41 +00:00
Dave Syer
cb3156efb2 Add ignores 2016-11-22 11:12:07 +00:00
Dave Syer
195903bdf7 Clarify nature of GitHub org split 2016-11-17 10:58:51 +00:00
Dave Syer
131a588e09 Use wro4j instead of lesscss plugin
It's better maintained and it seems to provide more features
as well.
2016-11-17 10:51:36 +00:00
Antoine Rey
e20b96a4c2 Reference spring-petclinic/spring-framework-petclinic project instead of the legacy branch 2016-11-17 08:34:11 +01:00
Dave Syer
83ff9a50e3 Modularize and migrate to aggregate-oriented domain
Vet, Owner, Visit. The Visit "aggregate" is a little artificial
but it demonstrates a useful point about not holding on to
references of "parent" (reference data) objects, i.e. the Visit has
an Integer petId, instead of a Pet field. In principle this app is
now almost ready to migrate to multiple services if anyone wanted
to do that.
2016-11-14 15:36:21 +00:00
Antoine Rey
8c8599298a Add reference to the spring-petclinic-microservices fork 2016-11-13 19:37:45 +01:00
Antoine Rey
adc92a49cc Using absolute URL 2016-11-12 12:15:19 +01:00
Antoine Rey
2052b0c0a1 Adding "Interesting Spring Petclinic branches and forks" section 2016-11-12 12:13:44 +01:00
Antoine Rey
97f6d4ca0a #192 Adding screenshot 2016-11-12 12:13:29 +01:00