Skip to content

Commit

Permalink
fix: problem pattern seq
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas GRUSON committed Jul 15, 2021
1 parent 25e5abd commit 8f04a59
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/candidate/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: ara
version: 9.1.0-rc.1
version: 9.1.1-rc.1
home: https://github.com/Decathlon/ara
description: |
ARA helps you to fight against regressions by letting it preanalyze your non-regression tests runs,
Expand Down
4 changes: 2 additions & 2 deletions charts/candidate/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ api:
image:
registry: docker.io
repository: decathlon/ara-api
tag: 9.0.8
tag: 9.0.9
imagePullPolicy: IfNotPresent
replicas: 1
annotations: {}
Expand Down Expand Up @@ -44,7 +44,7 @@ ui:
image:
registry: docker.io
repository: decathlon/ara-web-ui
tag: 8.6.2
tag: 8.7.0
imagePullPolicy: IfNotPresent
replicas: 1
annotations: {}
Expand Down
2 changes: 1 addition & 1 deletion code/api/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<groupId>com.decathlon.ara</groupId>
<artifactId>ara-api</artifactId>
<version>9.0.8</version>
<version>9.0.9</version>

<name>ARA API</name>
<description>
Expand Down
2 changes: 1 addition & 1 deletion code/api/database/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<groupId>com.decathlon.ara</groupId>
<artifactId>ara-database</artifactId>
<version>9.0.8</version>
<version>9.0.9</version>

<name>ARA Database</name>
<description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public class ProblemPattern {

@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "problem_pattern_id")
@SequenceGenerator(name = "problem_pattern_id", sequenceName = "problem_pattern_id", allocationSize = 1)
private Long id;

// 1/2 for @EqualsAndHashCode to work: used when an entity is fetched by JPA
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
databaseChangeLog:
- changeSet:
id: 1626357607294-1
author: '? (generated)'
changes:
- alterSequence:
incrementBy: 1
sequenceName: problem_pattern_id
- sql:
sql: select setval('problem_pattern_id', (select max(id)+1 from problem_pattern), false)

Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ databaseChangeLog:
file: classpath*:db/changelog/changes/postgresql/20210608163625-create_index.yaml
- include:
file: classpath*:db/changelog/changes/postgresql/20210618085646-change_id.yaml
- include:
file: classpath*:db/changelog/changes/postgresql/20210715155609-fix-pattern-seq.yaml
2 changes: 1 addition & 1 deletion code/api/generated-cucumber-report/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<groupId>com.decathlon.ara</groupId>
<artifactId>ara-generated-cucumber-report</artifactId>
<version>9.0.8</version>
<version>9.0.9</version>

<name>ARA Cucumber</name>
<description>
Expand Down
4 changes: 2 additions & 2 deletions code/api/jacoco-aggregation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<parent>
<artifactId>ara-parent</artifactId>
<groupId>com.decathlon.ara</groupId>
<version>9.0.8</version>
<version>9.0.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>com.decathlon.ara</groupId>
<artifactId>jacoco-aggregation</artifactId>
<packaging>pom</packaging>
<version>9.0.8</version>
<version>9.0.9</version>

<name>Jacoco Report Aggregation</name>

Expand Down
2 changes: 1 addition & 1 deletion code/api/lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<groupId>com.decathlon.ara</groupId>
<artifactId>ara-lib</artifactId>
<version>9.0.8</version>
<version>9.0.9</version>

<properties>
<java.version>16</java.version>
Expand Down
2 changes: 1 addition & 1 deletion code/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<groupId>com.decathlon.ara</groupId>
<artifactId>ara-parent</artifactId>
<packaging>pom</packaging>
<version>9.0.8</version>
<version>9.0.9</version>

<name>ARA Parent</name>
<description>
Expand Down

0 comments on commit 8f04a59

Please sign in to comment.