ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-13752) Add a functional test to create a local ambari server and test it's status using an API call
Date Wed, 11 Nov 2015 07:49:11 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-13752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15000083#comment-15000083
] 

Hudson commented on AMBARI-13752:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #3809 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3809/])
AMBARI-13752. Add a functional test to create a local ambari server and (swagle: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d49cc72e92a72596571061622aacb3c5b5721200])
* ambari-server/src/test/java/org/apache/ambari/server/functionaltests/server/StartStopServerTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
* ambari-server/src/test/java/org/apache/ambari/server/functionaltests/server/LocalAmbariServer.java
* ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java


> 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)

Mime
View raw message