[
https://issues.apache.org/jira/browse/BROOKLYN-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Harris updated BROOKLYN-514:
-----------------------------------
Description:
Currently, the username, password, and headers of a HttpRequestSensor are
resolved when the sensor is created [1]. This causes two problems: 1. dependent
values cannot be used, e.g. the headers may need to contain a security token
which is not obtained until later, and 2. sensitive values such as password
will be persisted
[1]:
https://github.com/apache/brooklyn-server/blob/30292c967b3368b2b58d2b00de965ab32ea456d6/core/src/main/java/org/apache/brooklyn/core/sensor/http/HttpRequestSensor.java#L85-L87
was:
Currently, the username, password, and headers of a HttpRequestSensor are
resolved when the sensor is created [1]. This causes two problems: 1. dependent
values cannot be used, e.g. the headers may need to contain a security token
which is not obtained until later, and 2. sensitive values such as password
will be persisted
https://issues.apache.org/jira/browse/BROOKLYN-514
> Delay resolution of http request sensor settings
> ------------------------------------------------
>
> Key: BROOKLYN-514
> URL: https://issues.apache.org/jira/browse/BROOKLYN-514
> Project: Brooklyn
> Issue Type: Improvement
> Reporter: Martin Harris
> Priority: Minor
>
> Currently, the username, password, and headers of a HttpRequestSensor are
> resolved when the sensor is created [1]. This causes two problems: 1.
> dependent values cannot be used, e.g. the headers may need to contain a
> security token which is not obtained until later, and 2. sensitive values
> such as password will be persisted
> [1]:
> https://github.com/apache/brooklyn-server/blob/30292c967b3368b2b58d2b00de965ab32ea456d6/core/src/main/java/org/apache/brooklyn/core/sensor/http/HttpRequestSensor.java#L85-L87
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)