Github user pvillard31 commented on the issue:

    https://github.com/apache/nifi/pull/1937
  
    No worries @ggthename, I still see some issues regarding Keyspace property 
not evaluated with expression language:
    
    ````
    Running org.apache.nifi.processors.cassandra.PutCassandraQLTest
    Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.189 sec - 
in org.apache.nifi.processors.cassandra.PutCassandraQLTest
    
    Results :
    
    Failed tests: 
      QueryCassandraTest.testProcessorELConfigJsonOutput:173 
java.lang.IllegalStateException: Attempting to retrieve value of 
PropertyDescriptor[Keyspace] without first evaluating Expressions, even though 
the PropertyDescriptor indicates that the Expression Language is Supported. If 
you realize that this is the case and do not want this error to occur, it can 
be disabled by calling TestRunner.setValidateExpressionUsage(false)
      QueryCassandraTest.testProcessorEmptyFlowFileAndExceptions:212 
java.lang.IllegalStateException: Attempting to retrieve value of 
PropertyDescriptor[Keyspace] without first evaluating Expressions, even though 
the PropertyDescriptor indicates that the Expression Language is Supported. If 
you realize that this is the case and do not want this error to occur, it can 
be disabled by calling TestRunner.setValidateExpressionUsage(false)
      QueryCassandraTest.testProcessorJsonOutput:136 
java.lang.IllegalStateException: Attempting to retrieve value of 
PropertyDescriptor[Keyspace] without first evaluating Expressions, even though 
the PropertyDescriptor indicates that the Expression Language is Supported. If 
you realize that this is the case and do not want this error to occur, it can 
be disabled by calling TestRunner.setValidateExpressionUsage(false)
      QueryCassandraTest.testProcessorJsonOutputWithQueryTimeout:197 
java.lang.IllegalStateException: Attempting to retrieve value of 
PropertyDescriptor[Keyspace] without first evaluating Expressions, even though 
the PropertyDescriptor indicates that the Expression Language is Supported. If 
you realize that this is the case and do not want this error to occur, it can 
be disabled by calling TestRunner.setValidateExpressionUsage(false)
      QueryCassandraTest.testProcessorNoInputFlowFileAndExceptions:97 
java.lang.IllegalStateException: Attempting to retrieve value of 
PropertyDescriptor[Keyspace] without first evaluating Expressions, even though 
the PropertyDescriptor indicates that the Expression Language is Supported. If 
you realize that this is the case and do not want this error to occur, it can 
be disabled by calling TestRunner.setValidateExpressionUsage(false)
    ````


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to