-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
1,647 additions
and
872 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 0 additions & 30 deletions
30
...logreposit/ta/cmireaderservice/communication/http/common/ResponseErrorHandlerFactory.java
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
.../logreposit/ta/cmireaderservice/communication/http/logrepositapi/LogrepositApiClient.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...it/ta/cmireaderservice/communication/http/logrepositapi/LogrepositApiClientException.java
This file was deleted.
Oops, something went wrong.
147 changes: 0 additions & 147 deletions
147
...reposit/ta/cmireaderservice/communication/http/logrepositapi/LogrepositApiClientImpl.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...reposit/ta/cmireaderservice/communication/http/logrepositapi/dtos/request/DeviceType.java
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
.../cmireaderservice/communication/http/logrepositapi/dtos/request/LogIngressRequestDto.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
src/main/java/com/logreposit/ta/cmireaderservice/configuration/ApplicationConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/main/java/com/logreposit/ta/cmireaderservice/configuration/RetryConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.logreposit.ta.cmireaderservice.configuration; | ||
|
||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.retry.annotation.EnableRetry; | ||
|
||
@Configuration | ||
@EnableRetry | ||
public class RetryConfiguration {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/main/java/com/logreposit/ta/cmireaderservice/dtos/cmi/io/CmiApiNetworkAnalog.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.logreposit.ta.cmireaderservice.dtos.cmi.io; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class CmiApiNetworkAnalog extends CmiApiIO | ||
{ | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/com/logreposit/ta/cmireaderservice/dtos/cmi/io/CmiApiNetworkDigital.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.logreposit.ta.cmireaderservice.dtos.cmi.io; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class CmiApiNetworkDigital extends CmiApiIO | ||
{ | ||
} |
2 changes: 1 addition & 1 deletion
2
...os/logreposit/tacmi/enums/DeviceType.java → ...readerservice/dtos/common/DeviceType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/main/java/com/logreposit/ta/cmireaderservice/dtos/common/RasState.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.logreposit.ta.cmireaderservice.dtos.common; | ||
|
||
import java.util.Arrays; | ||
|
||
public enum RasState | ||
{ | ||
TIME_AUTO("0"), | ||
STANDARD("1"), | ||
SETBACK("2"), | ||
STANDBY_FROST_PROTECTION("3"), | ||
UNKNOWN("UNKNOWN"); | ||
|
||
private final String taValue; | ||
|
||
RasState(String taValue) { | ||
this.taValue = taValue; | ||
} | ||
|
||
public static RasState of(String taValue) { | ||
return Arrays.stream(RasState.values()).filter(s -> s.taValue.equals(taValue)).findFirst().orElse(UNKNOWN); | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
src/main/java/com/logreposit/ta/cmireaderservice/dtos/common/SignalType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.logreposit.ta.cmireaderservice.dtos.common; | ||
|
||
import java.util.Arrays; | ||
|
||
public enum SignalType | ||
{ | ||
ANALOG("A"), | ||
DIGITAL("D"), | ||
UNKNOWN("UNKNOWN"); | ||
|
||
private final String taValue; | ||
|
||
SignalType(String taValue) { | ||
this.taValue = taValue; | ||
} | ||
|
||
public static SignalType of(String taValue) { | ||
return Arrays.stream(SignalType.values()).filter(s -> s.taValue.equals(taValue)).findFirst().orElse(UNKNOWN); | ||
} | ||
} |
Oops, something went wrong.