diff options
author | Michal Kabaj <michal.kabaj@nokia.com> | 2018-03-13 12:18:08 +0100 |
---|---|---|
committer | Michal Kabaj <michal.kabaj@nokia.com> | 2018-03-13 12:18:08 +0100 |
commit | d206edd8b89ddd251b24e635227fae2814b0152e (patch) | |
tree | 8b29c086ac731de4154bdda6b4d9fcd71d72333d /appc-metric/appc-metric-installer/src/main/resources | |
parent | bbc49d304603dd4cccade55cc5f5711df3024592 (diff) |
ChefAdapterImpl Junits
-Added new Unit tests for ChefAdapterImpl#trigger method
-Refactored ChefAdapterFactory to allow mock injection
-Added new create() method to ChefApiClientFactory which does not set
any Chef specific headers for the purpose of trigger method
-Cleaned up the trigger method - simplified usage, removed useless doFailure
method and inlined its logic and unified HttClient usage -> HttpClient is not
used directly but through existing ChefApiClient
-removed redundant TestChefAdapterImpl tests which have already been rewritten
Change-Id: I830d203877224aa2c5e1b0dff39d1171f1f2f0ef
Issue-ID: APPC-437
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
Diffstat (limited to 'appc-metric/appc-metric-installer/src/main/resources')
0 files changed, 0 insertions, 0 deletions