Fix version field to represent policy version instead of type version 88/89588/5
authorChenfei Gao <cgao@research.att.com>
Fri, 7 Jun 2019 15:14:16 +0000 (11:14 -0400)
committerChenfei Gao <cgao@research.att.com>
Fri, 7 Jun 2019 19:15:04 +0000 (15:15 -0400)
commit94a863e0a9b5f65b804cf26936c67ee815e49850
treeea9029ead577f59e9b03f16799aa774a99be11e2
parent8676a38be6877235fe857a5f0bc289b2e036d4bb
Fix version field to represent policy version instead of type version

Added changes to make version field in return of GET guard policy call
represent the version of guard policy instead of its type version.

Issue-ID: POLICY-1809
Change-Id: Ie8db6e89d8439576ee5f6ee99c3222386775b195
Signed-off-by: Chenfei Gao <cgao@research.att.com>
models-tosca/src/main/java/org/onap/policy/models/tosca/legacy/mapping/LegacyGuardPolicyMapper.java
models-tosca/src/test/java/org/onap/policy/models/tosca/legacy/mapping/LegacyGuardPolicyMapperTest.java