You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Tom Beerbower <tb...@hortonworks.com> on 2014/10/15 04:41:05 UTC

Review Request 26729: Views: Masked property not encoded on newly created instance

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

Review request for Ambari and Srimanth Gunturi.


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


Repository: ambari


Description
-------

Reopen AMBARI-7768.

Update view instance causes mask to be reapplied to existing properties.  Move the mask operation for create/update to the resource provider so that it is only applied to new property values.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProvider.java 158f66d 
  ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java 1e28e62 
  ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProviderTest.java c0ecddc 
  ambari-server/src/test/java/org/apache/ambari/server/view/ViewRegistryTest.java 00da1bb 

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


Testing
-------

Manual tests.

New tests added.  All tests pass.

Results :

Tests run: 2170, Failures: 0, Errors: 0, Skipped: 17

…

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 44:30.202s
[INFO] Finished at: Tue Oct 14 22:32:01 EDT 2014
[INFO] Final Memory: 45M/283M
[INFO] ------------------------------------------------------------------------


Thanks,

Tom Beerbower


Re: Review Request 26729: Views: Masked property not encoded on newly created instance

Posted by Srimanth Gunturi <sr...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26729/#review56659
-----------------------------------------------------------

Ship it!


Ship It!

- Srimanth Gunturi


On Oct. 15, 2014, 2:41 a.m., Tom Beerbower wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26729/
> -----------------------------------------------------------
> 
> (Updated Oct. 15, 2014, 2:41 a.m.)
> 
> 
> Review request for Ambari and Srimanth Gunturi.
> 
> 
> Bugs: AMBARI-7768
>     https://issues.apache.org/jira/browse/AMBARI-7768
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Reopen AMBARI-7768.
> 
> Update view instance causes mask to be reapplied to existing properties.  Move the mask operation for create/update to the resource provider so that it is only applied to new property values.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProvider.java 158f66d 
>   ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java 1e28e62 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProviderTest.java c0ecddc 
>   ambari-server/src/test/java/org/apache/ambari/server/view/ViewRegistryTest.java 00da1bb 
> 
> Diff: https://reviews.apache.org/r/26729/diff/
> 
> 
> Testing
> -------
> 
> Manual tests.
> 
> New tests added.  All tests pass.
> 
> Results :
> 
> Tests run: 2170, Failures: 0, Errors: 0, Skipped: 17
> 
> …
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 44:30.202s
> [INFO] Finished at: Tue Oct 14 22:32:01 EDT 2014
> [INFO] Final Memory: 45M/283M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Tom Beerbower
> 
>