Skip to content

Commit

Permalink
Merge pull request WeBankFinTech#15 from howeye/master
Browse files Browse the repository at this point in the history
Update QualitisNodeExecution.java to fix bug
  • Loading branch information
wushengyeyouya authored Dec 6, 2019
2 parents a2cb6db + 3f2b2e7 commit 9939cdf
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ public class QualitisNodeExecution extends LongTermNodeExecution {

private String baseUrl;

public boolean canExecute(Node node, NodeContext nodeContext) {
return true;
}

@Override
public void init(Map<String, Object> map) throws AppJointErrorException {
appId = (String) map.get("qualitis_appId");
Expand All @@ -58,7 +54,7 @@ public void init(Map<String, Object> map) throws AppJointErrorException {

@Override
public boolean canExecute(AppJointNode appJointNode, NodeContext context, Session session) {
return false;
return appJointNode.getNodeType().toLowerCase().contains("qualitis");
}

@Override
Expand Down Expand Up @@ -321,4 +317,4 @@ public String getBaseUrl() {
public void setBaseUrl(String s) {
this.baseUrl = s;
}
}
}

0 comments on commit 9939cdf

Please sign in to comment.