[ 
https://issues.apache.org/jira/browse/RYA-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16364633#comment-16364633
 ] 

ASF GitHub Bot commented on RYA-443:
------------------------------------

Github user kchilton2 commented on a diff in the pull request:

    https://github.com/apache/incubator-rya/pull/272#discussion_r168278465
  
    --- Diff: 
extras/rya.streams/client/src/main/java/org/apache/rya/streams/client/command/ListQueriesCommand.java
 ---
    @@ -107,12 +112,11 @@ private String formatQueries(final Set<StreamsQuery> 
queries) {
             sb.append("Queries in Rya Streams:\n");
             
sb.append("---------------------------------------------------------\n");
             queries.forEach(query -> {
    -            sb.append("ID: ");
    -            sb.append(query.getQueryId());
    -            sb.append("\t\t");
    -            sb.append("Query: ");
    -            sb.append(query.getSparql());
    -            sb.append("\n");
    +            sb.append("ID: ").append(query.getQueryId())
    +                .append("    ")
    +                .append("Is Active: ").append(query.isActive())
    +                .append( query.isActive() ? "     " : "    " )
    +                .append("Query: ").append(query.getSparql()).append("\n");
    --- End diff --
    
    Should b e sanitized before it gets here.


> Implement a single node query manager
> -------------------------------------
>
>                 Key: RYA-443
>                 URL: https://issues.apache.org/jira/browse/RYA-443
>             Project: Rya
>          Issue Type: Task
>            Reporter: Andrew Smith
>            Assignee: Kevin Chilton
>            Priority: Major
>
> We need an application that watches the QueryChangeLog to see when the 
> isActive state of queries changes and then reacts to the state change. If 
> isActive goes to true, the system must start processing the query. If it is 
> false, then it must stop processing the query. This application needs to 
> start when the host machine starts. We plan to support CentOS 7.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to