GroupingDefinitionDependencySort needs to consider actions 86/82086/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 15 May 2019 12:01:19 +0000 (14:01 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 15 May 2019 13:09:05 +0000 (15:09 +0200)
commit6fca42e6bde88795354a2a2386bc7a6d76aaec47
treef6c5103324925dcecdd7b088d293232030329928
parente802061e56eea9779e13eede5f949aa96666ea28
GroupingDefinitionDependencySort needs to consider actions

In order to be able to correctly process actions/notifications
which can refer to other groupings, we must properly sort them
within each module.

To do that, GroupingDefinitionDependencySort must consider
uses nodes within them to properly construct the dependency
graph.

JIRA: MDSAL-448
Change-Id: I627702e39b1ab235b1c77ceaa2717ee03b3b2e39
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/mdsal/binding/yang/types/GroupingDefinitionDependencySort.java
binding/mdsal-binding-generator-impl/src/test/java/org/opendaylight/mdsal/binding/generator/impl/Mdsal448Test.java [new file with mode: 0644]
binding/mdsal-binding-generator-impl/src/test/java/org/opendaylight/mdsal/binding/yang/types/GroupingDefinitionDependencySortTest.java
binding/mdsal-binding-generator-impl/src/test/resources/mdsal448.yang [new file with mode: 0644]