ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley" <jhur...@hortonworks.com>
Subject Review Request 35005: Alerts JSON Properties Should Allow For A Mixture of Parameters and Constants
Date Wed, 03 Jun 2015 14:56:53 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35005/
-----------------------------------------------------------

Review request for Ambari, Nate Cole and Tom Beerbower.


Bugs: AMBARI-11656
    https://issues.apache.org/jira/browse/AMBARI-11656


Repository: ambari


Description
-------

For now we don't have ability to add some string if value has {{param}}:
{code}
"http": "{{oozie-site/oozie.base.url}}/oozie/?user.name=oozie"
"http": "{{oozie-site/oozie.base.url}}/oozie/?user.name={{oozie-site/user}}"
{code}

We should be able to replace _n_ parameters mixed with string constants.


Diffs
-----

  ambari-agent/src/main/python/ambari_agent/alerts/base_alert.py 08fb8a9 
  ambari-agent/src/test/python/ambari_agent/TestAlerts.py 02efc6f 

Diff: https://reviews.apache.org/r/35005/diff/


Testing
-------

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.578 s
[INFO] Finished at: 2015-06-03T10:51:37-04:00
[INFO] Final Memory: 16M/310M
[INFO] ------------------------------------------------------------------------


Thanks,

Jonathan Hurley


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message