Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ The project is very much Work In Progress and will be published on maven central

# Release Notes
BOAT is still under development and subject to change.
## 0.15.9
* Boat Angular generator
* Use `>=` for main peer dependency to improve forward compatibility
## 0.15.8
* *Boat Scaffold*
* Makes sure to not autogenerate examples from schema if examples are already present
Expand Down
2 changes: 1 addition & 1 deletion boat-engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.backbase.oss</groupId>
<artifactId>backbase-openapi-tools</artifactId>
<version>0.15.8</version>
<version>0.15.9-SNAPSHOT</version>
</parent>
<artifactId>boat-engine</artifactId>
<packaging>jar</packaging>
Expand Down
6 changes: 3 additions & 3 deletions boat-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.backbase.oss</groupId>
<artifactId>backbase-openapi-tools</artifactId>
<version>0.15.8</version>
<version>0.15.9-SNAPSHOT</version>
</parent>
<artifactId>boat-maven-plugin</artifactId>

Expand All @@ -32,7 +32,7 @@
</properties>

<dependencyManagement>
<dependencies></dependencies>
<dependencies />
</dependencyManagement>

<dependencies>
Expand Down Expand Up @@ -217,7 +217,7 @@
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>mockwebserver</artifactId>
<version>4.9.1</version>
<version>4.10.0</version>
<scope>test</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>v12.19.0</nodeVersion>
<nodeVersion>v16.15.1</nodeVersion>
</configuration>
</execution>
<execution>
Expand Down Expand Up @@ -93,4 +93,3 @@


</project>

4 changes: 2 additions & 2 deletions boat-quay/boat-quay-lint/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.backbase.oss</groupId>
<artifactId>boat-quay</artifactId>
<version>0.15.8</version>
<version>0.15.9-SNAPSHOT</version>
</parent>

<artifactId>boat-quay-lint</artifactId>
Expand Down Expand Up @@ -99,4 +99,4 @@
</plugins>
</build>

</project>
</project>
6 changes: 3 additions & 3 deletions boat-quay/boat-quay-rules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.backbase.oss</groupId>
<artifactId>boat-quay</artifactId>
<version>0.15.8</version>
<version>0.15.9-SNAPSHOT</version>
</parent>

<artifactId>boat-quay-rules</artifactId>
Expand All @@ -17,7 +17,7 @@
<properties>
<sonar.coverage.jacoco.xmlReportPaths>${basedir}/../${aggregate.report.dir}
</sonar.coverage.jacoco.xmlReportPaths>
<kotlin.version>1.4.10</kotlin.version>
<kotlin.version>1.7.0</kotlin.version>
<kotlin.compiler.incremental>false</kotlin.compiler.incremental>
<auto-service.version>1.0-rc7</auto-service.version>
<dokka.version>1.4.10.2</dokka.version>
Expand Down Expand Up @@ -172,4 +172,4 @@
</plugins>
</build>

</project>
</project>
4 changes: 2 additions & 2 deletions boat-quay/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.backbase.oss</groupId>
<artifactId>backbase-openapi-tools</artifactId>
<version>0.15.8</version>
<version>0.15.9-SNAPSHOT</version>
</parent>


Expand All @@ -29,4 +29,4 @@
<module>boat-quay-lint</module>
</modules>

</project>
</project>
18 changes: 15 additions & 3 deletions boat-scaffold/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<parent>
<groupId>com.backbase.oss</groupId>
<artifactId>backbase-openapi-tools</artifactId>
<version>0.15.8</version>
<version>0.15.9-SNAPSHOT</version>
</parent>

<artifactId>boat-scaffold</artifactId>

<packaging>jar</packaging>
Expand Down Expand Up @@ -38,6 +38,18 @@
</exclusions>
</dependency>

<dependency>
<groupId>com.github.jknack</groupId>
<artifactId>handlebars</artifactId>
<version>4.3.0</version>
</dependency>

<dependency>
<groupId>com.github.jknack</groupId>
<artifactId>handlebars-jackson2</artifactId>
<version>4.3.0</version>
</dependency>

<dependency>
<groupId>com.backbase.oss</groupId>
<artifactId>boat-engine</artifactId>
Expand Down Expand Up @@ -87,7 +99,7 @@
<dependency>
<groupId>com.backbase.oss</groupId>
<artifactId>boat-trail-resources</artifactId>
<version>0.15.8</version>
<version>0.15.9-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ private void addDependencies(SemVer angularVersion) {
additionalProperties.put("rxjsVersion", "6.6.0");

if (angularVersion.atLeast("11.0.0")) {
additionalProperties.put("tsVersion", "~4.1.0");
additionalProperties.put("tsVersion", ">=4.2.0");
additionalProperties.put("ngPackagrVersion", "11.0.0");
} else {
additionalProperties.put("tsVersion", ">=3.9.2 <4.0.0");
additionalProperties.put("tsVersion", ">=3.9.2");
additionalProperties.put("ngPackagrVersion", "10.0.3");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ public TemplateSource sourceAt(String location) {
.newBuilder(bundle)
.resolver(
MapValueResolver.INSTANCE,
JavaBeanValueResolver.INSTANCE,
FieldValueResolver.INSTANCE)
JavaBeanValueResolver.INSTANCE)
.build();

Handlebars handlebars = new Handlebars(loader);
Expand Down
24 changes: 12 additions & 12 deletions boat-scaffold/src/main/templates/boat-angular/package.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@
"build": "ng-packagr -p ng-package.json"
},
"peerDependencies": {
"@angular/core": "^{{ngVersion}}",
"@angular/core": ">={{ngVersion}}",
{{#withMocks}}
"@backbase/foundation-ang": "^{{foundationVersion}}",
"@backbase/foundation-ang": ">={{foundationVersion}}",
{{/withMocks}}
"rxjs": "^{{rxjsVersion}}"
"rxjs": ">={{rxjsVersion}}"
},
"devDependencies": {
"@angular/common": "~{{ngVersion}}",
"@angular/compiler": "~{{ngVersion}}",
"@angular/compiler-cli": "~{{ngVersion}}",
"@angular/core": "~{{ngVersion}}",
"@angular/platform-browser": "~{{ngVersion}}",
"ng-packagr": "^{{ngPackagrVersion}}",
"@angular/common": ">={{ngVersion}}",
"@angular/compiler": ">={{ngVersion}}",
"@angular/compiler-cli": ">={{ngVersion}}",
"@angular/core": ">={{ngVersion}}",
"@angular/platform-browser": ">={{ngVersion}}",
"ng-packagr": ">={{ngPackagrVersion}}",
"reflect-metadata": "^0.1.3",
{{#withMocks}}
"@backbase/foundation-ang": "~{{foundationVersion}}",
"@backbase/foundation-ang": ">={{foundationVersion}}",
{{/withMocks}}
"rxjs": "~{{rxjsVersion}}",
"rxjs": ">={{rxjsVersion}}",
"typescript": "{{{tsVersion}}}",
"zone.js": "^{{zonejsVersion}}"
"zone.js": ">={{zonejsVersion}}"
}{{#npmRepository}},
"publishConfig": {
"registry": "{{{npmRepository}}}"
Expand Down
2 changes: 1 addition & 1 deletion boat-terminal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.backbase.oss</groupId>
<artifactId>backbase-openapi-tools</artifactId>
<version>0.15.8</version>
<version>0.15.9-SNAPSHOT</version>
</parent>

<artifactId>boat-terminal</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions boat-trail-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<parent>
<groupId>com.backbase.oss</groupId>
<artifactId>backbase-openapi-tools</artifactId>
<version>0.15.8</version>
<version>0.15.9-SNAPSHOT</version>
</parent>

<artifactId>boat-trail-resources</artifactId>

<packaging>jar</packaging>
Expand Down
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.backbase.oss</groupId>
<artifactId>backbase-openapi-tools</artifactId>
<version>0.15.8</version>
<version>0.15.9-SNAPSHOT</version>

<packaging>pom</packaging>
<description>Backbase Open Api Tools will help you converting RAML to OpenAPI plus many more</description>
Expand Down Expand Up @@ -56,15 +56,15 @@
<aggregate.report.dir>tests/target/site/jacoco-aggregate/jacoco.xml</aggregate.report.dir>
<sonar.coverage.jacoco.xmlReportPaths>${aggregate.report.dir}</sonar.coverage.jacoco.xmlReportPaths>

<lombok.version>1.18.16</lombok.version>
<jackson.version>2.11.3</jackson.version>
<mockito.version>3.8.0</mockito.version>
<lombok.version>1.18.24</lombok.version>
<jackson.version>2.13.3</jackson.version>
<mockito.version>4.6.1</mockito.version>

<slf4j.version>1.7.30</slf4j.version>
<swagger-core.version>2.1.5</swagger-core.version>
<swagger-parser.version>2.0.23</swagger-parser.version>
<snakeyaml.version>1.26</snakeyaml.version>
<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
<jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
</properties>

<modules>
Expand Down Expand Up @@ -98,7 +98,7 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
<version>1.2.9</version>
</dependency>


Expand Down
2 changes: 1 addition & 1 deletion tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.backbase.oss</groupId>
<artifactId>backbase-openapi-tools</artifactId>
<version>0.15.8</version>
<version>0.15.9-SNAPSHOT</version>
</parent>

<artifactId>tests</artifactId>
Expand Down