Remove ModifyAction and related code 78/81378/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 4 Apr 2019 16:31:13 +0000 (18:31 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 4 Apr 2019 17:00:24 +0000 (19:00 +0200)
commitdc509f213beda0974686d05c593bb02d23e0b349
tree79709ecfe24d1fb8ea5e0789a1bc6678ce4385c5
parent4a7b3a98402a338a5643203c8554f0e7f1ed1b30
Remove ModifyAction and related code

ModifyAction is a NETCONF leak, which really should be metadata.
Since metadata is disconnected from NormalizedNodes, there is just
no use case to support it in ImmutableNodes/InstanceIdToNodes.

Downstreams can instead create the NormalizedNode structure and
create a shadow metadata structure, holding any metadata they wish.

Change-Id: I2afa4087871e8602278e0bb0d0cc0fbe2fb0df08
JIRA: YANGTOOLS-960
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/ModifyAction.java [deleted file]
yang/yang-data-api/src/test/java/org/opendaylight/yangtools/yang/data/api/ModifyActionTest.java [deleted file]
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/ImmutableNodes.java
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/InstanceIdToCompositeNodes.java
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/InstanceIdToNodes.java
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/InstanceIdToSimpleNodes.java