[go: nahoru, domu]

Skip to content

Commit

Permalink
update gitbook; update xmls
Browse files Browse the repository at this point in the history
  • Loading branch information
daggerok committed Mar 6, 2018
1 parent 899e3f4 commit aa8ea75
Show file tree
Hide file tree
Showing 41 changed files with 59 additions and 61 deletions.
30 changes: 15 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
group: trusty_lts
service:
- docker
env:
global:
- TERM=dumb
language: java
jdk: oraclejdk8
#jdk:
#-oraclejdk8
#- openjdk8
#- oraclejdk8
install: true
before_install:
# install docker-compose
Expand All @@ -19,27 +19,17 @@ before_install:
- stop_any 5432 5672 27017 3000 8000 8080 80 27017 5672 5432
script:
# gitbook
- bash gradlew clean buildDocs
# all
- bash gradlew clean gitbook
- export ROOT=$PWD
- cd $ROOT/hello-xml
# xml-hello
- cd $ROOT/xml-hello
- bash ./mvnw
- bash target/*.jar &
- wait_for 8080
- http :8080
- http :8080 message=hello!
- http :8080 ololo=trololo
- stop_any 8080 8000 80
- >
for path in \
xml-starter \
spring-integration-5-example-02 \
spring-integration-5-example-01 \
; do
export TARGET="$ROOT/$path"
cd $TARGET
bash gradlew clean build
done;
# 01 e2e
- cd $ROOT/spring-integration-5-example-01
- bash gradlew clean build
Expand All @@ -51,6 +41,16 @@ script:
- curl localhost:8080/sse &
- sleep 1
- sudo service 01 stop
# others
- >
for path in \
xml-starter \
spring-integration-5-example-02 \
; do
export TARGET="$ROOT/$path"
cd $TARGET
bash gradlew clean build
done;
cache:
directories:
- docs/
Expand Down
14 changes: 3 additions & 11 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
= spring-integration-5-example image:https://travis-ci.org/daggerok/spring-integration-5-examples.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/spring-integration-5-examples"]
= spring-integration-5-examples image:https://travis-ci.org/daggerok/spring-integration-5-examples.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/spring-integration-5-examples"]

this repository is containing spring-integration 5 examples

. link:hello-xml[simple xml example]
. link:xml-hello[simple xml example]
. link:spring-integration-5-example-01[sse]
. link:reactive-data-flow-systems/[reactive data-flow systems]

### docs

.build gitbook docs
----
cd gitbook/
bash gradlew clean build
----

### links:
links:

. link:https://github.com/spring-projects/spring-integration-java-dsl/wiki/spring-integration-java-dsl-reference[Java DSL]
2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
data-chapter-title="Introduction"
data-filepath="README.md"
data-basepath="."
data-revision="Tue Mar 06 2018 01:23:37 GMT+0200 (EET)"
data-revision="Tue Mar 06 2018 12:31:20 GMT+0200 (EET)"
data-innerlanguage="">


Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
data-chapter-title="Introduction"
data-filepath="README.md"
data-basepath="."
data-revision="Tue Mar 06 2018 01:23:37 GMT+0200 (EET)"
data-revision="Tue Mar 06 2018 12:31:20 GMT+0200 (EET)"
data-innerlanguage="">


Expand Down
2 changes: 1 addition & 1 deletion docs/projects/01.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
data-chapter-title="Spring Integration 5 example"
data-filepath="projects/01.md"
data-basepath=".."
data-revision="Tue Mar 06 2018 01:23:37 GMT+0200 (EET)"
data-revision="Tue Mar 06 2018 12:31:20 GMT+0200 (EET)"
data-innerlanguage="">


Expand Down
2 changes: 1 addition & 1 deletion docs/projects/02.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
data-chapter-title="Spring Integration 5 example"
data-filepath="projects/02.md"
data-basepath=".."
data-revision="Tue Mar 06 2018 01:23:37 GMT+0200 (EET)"
data-revision="Tue Mar 06 2018 12:31:20 GMT+0200 (EET)"
data-innerlanguage="">


Expand Down
6 changes: 6 additions & 0 deletions gitbook/README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
= spring-integration-5-examples | gitbook image:https://travis-ci.org/daggerok/spring-integration-5-examples.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/spring-integration-5-examples"]

.build docs
----
./gradlew clean gitbook
----
7 changes: 4 additions & 3 deletions gitbook/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ node {
yarnVersion = "v0.24.5"
workDir = file("$project.buildDir/nodejs")
}

clean.doFirst {
[
"out",
Expand All @@ -29,9 +30,9 @@ clean.doFirst {
delete "$rootDir/docs"
}

task buildDocs(dependsOn: [npm_run_docs])
buildDocs.dependsOn examplesClasses
assemble.dependsOn buildDocs
task gitbook(dependsOn: [npm_run_docs])
gitbook.dependsOn examplesClasses
assemble.dependsOn gitbook

task wrapper(type: Wrapper) {
gradleVersion = "4.6"
Expand Down
11 changes: 0 additions & 11 deletions hello-xml/README.adoc

This file was deleted.

1 change: 0 additions & 1 deletion hello-xml/settings.gradle

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions xml-hello/README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
= spring-integration-5-examples | xml image:https://travis-ci.org/daggerok/spring-integration-5-examples.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/spring-integration-5-examples"]

//tag::content[]
.gradle
----
./gradlew # or ./mvnw
----

generated by link:https://github.com/daggerok/generator-daggerok-fatjar/[daggerok-fatjar] yeoman generator
//end::content[]
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ version: "2.1"

services:

gradle-xml-starter-app:
gradle-xml-app:
build:
context: .
dockerfile: gradle/Dockerfile
volumes: ["gradle-xml-starter-app-data:/home/app"]
volumes: ["gradle-xml-app-data:/home/app"]
ports: ["8080:8080"]
networks: [backing-services]
mem_limit: 786432000 # container limit: 700Mb (700 * 1024 * 1024)

volumes:
gradle-xml-starter-app-data: {}
gradle-xml-app-data: {}

networks:
backing-services:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ version: "2.1"

services:

maven-xml-starter-app:
maven-xml-app:
build:
context: .
dockerfile: .mvn/Dockerfile
volumes: ["maven-xml-starter-app-data:/home/app"]
volumes: ["maven-xml-app-data:/home/app"]
ports: ["8080:8080"]
networks: [backing-services]
mem_limit: 786432000 # container limit: 700Mb (700 * 1024 * 1024)

volumes:
maven-xml-starter-app-data: {}
maven-xml-app-data: {}

networks:
backing-services:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion hello-xml/pom.xml → xml-hello/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>daggerok</groupId>
<artifactId>hello-xml</artifactId>
<artifactId>xml</artifactId>
<version>0.0.1</version>
<packaging>jar</packaging>

Expand Down
1 change: 1 addition & 0 deletions xml-hello/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = "xml"
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion xml-starter/README.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= xml-starter
= spring-integration-5-examples | xml image:https://travis-ci.org/daggerok/spring-integration-5-examples.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/spring-integration-5-examples"]

//tag::content[]
includes spring-integration xml configuration with few dependencies
Expand Down
6 changes: 3 additions & 3 deletions xml-starter/docker-compose-gradle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ version: "2.1"

services:

gradle-xml-starter-app:
gradle-xml-app:
build:
context: .
dockerfile: gradle/Dockerfile
volumes: ["gradle-xml-starter-app-data:/home/app"]
volumes: ["gradle-xml-app-data:/home/app"]
ports: ["8080:8080"]
networks: [backing-services]
mem_limit: 786432000 # container limit: 700Mb (700 * 1024 * 1024)

volumes:
gradle-xml-starter-app-data: {}
gradle-xml-app-data: {}

networks:
backing-services:
Expand Down
6 changes: 3 additions & 3 deletions xml-starter/docker-compose-maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ version: "2.1"

services:

maven-xml-starter-app:
maven-xml-app:
build:
context: .
dockerfile: .mvn/Dockerfile
volumes: ["maven-xml-starter-app-data:/home/app"]
volumes: ["maven-xml-app-data:/home/app"]
ports: ["8080:8080"]
networks: [backing-services]
mem_limit: 786432000 # container limit: 700Mb (700 * 1024 * 1024)

volumes:
maven-xml-starter-app-data: {}
maven-xml-app-data: {}

networks:
backing-services:
Expand Down
2 changes: 1 addition & 1 deletion xml-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>daggerok</groupId>
<artifactId>xml-starter</artifactId>
<artifactId>xml</artifactId>
<version>0.0.1</version>
<packaging>jar</packaging>

Expand Down
2 changes: 1 addition & 1 deletion xml-starter/settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rootProject.name = "xml-starter"
rootProject.name = "xml"

0 comments on commit aa8ea75

Please sign in to comment.