Combine lines in IM state transition table 88/91388/3
authorJim Hahn <jrh3@att.com>
Thu, 11 Jul 2019 22:05:01 +0000 (18:05 -0400)
committerJim Hahn <jrh3@att.com>
Mon, 15 Jul 2019 13:27:49 +0000 (09:27 -0400)
commitc82cc454fe4f08da7e27af31ac9c0a0ef9cf153b
tree51a3d058bf46877543dd370b4a87f4e03c8c7176
parent7b5f7f8627d6e3cc267b4f7eefeb73d2efb31f96
Combine lines in IM state transition table

Rewrote the code to generate the Integrity Monitor state transition
table, eliminating duplicate lines.  Output the table, before and
after the change, and verified that they were identical, with one
exception: there were two places where the original code had
"StandbyStateException", while all of the others had
"StandbyStatusException".  Guessing that the original code was
incorrect in these two cases, I changed the new code to always use
"StandbyStatusException" instead.

Change-Id: Ibe3044eb1ac398a0bc8f328f4e14305d4bdeb380
Issue-ID: POLICY-1791
Signed-off-by: Jim Hahn <jrh3@att.com>
integrity-monitor/src/main/java/org/onap/policy/common/im/StateTransition.java
integrity-monitor/src/test/java/org/onap/policy/common/im/StateTransitionTest.java