Skip to content

Commit

Permalink
Merge pull request #14 from abes-esr/develop
Browse files Browse the repository at this point in the history
Merge develop dans main
  • Loading branch information
jvk88511334 authored Mar 27, 2024
2 parents 5a216a0 + 959efce commit eba975b
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion batch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>itembackoffice</artifactId>
<groupId>fr.abes.item</groupId>
<version>2.4.3</version>
<version>2.4.4-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
1 change: 1 addition & 0 deletions batch/src/main/resources/application-dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ sudoc.serveur=
sudoc.port=
#login permettant de tester si le CBS répond
sudoc.login=
sudoc.poll=

batch.min.hour=8
batch.max.hour=20
Expand Down
1 change: 1 addition & 0 deletions batch/src/main/resources/application-prod.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ sudoc.serveur=
sudoc.port=
#login permettant de tester si le CBS répond
sudoc.login=
sudoc.poll=

batch.min.hour=8
batch.max.hour=20
Expand Down
1 change: 1 addition & 0 deletions batch/src/main/resources/application-test.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ sudoc.serveur=
sudoc.port=
#login permettant de tester si le CBS répond
sudoc.login=
sudoc.poll=

batch.min.hour=8
batch.max.hour=20
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>itembackoffice</artifactId>
<groupId>fr.abes.item</groupId>
<version>2.4.3</version>
<version>2.4.4-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
@Service
public class TraitementService implements ITraitementService {

@Value("${sudoc.poll}")
private Integer poll;

@Value("${sudoc.serveur}")
private String serveurSudoc;

Expand All @@ -42,7 +45,7 @@ public class TraitementService implements ITraitementService {
private DaoProvider dao;

public TraitementService() {
cbs = new ProcessCBS();
cbs = new ProcessCBS(poll);
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>fr.abes.item</groupId>
<artifactId>itembackoffice</artifactId>
<version>2.4.3</version>
<version>2.4.4-SNAPSHOT</version>
<modules>
<module>core</module>
<module>web</module>
Expand Down
2 changes: 1 addition & 1 deletion web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>itembackoffice</artifactId>
<groupId>fr.abes.item</groupId>
<version>2.4.3</version>
<version>2.4.4-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
1 change: 1 addition & 0 deletions web/src/main/resources/application-dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ sudoc.serveur=
sudoc.port=
#login permettant de tester si le CBS répond
sudoc.login=
sudoc.poll=

# Configuration des logs
logging.config=classpath:log4j2-dev.xml
Expand Down
1 change: 1 addition & 0 deletions web/src/main/resources/application-prod.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ sudoc.serveur=
sudoc.port=
#login permettant de tester si le CBS répond
sudoc.login=
sudoc.poll=

# Configuration des logs
logging.config=classpath:log4j2-prod.xml
Expand Down
1 change: 1 addition & 0 deletions web/src/main/resources/application-test.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ sudoc.serveur=
sudoc.port=
#login permettant de tester si le CBS répond
sudoc.login=
sudoc.poll=

# Configuration des logs
logging.config=classpath:log4j2-tests.xml
Expand Down

0 comments on commit eba975b

Please sign in to comment.