commit | f7cb401b6bc7bb0d1a2fed1176f00c6547026b15 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Mon Jul 20 13:01:07 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Jul 21 22:21:28 2015 +0000 |
tree | b631c74df4199ccc397d0b5b25ad09dca8280f01 | |
parent | 9dcaea5c7b4cb9515706c5562fb0c9d6497a0e51 [diff] [blame] |
Fix ONOS-2090 - Improvements to Intent JSON - Intents are now identified by the name portion of the appId rather than the number - removed the now useless "details" field which had a toString() dump of the intent for when we didn't support all intent types - Single Intent GET operations now accept a decimal or hexadecimal value for the Intent key. Change-Id: I39d635e68cccf2e59d0d11307b93329a2dc0bc96
diff --git a/core/common/src/test/resources/org/onosproject/codec/impl/HostToHostIntent.json b/core/common/src/test/resources/org/onosproject/codec/impl/HostToHostIntent.json index 5010c48..fedea25 100644 --- a/core/common/src/test/resources/org/onosproject/codec/impl/HostToHostIntent.json +++ b/core/common/src/test/resources/org/onosproject/codec/impl/HostToHostIntent.json
@@ -1,6 +1,6 @@ { "type": "HostToHostIntent", - "appId": 2, + "appId": "test", "selector": {"criteria": []}, "treatment": { "instructions": [],