You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrii Tkach <at...@hortonworks.com> on 2014/06/10 18:00:20 UTC

Review Request 22418: Ambari web client should use stacks API instead of stacks2 API

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

Review request for Ambari and Aleksandr Kovalenko.


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


Repository: ambari


Description
-------

There are two hadoop stack endpoint
http://localhost:8080/api/v1/stacks
and
http://localhost:8080/api/v1/stacks2

Amabri web client uses stacks2 endpoint. Much of the work done in Ambari-1.6.0 for blueprint support is  committed for stacks endpoint and it's not supported by stacks2 API. 
Stacks2 API is deprecated
Ambari web client should also use stacks endpoint for consistency


Diffs
-----

  ambari-web/app/app.js 3d88541 
  ambari-web/app/controllers/global/cluster_controller.js a9368b4 
  ambari-web/app/controllers/main/service.js 05884ac 
  ambari-web/app/controllers/wizard.js 34e9587 
  ambari-web/app/controllers/wizard/step8_controller.js 46367d4 
  ambari-web/app/utils/ajax/ajax.js eedc4f6 
  ambari-web/app/utils/config.js 3e885e9 
  ambari-web/test/views/wizard/controls_view_test.js bfec1e2 

Diff: https://reviews.apache.org/r/22418/diff/


Testing
-------


Thanks,

Andrii Tkach


Re: Review Request 22418: Ambari web client should use stacks API instead of stacks2 API

Posted by Aleksandr Kovalenko <ak...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22418/#review45240
-----------------------------------------------------------

Ship it!


Ship It!

- Aleksandr Kovalenko


On June 10, 2014, 4 p.m., Andrii Tkach wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/22418/
> -----------------------------------------------------------
> 
> (Updated June 10, 2014, 4 p.m.)
> 
> 
> Review request for Ambari and Aleksandr Kovalenko.
> 
> 
> Bugs: AMBARI-6068
>     https://issues.apache.org/jira/browse/AMBARI-6068
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> There are two hadoop stack endpoint
> http://localhost:8080/api/v1/stacks
> and
> http://localhost:8080/api/v1/stacks2
> 
> Amabri web client uses stacks2 endpoint. Much of the work done in Ambari-1.6.0 for blueprint support is  committed for stacks endpoint and it's not supported by stacks2 API. 
> Stacks2 API is deprecated
> Ambari web client should also use stacks endpoint for consistency
> 
> 
> Diffs
> -----
> 
>   ambari-web/app/app.js 3d88541 
>   ambari-web/app/controllers/global/cluster_controller.js a9368b4 
>   ambari-web/app/controllers/main/service.js 05884ac 
>   ambari-web/app/controllers/wizard.js 34e9587 
>   ambari-web/app/controllers/wizard/step8_controller.js 46367d4 
>   ambari-web/app/utils/ajax/ajax.js eedc4f6 
>   ambari-web/app/utils/config.js 3e885e9 
>   ambari-web/test/views/wizard/controls_view_test.js bfec1e2 
> 
> Diff: https://reviews.apache.org/r/22418/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andrii Tkach
> 
>