ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate Cole" <nc...@hortonworks.com>
Subject Review Request 27590: Upgrade Execute: Create API endpoint for upgrades and upgrade items
Date Tue, 04 Nov 2014 21:55:05 GMT

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

Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, and Tom Beerbower.


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


Repository: ambari


Description
-------

Added stubs for /api/v1/clusters/c1/upgrades

This test does not provide full DB connectivity.  It's only meant to unblock other teams from
having an endpoint to work with.  There will be many many more changes over the course of
the Upgrades initiative


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/StaticallyInject.java PRE-CREATION

  ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
f5de481 
  ambari-server/src/main/java/org/apache/ambari/server/api/resources/UpgradeItemResourceDefinition.java
PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/api/resources/UpgradeResourceDefinition.java
PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java ab71ce2

  ambari-server/src/main/java/org/apache/ambari/server/api/services/UpgradeItemService.java
PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/api/services/UpgradeService.java PRE-CREATION

  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java 14e5dc8

  ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java 0974f6f

  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/DefaultProviderModule.java
de63db5 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeItemResourceProvider.java
PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java b665813

  ambari-server/src/main/java/org/apache/ambari/server/orm/dao/UpgradeDAO.java PRE-CREATION

  ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeEntity.java PRE-CREATION

  ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeItemEntity.java
PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeState.java PRE-CREATION

  ambari-server/src/test/java/org/apache/ambari/server/orm/dao/UpgradeDAOTest.java PRE-CREATION


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


Testing
-------

Only basic test added, more to come as functionality fills out.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30:48.302s
[INFO] Finished at: Tue Nov 04 16:54:11 EST 2014
[INFO] Final Memory: 29M/248M
[INFO] ------------------------------------------------------------------------


Thanks,

Nate Cole


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message