-
Notifications
You must be signed in to change notification settings - Fork 9
add disabled field to services and service links #494
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
Conversation
@@ -73,6 +86,7 @@ public String toString() { | |||
", name='" + name + '\'' + | |||
", roles=" + roles + | |||
", linkIdRegex=" + linkIdRegex + | |||
", disabled=" + disabled + |
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.
didn't we decide to use lombok at some point?
ServiceLink l3 = addServiceLink(content, "ghi789", 1, 123, "Test Service 1", Set.of(Role.MAPPER, Role.SHARER)); | ||
ServiceLink l4 = addServiceLink(content, "jkl1011", 3, 124, "test2", null); | ||
ServiceLink l1 = addServiceLink(content, "abc123", 1, 123, "Test Service 1", Set.of(), false); | ||
ServiceLink l2 = addServiceLink(content, "abc123", 2, 123, "test1", Set.of(Role.MAPPER), true); |
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.
we are introducing a mix of enabled/disabled in the test but what tests or assertions are we doing with these?
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.
containsAll will use .equals()
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.
Just curious, will there be tests be that assert that disabling a service link or service actually does disable it? Where would these go?
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.
Operator, as this is where we will check if it's disabled
No description provided.