You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2019/02/18 22:20:20 UTC

[GitHub] arpadboda commented on a change in pull request #487: POC: MINIFICPP-738 - EL should be able to access global properties

arpadboda commented on a change in pull request #487: POC: MINIFICPP-738 - EL should be able to access global properties
URL: https://github.com/apache/nifi-minifi-cpp/pull/487#discussion_r257840219
 
 

 ##########
 File path: libminifi/test/expression-language-tests/ExpressionLanguageTests.cpp
 ##########
 @@ -203,6 +209,12 @@ TEST_CASE("GetFile PutFile dynamic attribute", "[expressionLanguageTestGetFilePu
       get_file,
       processors::GetFile::KeepSourceFile.getName(),
       "false");
+  auto update = plan->addProcessor(
+      "UpdateAttribute",
+      "UpdateAttribute",
+      core::Relationship("success", "description"),
+      true);
+  update->setDynamicProperty("prop_attr", "${'nifi.my.own.property'}_added");
 
 Review comment:
   @jdye64 is this what you need?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services