Skip to content

Commit 9ac701d

Browse files
Merge pull request #168 from qbicsoftware/release/0.12.0
Release 0.12.0
2 parents 0e3db89 + 7fbb85e commit 9ac701d

File tree

53 files changed

+1699
-178
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1699
-178
lines changed

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ logs
1919
*/webapp/frontend/index.html
2020
*/package.json
2121
*/tsconfig.json
22-
*/types.d.ts
2322
*/webpack.config.js
2423
*/webpack.generated.js
2524

@@ -31,3 +30,11 @@ error-screenshots/
3130
*/webapp/frontend/generated/theme.d.ts
3231
*/package-lock.json
3332
/logs/
33+
34+
# Ignore Vite generated files created since vaadin 23.2
35+
/frontend/index.html
36+
/frontend/generated/index.ts
37+
/vaadinfrontend/types.d.ts
38+
/frontend/generated/vaadin.ts
39+
/frontend/generated/vaadin-featureflags.ts
40+
/vaadinfrontend/vite.config.ts

README.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,16 +132,31 @@ default configuration.
132132
service.host.name=${DM_SERVICE_HOST:localhost}
133133
service.host.protocol=${DM_HOST_PROTOCOL:https}
134134
service.host.port=${DM_SERVICE_PORT:-1}
135-
136135
# route for mail confirmation consumption
137136
email-confirmation-endpoint=${EMAIL_CONFIRMATION_ENDPOINT:login}
138137
email-confirmation-parameter=${EMAIL_CONFIRMATION_PARAMETER:confirm-email}
139-
140138
# route for password reset
141139
password-reset-endpoint=${PASSWORD_RESET_ENDPOINT:new-password}
142140
password-reset-parameter=${PASSWORD_RESET_PARAMETER:user-id}
143141
```
144142

143+
Since the application will retrieve experimental design values from a list of defined vocabularies
144+
a connection to the datasource containing this information is necessary:
145+
146+
| environment variable | description |
147+
|------------------------------|------------------------------------------|
148+
| `OPENBIS_DATASOURCE_URL` | The vocabulary database host API address |
149+
| `OPENBIS_USER_NAME` | The vocabulary database user name |
150+
| `OPENBIS_USER_PASSWORD` | The vocabulary database password |
151+
152+
The application properties file could look like the following:
153+
154+
```properties
155+
openbis.user.name=${OPENBIS_USER_NAME:openbis-username}
156+
openbis.user.password=${OPENBIS_USER_PASSWORD:openbis-password}
157+
openbis.datasource.url=${OPENBIS_DATASOURCE_URL:openbis-url}
158+
```
159+
145160
#### Properties
146161

147162
The environment variables can either be set in the runtime configuration of your IDE or directly in
@@ -162,26 +177,26 @@ spring.datasource.driver-class-name=${USER_DB_DRIVER:com.mysql.cj.jdbc.Driver}
162177
spring.datasource.username=${USER_DB_USER_NAME:myusername}
163178
spring.datasource.password=${USER_DB_USER_PW:astrongpassphrase!}
164179
spring.jpa.hibernate.ddl-auto=update
165-
166180
# mail configuration
167181
spring.mail.username=${MAIL_USERNAME}
168182
spring.mail.password=${MAIL_PASSWORD}
169183
spring.mail.host=${MAIL_HOST:smtp.gmail.com}
170184
spring.mail.default-encoding=UTF-8
171185
spring.mail.port=${MAIL_PORT:587}
172-
173186
# global service route configuration for mail interaction requests
174187
service.host.name=${DM_SERVICE_HOST:localhost}
175188
service.host.protocol=${DM_HOST_PROTOCOL:https}
176189
service.host.port=${DM_SERVICE_PORT:-1}
177-
178190
# route for mail confirmation consumption
179191
email-confirmation-endpoint=${EMAIL_CONFIRMATION_ENDPOINT:login}
180192
email-confirmation-parameter=${EMAIL_CONFIRMATION_PARAMETER:confirm-email}
181-
182193
# route for password reset
183194
password-reset-endpoint=${PASSWORD_RESET_ENDPOINT:new-password}
184195
password-reset-parameter=${PASSWORD_RESET_PARAMETER:user-id}
196+
# openbis-client credentials
197+
openbis.user.name=${OPENBIS_USER_NAME:openbis-username}
198+
openbis.user.password=${OPENBIS_USER_PASSWORD:openbis-password}
199+
openbis.datasource.url=${OPENBIS_DATASOURCE_URL:openbis-url}
185200

186201
```
187202

mariadb-connector/pom.xml renamed to database-connector/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

12-
<artifactId>mariadb-connector</artifactId>
12+
<artifactId>database-connector</artifactId>
1313
<dependencyManagement>
1414
<dependencies>
1515
<dependency>
@@ -26,6 +26,11 @@
2626
<version>0.11.1</version>
2727
<scope>compile</scope>
2828
</dependency>
29+
<dependency>
30+
<groupId>life.qbic</groupId>
31+
<artifactId>openbis-client-lib</artifactId>
32+
<version>1.5.0</version>
33+
</dependency>
2934
<dependency>
3035
<groupId>org.springframework.boot</groupId>
3136
<artifactId>spring-boot-starter-data-jpa</artifactId>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class ProjectPreviewJpaRepository implements ProjectPreviewLookup {
2323

2424
private final ProjectPreviewRepository projectPreviewRepository;
2525

26-
public ProjectPreviewJpaRepository(@Autowired ProjectPreviewRepository projectPreviewRepository) {
26+
public ProjectPreviewJpaRepository(ProjectPreviewRepository projectPreviewRepository) {
2727
Objects.requireNonNull(projectPreviewRepository);
2828
this.projectPreviewRepository = projectPreviewRepository;
2929
}

0 commit comments

Comments
 (0)