You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Nahappan Somasundaram (JIRA)" <ji...@apache.org> on 2015/12/12 06:50:46 UTC

[jira] [Updated] (AMBARI-13752) Add a functional test to create a local ambari server and test it's status using an API call

     [ https://issues.apache.org/jira/browse/AMBARI-13752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nahappan Somasundaram updated AMBARI-13752:
-------------------------------------------
    Attachment: AMBARI-13752.4.patch

> 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.3.0
>
>         Attachments: AMBARI-13752.4.patch
>
>
> 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)