Skip to content

Commit

Permalink
feat: MVP finished
Browse files Browse the repository at this point in the history
  • Loading branch information
shiido committed Dec 26, 2021
1 parent 23242ed commit 63fa853
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<dependency>
<groupId>com.ai.st.microservice.common</groupId>
<artifactId>st-common</artifactId>
<version>1.0.0</version>
<version>1.1.2</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private void verifyAllFilesAreSuccessful(List<File> files) {
private void sendFilesToQueue(DeliveryId deliveryId, List<File> files) {

Delivery delivery = deliveryRepository.search(deliveryId);
String schemaName = "test_" + delivery.locality().code().value();
String schemaName = String.format("sinic_%s_%s", delivery.code().value(), delivery.locality().code().value());

databaseManager.createSchema(schemaName);
int index = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void handle(FileAdderCommand command) {
UserCode userCode = UserCode.fromValue(command.userCode());
FileObservations observations = FileObservations.fromValue(command.observations());

FileVersion version = new FileVersion("1.0");
FileVersion version = new FileVersion("0.1");
FileUUID uuid = new FileUUID(UUID.randomUUID().toString());

verifyPermissions(deliveryId, managerCode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
@Service
public final class HTTPILIMicroservice implements ILIMicroservice {

private static final String MODEL_VERSION = "1.1";
private static final Long CONCEPT_ID = (long) 3;
private static final String MODEL_VERSION = "0.1";
private static final Long CONCEPT_ID = (long) 4;
private static final String QUEUE_UPDATE_STATE_XTF_SINIC_FILES = "QUEUE_UPDATE_STATE_XTF_SINIC_FILES";

private final IliFeignClient iliFeignClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public final class RabbitMQService implements MessageBroker {
@Value("${sinic.database.database}")
private String databaseName;

private static final String MODEL_VERSION = "1.0";
private static final String MODEL_VERSION = "0.1";
private static final Long CONCEPT_ID = (long) 4;

@Override
Expand Down

0 comments on commit 63fa853

Please sign in to comment.