Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@


## [Unreleased]
## [3.17.0] - 2025-11-03
### Added ✔️
* **OpenAIClient AutoConfigure **: Allow to configure OpenIA Client token for Ontimize EE OpenAI image service.
## [3.16.0] - 2025-09-12
### Changed 🛠️
* **Ontimize EE**: Update version to 5.13.0
Expand Down Expand Up @@ -70,7 +73,8 @@
* **[Export services](https://ontimize.github.io/docs/v3/basics/exportdata/):** System to export the DAO data of a service and dump it directly to a file.


[unreleased]: https://github.com/ontimize/ontimize-boot/compare/3.16.0...HEAD
[unreleased]: https://github.com/ontimize/ontimize-boot/compare/3.17.0...HEAD
[3.17.0]: https://github.com/ontimize/ontimize-boot/compare/3.16.0...3.17.0
[3.16.0]: https://github.com/ontimize/ontimize-boot/compare/3.15.3...3.16.0
[3.15.3]: https://github.com/ontimize/ontimize-boot/compare/3.15.2...3.15.3
[3.15.2]: https://github.com/ontimize/ontimize-boot/compare/3.15.1...3.15.2
Expand Down
2 changes: 1 addition & 1 deletion ontimize-boot-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot</artifactId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>

<artifactId>ontimize-boot-autoconfigure</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ontimize-boot-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ontimize-boot</artifactId>
<groupId>com.ontimize.boot</groupId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion ontimize-boot-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot</artifactId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>

<organization>
Expand Down
2 changes: 1 addition & 1 deletion ontimize-boot-keycloak/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ontimize-boot</artifactId>
<groupId>com.ontimize.boot</groupId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion ontimize-boot-report/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ontimize-boot</artifactId>
<groupId>com.ontimize.boot</groupId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot-starters</artifactId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>

<artifactId>ontimize-boot-starter-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ontimize-boot-starters/ontimize-boot-starter-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot-starters</artifactId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>

<artifactId>ontimize-boot-starter-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ontimize-boot-starters/ontimize-boot-starter-dms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot-starters</artifactId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>

<artifactId>ontimize-boot-starter-dms</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ontimize-boot-starters/ontimize-boot-starter-jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot-starters</artifactId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>

<organization>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot-starters</artifactId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>

<artifactId>ontimize-boot-starter-keycloak</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>ontimize-boot-starters</artifactId>
<groupId>com.ontimize.boot</groupId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>

<artifactId>ontimize-boot-starter-report</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ontimize-boot-starters/ontimize-boot-starter-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot-starters</artifactId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>

<artifactId>ontimize-boot-starter-rest</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ontimize-boot-starters/ontimize-boot-starter-sdms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot-starters</artifactId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>

<artifactId>ontimize-boot-starter-sdms</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot-starters</artifactId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>
<artifactId>ontimize-boot-starter-webaddons</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion ontimize-boot-starters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot</artifactId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>

<organization>
Expand Down
2 changes: 1 addition & 1 deletion ontimize-boot-webaddons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot</artifactId>
<version>3.16.0</version>
<version>3.17.0</version>
</parent>
<artifactId>ontimize-boot-webaddons</artifactId>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.ontimize.boot.openai;

import com.ontimize.jee.webclient.openai.client.OpenAIClient;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConditionalOnProperty(name = "ontimize.openai.apikey", matchIfMissing = false)
public class OpenAIClientAutoConfigure {

@Value("${ontimize.openai.apikey}")
private String apiKey;

@Bean("OpenAIClient")
public OpenAIClient openAIClient() {
return new OpenAIClient(this.apiKey);
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com.ontimize.boot.export.OExportAutoConfigure,\
com.ontimize.boot.export.excel.ExcelExportAutoConfigure,\
com.ontimize.boot.remoteconfiguration.RemoteConfigurationAutoConfigure
com.ontimize.boot.remoteconfiguration.RemoteConfigurationAutoConfigure,\
com.ontimize.boot.openai.OpenAIClientAutoConfigure
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot</artifactId>
<version>3.16.0</version>
<version>3.17.0</version>
<packaging>pom</packaging>

<organization>
Expand Down Expand Up @@ -101,8 +101,8 @@
<properties>
<project.dependency.spring.boot.version>2.5.0</project.dependency.spring.boot.version>
<project.dependency.spring.security.version>5.5.1</project.dependency.spring.security.version>
<project.dependency.ontimize.boot.version>3.16.0</project.dependency.ontimize.boot.version>
<project.dependency.ontimize-jee.version>5.13.0</project.dependency.ontimize-jee.version>
<project.dependency.ontimize.boot.version>3.17.0</project.dependency.ontimize.boot.version>
<project.dependency.ontimize-jee.version>5.14.0</project.dependency.ontimize-jee.version>
<project.dependency.ontimize-jee-dms.version>3.2.0</project.dependency.ontimize-jee-dms.version>
<project.dependency.keycloak.version>15.0.2</project.dependency.keycloak.version>
<project.dependency.ontimize-jee-report.version>3.6.0</project.dependency.ontimize-jee-report.version>
Expand Down
Loading