Json Serialization should hide "empty". 21/37421/3
authorshrek2000 <orenkle@amdocs.com>
Wed, 21 Mar 2018 11:26:35 +0000 (13:26 +0200)
committerEinav Keidar <einavw@amdocs.com>
Thu, 22 Mar 2018 12:25:46 +0000 (12:25 +0000)
commitc86ab44bb10562aa4c3e553eecaa2325d050fb2e
tree3ee1cb3dcf02f9a2130062a6d78a93539f12ccbb
parent328388b792b5b39d37c98d82a853ae4fa17c9313
Json Serialization should hide "empty".

Json serialization of java collections exposes the isEmpty function as an attribute. This issue was discussed in the design review of Interface operations.
Issue-ID: SDC-1150

Change-Id: I09e214f5631b73d60825732c4db8bbf85469c824
Signed-off-by: shrek2000 <orenkle@amdocs.com>
catalog-be/src/main/java/org/openecomp/sdc/be/servlets/RepresentationUtils.java
catalog-be/src/test/java/org/openecomp/sdc/be/servlets/RepresentationUtilsTest.java