You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2017/04/03 12:02:33 UTC

Review Request 58145: Create json files with stomp events payload for ambari-agent unittests

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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Until server stomp part is not ready these events will be used for agent-side
development.  
Also are a great base for unit testing even after server part is done.


Diffs
-----

  ambari-agent/src/test/python/ambari_agent/BaseStompServerTestCase.py 8198217 
  ambari-agent/src/test/python/ambari_agent/TestAgentStompResponses.py 4c61bf6 
  ambari-agent/src/test/python/ambari_agent/dummy_files/stomp/agent_host_status_update.json PRE-CREATION 
  ambari-agent/src/test/python/ambari_agent/dummy_files/stomp/components_status_report.json PRE-CREATION 
  ambari-agent/src/test/python/ambari_agent/dummy_files/stomp/configurations_update.json PRE-CREATION 
  ambari-agent/src/test/python/ambari_agent/dummy_files/stomp/execution_commands.json PRE-CREATION 
  ambari-agent/src/test/python/ambari_agent/dummy_files/stomp/metadata_update.json PRE-CREATION 
  ambari-agent/src/test/python/ambari_agent/dummy_files/stomp/registration_request.json PRE-CREATION 
  ambari-agent/src/test/python/ambari_agent/dummy_files/stomp/registration_response.json PRE-CREATION 
  ambari-agent/src/test/python/ambari_agent/dummy_files/stomp/topology_update.json PRE-CREATION 


Diff: https://reviews.apache.org/r/58145/diff/1/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk