Skip to content

Commit

Permalink
feat: update maven configuration, fix permission config (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejpetras authored Apr 17, 2024
1 parent c2c04bb commit cf19648
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/modules/onecx-quarkus/pages/includes/attributes.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:project-version: 0.15.0
:project-version: 0.16.0
:quarkus-version: 3.9.3

:examples-dir: ./../examples/
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ ifndef::add-copy-button-to-env-var[]
Environment variable: `+++ONECX_TENANT_SERVICE_CLIENT_URL+++`
endif::add-copy-button-to-env-var[]
--|string
|`http://onecx-tenant:8080`
|`http://onecx-tenant-svc:8080`

|===
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
onecx.permissions.service.client.url=http://onecx-permission:8080
onecx.permissions.service.client.url=http://onecx-permission-svc:8080
quarkus.rest-client.onecx_permission.url=${onecx.permissions.service.client.url}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ public interface TenantConfig {
* This property is alias for rest-client generated configuration property `quarkus.rest-client.onecx_tenant.url`
*/
@WithName(value = "service.client.url")
@WithDefault(value = "http://onecx-tenant:8080")
@WithDefault(value = "http://onecx-tenant-svc:8080")
String clientUrl();
}
1 change: 0 additions & 1 deletion it/permissions-mock/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>7.5.0</version>
<configuration>
<generatorName>jaxrs-spec</generatorName>
<modelNameSuffix>DTO</modelNameSuffix>
Expand Down
1 change: 0 additions & 1 deletion it/permissions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>7.5.0</version>
<configuration>
<generatorName>jaxrs-spec</generatorName>
<modelNameSuffix>DTO</modelNameSuffix>
Expand Down
1 change: 0 additions & 1 deletion it/security/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>7.5.0</version>
<configuration>
<generatorName>jaxrs-spec</generatorName>
<modelNameSuffix>DTO</modelNameSuffix>
Expand Down
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
<git-commit-id-maven-plugin.version>8.0.2</git-commit-id-maven-plugin.version>

<!-- Other -->
<openapitools.openapi-generator-maven-plugin.version>7.5.0</openapitools.openapi-generator-maven-plugin.version>
<download-maven-plugin.version>1.9.0</download-maven-plugin.version>
<projectlombok.version>1.18.32</projectlombok.version>
<projectlombok.mapstruct-binding.version>0.2.0</projectlombok.mapstruct-binding.version>
Expand Down Expand Up @@ -196,6 +197,11 @@
<artifactId>download-maven-plugin</artifactId>
<version>${download-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>${openapitools.openapi-generator-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
Expand Down

0 comments on commit cf19648

Please sign in to comment.