[TRNSPRTPCE-567] Functional tests RFC8040 REST API migration Created: 28/Oct/21  Updated: 12/Sep/22  Due: 31/Mar/22  Resolved: 12/Sep/22

Status: Verified
Project: transportpce
Component/s: None
Affects Version/s: None
Fix Version/s: Phosphorus, Sulfur

Type: Task Priority: High
Reporter: Guillaume Lambert Assignee: Guillaume Lambert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 2 weeks
Time Spent: Not Specified
Original Estimate: 5 weeks


 Description   

All functional tests rely on the REST API based on IETF nb-bierman02 draft.
This draft has been obsoleted by the official RFC8040 standard.

The migration not only concerns URL but also return structures such as HTTP codes and JSON responses that introduces explicit name spaces.
Since it is not a trivial migration, it is wishable to split the work in several steps and refactor test utils by the way.
Here is the strategy proposed:

  • create a rfc8040 test utils python library based on current test utils
  • migrate progressively functional tests and rework / refactor this new test utils by the way
  • once done, move odl-restconf-nb-bierman02 dependency out of odl-transportpce karaf feature and adapt swagger feature dependency accordingly
  • priority is high since old draft version won't be supported after Sulfur.

Generated at Wed Feb 07 20:43:26 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.