flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [flink] zentol opened a new pull request #7986: [FLINK-10517][rest] Add stability test
Date Thu, 14 Mar 2019 11:17:58 GMT
zentol opened a new pull request #7986: [FLINK-10517][rest] Add stability test
URL: https://github.com/apache/flink/pull/7986
 
 
   ## What is the purpose of the change
   
   This PR adds a stability test for the REST API to prevent API breaking changes.
   
   The test operates against an API snapshot (created by the test if `-Dgenerate-rest-snapshot`
is set).
   
   One snapshot is created for each `RestAPIVersion`, each being an array of all supported
rest calls.
   
   The test verifies the following:
   * URLs are not modified
   * Methods are not modified
   * StatusCodes are not modified
   * file-upload flags are not modified
   * set of path parameters is identical
   * query parameters are neither removed nor upgraded from optional to mandatory
   * fields are not removed request/response bodies nor their type changed (bar some exceptions)
   
   The implementation of these checks can be found in `CompatibilityRoutines`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message