Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xta-client-lib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
lib
xta-client-lib
Commits
a845f560
"README.md" did not exist on "c2899694938bc77d89630e627b7089d96d45048c"
Commit
a845f560
authored
9 months ago
by
Jan Zickermann
Browse files
Options
Downloads
Patches
Plain Diff
OZG-6240 XTAClient: Remove not required close method
parent
10fc5c11
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/de/ozgcloud/xta/client/XtaClient.java
+0
-4
0 additions, 4 deletions
src/main/java/de/ozgcloud/xta/client/XtaClient.java
src/test/java/de/ozgcloud/xta/client/XtaClientTest.java
+0
-16
0 additions, 16 deletions
src/test/java/de/ozgcloud/xta/client/XtaClientTest.java
with
0 additions
and
20 deletions
src/main/java/de/ozgcloud/xta/client/XtaClient.java
+
0
−
4
View file @
a845f560
...
...
@@ -74,10 +74,6 @@ public class XtaClient {
.
build
();
}
public
void
close
(
@NotBlank
String
clientIdentifier
,
@NotBlank
String
messageId
)
throws
XTAWSTechnicalProblemException
,
PermissionDeniedException
,
InvalidMessageIDException
{
service
.
close
(
messageId
,
deriveIdentifier
(
clientIdentifier
));
}
XtaIdentifier
deriveIdentifier
(
String
xtaIdentifier
)
{
return
config
.
getClientIdentifiers
().
stream
()
...
...
This diff is collapsed.
Click to expand it.
src/test/java/de/ozgcloud/xta/client/XtaClientTest.java
+
0
−
16
View file @
a845f560
...
...
@@ -168,20 +168,4 @@ class XtaClientTest {
}
}
@DisplayName
(
"close"
)
@Nested
class
TestClose
{
@DisplayName
(
"should call close"
)
@Test
@SneakyThrows
void
shouldCallClose
()
{
doReturn
(
SELF_IDENTIFIER
).
when
(
client
).
deriveIdentifier
(
SELF_IDENTIFIER_VALUE
);
client
.
close
(
SELF_IDENTIFIER_VALUE
,
MESSAGE_ID
);
verify
(
service
).
close
(
MESSAGE_ID
,
SELF_IDENTIFIER
);
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment