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 42824: Move Version Definition to its own endpoint
Date Tue, 26 Jan 2016 21:00:54 GMT

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

Review request for Ambari, Alejandro Fernandez and Jonathan Hurley.


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


Repository: ambari


Description
-------

For creating repositories from a Version Definition file, create a new endpoint.  This is
because unlike repo management, the stack is not known in advance.

There are some validations missing from this code, but need to give the UI folks a "good"
API to start with.

Still just a couple of reviewers until stabilization.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
c7c5d61 
  ambari-server/src/main/java/org/apache/ambari/server/api/resources/VersionDefinitionResourceDefinition.java
PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/api/services/VersionDefinitionService.java
PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java
cce3764 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProvider.java
92b14b7 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/VersionDefinitionResourceProvider.java
PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java e367afe

  ambari-server/src/main/java/org/apache/ambari/server/orm/dao/RepositoryVersionDAO.java c37abb5

  ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryVersionEntity.java
e2e455b 
  ambari-server/src/main/java/org/apache/ambari/server/state/repository/Release.java 450fd95

  ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
12d2091 

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


Testing
-------

Manual.  Automated pending.


Thanks,

Nate Cole


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