Skip to content

Commit 9106183

Browse files
authored
Merge branch 'main' into d070615-modify-hierarchy
2 parents 01ff79f + 8e02df0 commit 9106183

File tree

6 files changed

+15
-23
lines changed

6 files changed

+15
-23
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
gen/
22
edmx/
3-
schema.sql
4-
schema-nomocks.sql
3+
schema-h2.sql
54
default-env.json
65
openapi.json
76
.env

app/_i18n/i18n.properties

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,3 @@ AddReview = Add Review
6969
Notes = Notes
7070
Note = Note
7171
ISBN = ISBN
72-
73-
attachment_content = Content
74-
attachment_mimeType = MIME Type
75-
attachment_fileName = File Name
76-
attachment_status = Status
77-
attachment_note = Note
78-
attachment = Cover
79-
attachments = Covers

app/_i18n/i18n_de.properties

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,3 @@ AddReview = Rezension hinzufügen
6969
Notes = Notizen
7070
Note = Notiz
7171
ISBN = ISBN
72-
73-
attachment_content = Inhalt
74-
attachment_mimeType = MIME-Typ
75-
attachment_fileName = Dateiname
76-
attachment_status = Status
77-
attachment_note = Notiz
78-
attachment = Buchcover
79-
attachments = Buchcovers

pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<cloud.sdk.version>5.15.0</cloud.sdk.version>
2828
<xsuaa.version>3.5.7</xsuaa.version>
2929
<cf-java-logging-support.version>3.8.4</cf-java-logging-support.version>
30-
<cds-feature-attachments.version>1.0.5</cds-feature-attachments.version>
30+
<cds-feature-attachments.version>1.0.6</cds-feature-attachments.version>
3131
</properties>
3232

3333
<modules>
@@ -67,6 +67,17 @@
6767
</dependencyManagement>
6868

6969
<build>
70+
<pluginManagement>
71+
<plugins>
72+
<!-- MAKE CDS PLUGIN RUNNABLE FROM ROOT -->
73+
<plugin>
74+
<groupId>com.sap.cds</groupId>
75+
<artifactId>cds-maven-plugin</artifactId>
76+
<version>${cds.services.version}</version>
77+
</plugin>
78+
</plugins>
79+
</pluginManagement>
80+
7081
<plugins>
7182
<!-- JAVA VERSION -->
7283
<plugin>

srv/pom.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@
179179
<plugin>
180180
<groupId>com.sap.cds</groupId>
181181
<artifactId>cds-maven-plugin</artifactId>
182-
<version>${cds.services.version}</version>
183182
<executions>
184183
<execution>
185184
<id>cds.clean</id>
@@ -220,8 +219,7 @@
220219
<configuration>
221220
<commands>
222221
<command>build --for java</command>
223-
<command>deploy --to h2 --with-mocks --dry --out "${project.basedir}/src/main/resources/schema.sql"</command>
224-
<command>deploy --to h2 --dry --out "${project.basedir}/src/main/resources/schema-nomocks.sql"</command>
222+
<command>deploy --to h2 --with-mocks --dry --out "${project.basedir}/src/main/resources/schema-h2.sql"</command>
225223
<command>compile srv/cat-service.cds -2 openapi --openapi:url /api/browse &gt;
226224
"${project.basedir}/src/main/resources/swagger/openapi.json"</command>
227225
</commands>

srv/src/main/resources/application.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ management:
4444
---
4545
spring:
4646
config.activate.on-profile: cloud
47-
sql.init.schema-locations: "classpath:schema-nomocks.sql"
4847
cds:
4948
sql.hana.search:
5049
fuzzy: true
@@ -128,6 +127,7 @@ cds:
128127
---
129128
spring:
130129
config.activate.on-profile: default
130+
sql.init.platform: h2
131131
cds:
132132
data-source:
133133
auto-config.enabled: false

0 commit comments

Comments
 (0)