Nahappan Somasundaram created AMBARI-13752:
----------------------------------------------
Summary: Add a functional test to create a local ambari server and
test it's status using an API call
Key: AMBARI-13752
URL: https://issues.apache.org/jira/browse/AMBARI-13752
Project: Ambari
Issue Type: Sub-task
Components: ambari-server
Affects Versions: 2.1.2
Reporter: Nahappan Somasundaram
Assignee: Nahappan Somasundaram
Fix For: 2.2.0
Write a functional test to configure an ambari server to use an in-memory
database and test it's status using an API call.
Specifically, this test uses InMemoryDefaultTestModule() to configure the Guice
injector so that the AmbariServer instances does not require an external DB.
This test also disables SSL for agent communication since we don't have an
agent simulator yet.
The test makes a call to /api/v1/stacks to get the list of stacks. This is an
indicator that the ambari server is running and responds to RESTful API
requests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)