Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
ec8c581
#282: Use injected configuration to refer to basePath
akehir Jun 12, 2018
03939c8
Regenerate tests with new api templates
akehir Jun 12, 2018
9930f61
Ignore signing for other branches than master (#288)
jmini Jun 12, 2018
2ff81ca
Expanding customization docs (#283)
Jun 12, 2018
55f9e31
Update template modification docs (#291)
jimschubert Jun 13, 2018
ff94464
Updated api to always use configuration even if old http client is us…
akehir Jun 13, 2018
2995273
[go-server] Add dockerfile for building and run petstore service (#274)
etherealjoy Jun 13, 2018
49b8ece
update cpp server scripts/batch files (#296)
wing328 Jun 13, 2018
6f6a4a1
[rust-server] (Re-)Adding support for rust-server (#290)
bjgill Jun 13, 2018
f964873
Change "samples" profile name to "samples.shippable" (#305)
jmini Jun 13, 2018
91d6d77
[rust-server] Add rust-server to travis CI (#308)
bjgill Jun 13, 2018
7126074
add Go client test - TestPlaceOrder (#321)
grokify Jun 14, 2018
24104da
Add option modelPropertyNaming to javascript generator (#299)
stianlik Jun 14, 2018
f8e61ac
[typescript] fix cast problem (#303)
topce Jun 14, 2018
680a2bc
Configuration option to disable HTML escaping when using Gson (#298)
stianlik Jun 14, 2018
5630746
Remove "CI/pom.xml.shippable" (#319)
jmini Jun 15, 2018
6c996a7
Various improvement to CI (#326)
wing328 Jun 15, 2018
e5635d2
update brew readme (#330)
wing328 Jun 16, 2018
798bf61
Grammar and spelling fixes (#329)
scop Jun 16, 2018
53d9878
Update Petstore samples (#331)
wing328 Jun 16, 2018
c607ea8
Add fixes for es6 generator (#180)
delenius Jun 16, 2018
7c49bdd
CircleCI migration from 1.0 to 2.0 (#333)
wing328 Jun 17, 2018
75171b4
[C++] Rename template dir (#332)
ackintosh Jun 17, 2018
97bab92
[cli] Enable recommendations on validate command (#292)
jimschubert Jun 17, 2018
c51986d
Go server clean up (#328)
bvwells Jun 17, 2018
30d1021
Add links for released versions in compat table (#336)
grokify Jun 18, 2018
74914b6
Prepare release 3.0.2 (#337)
jmini Jun 18, 2018
9511586
Prepare 3.0.3-SNAPSHOT (#338)
jmini Jun 18, 2018
1ffc4a2
Moved Typescript Angular 6 builds into 'builds' subdirectory to confo…
akehir Jun 19, 2018
9151f65
Adding in Telstra (#357)
developersteve Jun 20, 2018
231202d
Initial roadmap (#295)
jimschubert Jun 20, 2018
3c9cf1d
Restore unit test (#346)
jmini Jun 20, 2018
d19a2fa
[php] Correctly handle multiple valid responses (#128)
fMads Jun 20, 2018
645a25b
Added angular 6 with-npm sample client
akehir Jun 20, 2018
108aabc
Add test cases for angular 6 generated sample client, as well as for …
akehir Jun 20, 2018
35fbac1
Fixed typos in typescript pom.xml
akehir Jun 20, 2018
9993684
Add no-watch to karma
akehir Jun 20, 2018
d4654fc
Use PhantomJS instead of Chrome, rename all typescript-angular-poms t…
akehir Jun 20, 2018
d5b209d
#282: Use injected configuration to refer to basePath
akehir Jun 12, 2018
63326b8
Regenerate tests with new api templates
akehir Jun 12, 2018
ddab13c
Updated api to always use configuration even if old http client is us…
akehir Jun 13, 2018
dc74492
Moved Typescript Angular 6 builds into 'builds' subdirectory to confo…
akehir Jun 19, 2018
6ec5160
Added angular 6 with-npm sample client
akehir Jun 20, 2018
d4d23d2
Add test cases for angular 6 generated sample client, as well as for …
akehir Jun 20, 2018
7cb71ab
Fixed typos in typescript pom.xml
akehir Jun 20, 2018
2353fe7
Add no-watch to karma
akehir Jun 20, 2018
802a42b
Use PhantomJS instead of Chrome, rename all typescript-angular-poms t…
akehir Jun 20, 2018
ea59f19
Merge branch 'feature/basePathThroughInjectedConfig' of github.com:ak…
akehir Jun 20, 2018
871445a
Enable angular 6 test cases in circleci
akehir Jun 20, 2018
dc880e8
Use nvm to update node
akehir Jun 20, 2018
6beb630
Do not show angular build progress as it spams the ci log
akehir Jun 20, 2018
c983865
Do not duplicate addons in travis
akehir Jun 20, 2018
dcb3d12
Run Chrome in headless mode for CI
akehir Jun 20, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 25 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ language: java
jdk:
- openjdk8


cache:
directories:
- $HOME/.m2
Expand All @@ -25,13 +26,17 @@ cache:
- $HOME/samples/client/petstore/typescript-fetch/npm/with-npm-version/typings
- $HOME/samples/client/petstore/typescript-angular/node_modules
- $HOME/samples/client/petstore/typescript-angular/typings
- $HOME/samples/server/petstore/rust-server/target
- $HOME/perl5
- $HOME/.cargo
- $HOME/.stack

services:
- docker

# comment out the host table change to use the public petstore server
addons:
chrome: stable
hosts:
- petstore.swagger.io

Expand All @@ -41,7 +46,7 @@ before_install:
- stack upgrade
- stack --version
# install rust
- curl -sSf https://static.rust-lang.org/rustup.sh | sh
- curl https://sh.rustup.rs -sSf | sh -s -- -y -v
# required when sudo: required for the Ruby petstore tests
- gem install bundler
- npm install -g typescript
Expand Down Expand Up @@ -83,7 +88,7 @@ install:
# Add Godeps dependencies to GOPATH and PATH
- eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=1.4 bash)"
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace"
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$HOME/.cargo/bin:$PATH"
- go version

script:
Expand All @@ -100,14 +105,24 @@ script:
- mvn --quiet verify -Psamples
after_success:
# push to maven repo
- if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && ([ "$TRAVIS_BRANCH" = "master" ] || [ "$TRAVIS_BRANCH" = "3.1.x" ] || [ "$TRAVIS_BRANCH" = "4.0.x" ]) && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
mvn clean deploy -DskipTests=true -B -U -P release --settings CI/settings.xml;
echo "Finished mvn clean deploy for $TRAVIS_BRANCH";
pushd .;
cd modules/openapi-generator-gradle-plugin;
./gradlew -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/sec.gpg" -PossrhUsername="${SONATYPE_USERNAME}" -PossrhPassword="${SONATYPE_PASSWORD}" uploadArchives --no-daemon;
echo "Finished ./gradlew uploadArchives";
popd;
- if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
if [ "$TRAVIS_BRANCH" = "master" ]; then
mvn clean deploy -DskipTests=true -B -U -P release --settings CI/settings.xml;
echo "Finished mvn clean deploy for $TRAVIS_BRANCH";
pushd .;
cd modules/openapi-generator-gradle-plugin;
./gradlew -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/sec.gpg" -PossrhUsername="${SONATYPE_USERNAME}" -PossrhPassword="${SONATYPE_PASSWORD}" uploadArchives --no-daemon;
echo "Finished ./gradlew uploadArchives";
popd;
elif ([ "$TRAVIS_BRANCH" == "3.1.x" ] || [ "$TRAVIS_BRANCH" == "4.0.x" ]) ; then
mvn clean deploy --settings CI/settings.xml;
echo "Finished mvn clean deploy for $TRAVIS_BRANCH";
pushd .;
cd modules/openapi-generator-gradle-plugin;
./gradlew -PossrhUsername="${SONATYPE_USERNAME}" -PossrhPassword="${SONATYPE_PASSWORD}" uploadArchives --no-daemon;
echo "Finished ./gradlew uploadArchives";
popd;
fi;
fi;
## docker: build and push openapi-generator-online to DockerHub
- if [ $DOCKER_HUB_USERNAME ]; then echo "$DOCKER_HUB_PASSWORD" | docker login --username=$DOCKER_HUB_USERNAME --password-stdin && docker build -t $DOCKER_GENERATOR_IMAGE_NAME ./modules/openapi-generator-online && if [ ! -z "$TRAVIS_TAG" ]; then docker tag $DOCKER_GENERATOR_IMAGE_NAME:latest $DOCKER_GENERATOR_IMAGE_NAME:$TRAVIS_TAG; fi && if [ ! -z "$TRAVIS_TAG" ] || [ "$TRAVIS_BRANCH" = "master" ]; then docker push $DOCKER_GENERATOR_IMAGE_NAME && echo "Pushed to $DOCKER_GENERATOR_IMAGE_NAME"; fi; fi
Expand Down
2 changes: 1 addition & 1 deletion CI/pom.xml.bash
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<artifactId>openapi-generator-project</artifactId>
<packaging>pom</packaging>
<name>openapi-generator-project</name>
<version>3.0.2-SNAPSHOT</version>
<version>3.0.3-SNAPSHOT</version>
<url>https://github.com/openapi-tools/openapi-generator</url>
<scm>
<connection>scm:git:git@github.com:openapi-tools/openapi-generator.git</connection>
Expand Down
16 changes: 10 additions & 6 deletions CI/pom.xml.circleci
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<artifactId>openapi-generator-project</artifactId>
<packaging>pom</packaging>
<name>openapi-generator-project</name>
<version>3.0.2-SNAPSHOT</version>
<version>3.0.3-SNAPSHOT</version>
<url>https://github.com/openapitools/openapi-generator</url>
<scm>
<connection>scm:git:git@github.com:openapitools/openapi-generator.git</connection>
Expand Down Expand Up @@ -833,6 +833,9 @@
</activation>
<modules>
<!-- clients -->
<!-- test non-java projects -->
<module>samples/client/petstore/go</module>
<module>samples/client/petstore/typescript-angular-v6-provided-in-root</module>
<!-- test java-related projects -->
<module>samples/client/petstore/akka-scala</module>
<module>samples/client/petstore/scala</module>
Expand All @@ -855,8 +858,6 @@
<module>samples/client/petstore/kotlin/</module>
<module>samples/client/petstore/kotlin-threetenbp/</module>
<module>samples/client/petstore/kotlin-string/</module>
<!-- test non-java projects -->
<module>samples/client/petstore/go</module>
<!-- servers -->
<module>samples/server/petstore/java-vertx/rx</module>
<module>samples/server/petstore/java-vertx/async</module>
Expand All @@ -873,19 +874,21 @@
<module>samples/server/petstore/java-play-framework-api-package-override</module>
<module>samples/server/petstore/undertow</module>
<module>samples/server/petstore/jaxrs/jersey1</module>
<module>samples/server/petstore/jaxrs/jersey2</module>
<module>samples/server/petstore/jaxrs/jersey1-useTags</module>
<module>samples/server/petstore/jaxrs/jersey2-useTags</module>
<!-- move to other CI as the following fails often in CircleCI
<module>samples/server/petstore/jaxrs/jersey2</module>
<module>samples/server/petstore/jaxrs/jersey2-useTags</module> -->
<module>samples/server/petstore/jaxrs-datelib-j8</module>
<module>samples/server/petstore/jaxrs-resteasy/default</module>
<module>samples/server/petstore/jaxrs-resteasy/eap</module>
<module>samples/server/petstore/jaxrs-resteasy/eap-joda</module>
<module>samples/server/petstore/jaxrs-resteasy/eap-java8</module>
<module>samples/server/petstore/jaxrs-resteasy/joda</module>
<!--<module>samples/server/petstore/kotlin-server/ktor</module>-->
<!-- move to other CI as the following fails often in CircleCI
<module>samples/server/petstore/spring-mvc</module>
<module>samples/server/petstore/spring-mvc-j8-async</module>
<module>samples/server/petstore/spring-mvc-j8-localdatetime</module>
<module>samples/server/petstore/spring-mvc-j8-localdatetime</module>-->
<module>samples/client/petstore/spring-cloud</module>
<module>samples/server/petstore/springboot</module>
<module>samples/server/petstore/springboot-beanvalidation</module>
Expand All @@ -898,6 +901,7 @@
<module>samples/server/petstore/jaxrs-spec-interface</module>
<module>samples/server/petstore/scala-lagom-server</module>
<module>samples/server/petstore/scalatra</module>
<module>samples/server/petstore/finch</module>
</modules>
</profile>
</profiles>
Expand Down
3 changes: 2 additions & 1 deletion CI/pom.xml.circleci.java7
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<artifactId>openapi-generator-project</artifactId>
<packaging>pom</packaging>
<name>openapi-generator-project</name>
<version>3.0.2-SNAPSHOT</version>
<version>3.0.3-SNAPSHOT</version>
<url>https://github.com/openapitools/openapi-generator</url>
<scm>
<connection>scm:git:git@github.com:openapitools/openapi-generator.git</connection>
Expand Down Expand Up @@ -854,6 +854,7 @@
<module>samples/client/petstore/kotlin/</module>
<!-- test non-java projects -->
<!--<module>samples/client/petstore/go</module>-->
<module>samples/client/petstore/typescript-angular-v6-provided-in-root</module>
<!-- servers -->
<module>samples/server/petstore/java-vertx/rx</module>
<module>samples/server/petstore/java-vertx/async</module>
Expand Down
2 changes: 1 addition & 1 deletion CI/pom.xml.ios
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<artifactId>openapi-generator-project</artifactId>
<packaging>pom</packaging>
<name>openapi-generator-project</name>
<version>3.0.2-SNAPSHOT</version>
<version>3.0.3-SNAPSHOT</version>
<url>https://github.com/openapitools/openapi-generator</url>
<scm>
<connection>scm:git:git@github.com:openapitools/openapi-generator.git</connection>
Expand Down
Loading