You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Alec Wenzowski (JIRA)" <ji...@apache.org> on 2016/11/30 00:51:59 UTC

[jira] [Created] (NIFI-3125) Cannot access custom properties from expression language

Alec Wenzowski created NIFI-3125:
------------------------------------

             Summary: Cannot access custom properties from expression language
                 Key: NIFI-3125
                 URL: https://issues.apache.org/jira/browse/NIFI-3125
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.1.0
         Environment: $ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.12.1
BuildVersion:	16B2555
            Reporter: Alec Wenzowski


Given a `nifi.properties` configured with the following
```
nifi.variable.registry.properties=./conf/service.properties
```

And a `service.properties` with
```
nifi.service.api_key=pony_foo
```

Upon booting nifi and inspecting `logs/nifi-app.log` I see
```
745:2016-11-29 19:12:47,020 INFO [main] o.a.nifi.util.FileBasedVariableRegistry Loaded 1 properties from './conf/service.properties'
```

Yet when I configure a `GetHTTP` processor with its Username property set to the Value `${nifi.service.api_key}` it issues HTTP requests without authentication–the configured HTTP Basic Authentication username of `pony_foo` is not used–and behaves as if the `{$nifi.service.api_key}` value has not been set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)