-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/pmd integrations #208
Conversation
# Conflicts: # refarch-integrations/refarch-s3-integration/refarch-s3-integration-core/src/test/java/de/muenchen/refarch/integration/s3/application/usecase/FileOperationsPresignedUrlUseCaseTest.java # refarch-integrations/refarch-s3-integration/refarch-s3-integration-rest/refarch-s3-integration-rest-client/src/test/java/de/muenchen/refarch/integration/s3/client/repository/presignedurl/PresignedUrlRestRepositoryTest.java # shared-files/pmd-ruleset.xml
|
||
val procedureResponse = fabasoftAdapter.createFile(file, "user"); | ||
final String procedureResponse = fabasoftAdapter.createFile(file, USER); |
Check notice
Code scanning / CodeQL
Unread local variable
|
||
val procedureResponse = fabasoftAdapter.createProcedure(procedure, "user"); | ||
final Procedure procedureResponse = fabasoftAdapter.createProcedure(procedure, USER); |
Check notice
Code scanning / CodeQL
Unread local variable
final String documentResponse = fabasoftAdapter | ||
.createDocument(new Document("procedureCOO", "title", LocalDate.parse("2023-12-31"), DocumentType.EINGEHEND, List.of(content)), USER); |
Check notice
Code scanning / CodeQL
Unread local variable
final String documentResponse = fabasoftAdapter | ||
.createDocument(new Document("procedureCOO", "title", LocalDate.parse("2023-12-31"), DocumentType.AUSGEHEND, List.of(content)), USER); |
Check notice
Code scanning / CodeQL
Unread local variable
final String documentResponse = fabasoftAdapter | ||
.createDocument(new Document("procedureCOO", "title", LocalDate.parse("2023-12-31"), DocumentType.INTERN, List.of(content)), USER); |
Check notice
Code scanning / CodeQL
Unread local variable
|
||
val expectedFile = new Content("extension", "filename", "content".getBytes()); | ||
final Content expectedFile = new Content(EXTENSION, "filename", CONTENT); |
Check notice
Code scanning / CodeQL
Unread local variable
@@ -314,22 +323,22 @@ | |||
SearchObjNameGI.class, (u) -> u.getObjclass().equals(DMSObjectClass.Aktenplaneintrag.getName()), | |||
response); | |||
|
|||
val files = fabasoftAdapter.searchSubjectArea("searchString", "user"); | |||
final List<String> files = fabasoftAdapter.searchSubjectArea("searchString", USER); |
Check notice
Code scanning / CodeQL
Unread local variable
@@ -338,45 +347,48 @@ | |||
SearchObjNameGI.class, (u) -> u.getObjclass().equals(dmsObjectClass.getName()) && validateBusinessData(u), | |||
response); | |||
|
|||
val files = fabasoftAdapter.searchFile(searchString, user, reference, value); | |||
final List<String> files = fabasoftAdapter.searchFile(searchString, user, reference, value); |
Check notice
Code scanning / CodeQL
Unread local variable
|
||
WiremockWsdlUtility.stubOperation( | ||
"ReadMetadataObjectGI", | ||
ReadMetadataObjectGI.class, (u) -> true, | ||
response); | ||
|
||
val metadata = fabasoftAdapter.readMetadata("coo", "user"); | ||
final Metadata metadata = fabasoftAdapter.readMetadata("coo", USER); |
Check notice
Code scanning / CodeQL
Unread local variable
@@ -385,9 +397,9 @@ | |||
ReadContentObjectMetaDataGI.class, (u) -> true, | |||
response); | |||
|
|||
val metadata = fabasoftAdapter.readContentMetadata("coo", "user"); | |||
final Metadata metadata = fabasoftAdapter.readContentMetadata("coo", USER); |
Check notice
Code scanning / CodeQL
Unread local variable
Waiting for #248 |
The lint warnings should disappear after merge, as the new autobuild mode fixes them. |
.../src/main/java/de/muenchen/refarch/integration/dms/adapter/out/fabasoft/FabasoftAdapter.java
Show resolved
Hide resolved
...gration-core/src/main/java/de/muenchen/refarch/integration/dms/adapter/out/s3/S3Adapter.java
Outdated
Show resolved
Hide resolved
...rc/main/java/de/muenchen/refarch/integration/dms/application/port/in/CancelObjectInPort.java
Outdated
Show resolved
Hide resolved
...on-core/src/main/java/de/muenchen/refarch/integration/dms/domain/exception/DmsException.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/de/muenchen/refarch/integration/s3/configuration/nfcconverter/NfcHelper.java
Show resolved
Hide resolved
.../src/main/java/de/muenchen/refarch/integration/s3/configuration/nfcconverter/NfcRequest.java
Show resolved
Hide resolved
...enchen/refarch/integration/s3/application/usecase/FileOperationsPresignedUrlUseCaseTest.java
Outdated
Show resolved
Hide resolved
...enchen/refarch/integration/s3/application/usecase/FileOperationsPresignedUrlUseCaseTest.java
Show resolved
Hide resolved
...in/java/de/muenchen/refarch/integration/s3/configuration/S3IntegrationAutoConfiguration.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Setup pmd for integrations and fix warnings.
Reference
Issues closes #57