-
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
Feat operation param #23
base: master
Are you sure you want to change the base?
Conversation
Closes #22 The name of the operation must be specified in one the following ways: 1) .to("graph://get?...) 2) .to("graph://?operation=get") The parameter is case insensitive
@@ -44,8 +44,21 @@ protected void doStart() throws Exception { | |||
} else { | |||
operationConfig = new GraphBean(); | |||
} | |||
|
|||
// todo name of operation can either come from endpoint.getName() or endpoint.getOperationName() |
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.
@AuPath could you explain further the TODO?
String operation; | ||
if (endpoint.getName().equals("") && endpoint.getOperation() != null) | ||
operation = endpoint.getOperation(); | ||
else if (endpoint.getName() != null && endpoint.getOperation() == null) |
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.
Check w.r.t. the same condition for inputFormat parameter in mapt component. What should be done if both are provided?
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.
Check if the behaviour for the two parameters should be harmonised
The name of the operation can now be specified in one the following ways:
.to("graph://get?...)
.to("graph://?operation=get")
The parameter value is case insensitiveCloses #22