Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read the full REST spec from a common directory #51890

Closed

Commits on Feb 4, 2020

  1. Read the full REST spec from a common directory

    This commit changes where the REST API specs are read. The REST API
    spec is required to run the REST YAML tests and are currently copied
    to every project that has REST YAML tests.
    
    The REST API specs are now copied to the build directory of the root
    gradle project. Since each module or plugin (including all x-pack plugins)
    can contribute to the REST API spec, they too are copied to the common
    directory. The result is a single directory created during the build which
    includes the full REST API spec. Configuration is added to each project
    that has a RestIntegTestTask to enable ensure that the common directory is
    created when needed.
    
    The numerous places where this spec was copied around has now been removed
    in favor of the new common directory, which is the full spec and is part
    of the test classpath.
    
    Additionally, to enable plugin developers, a new plugin copy-rest-api-spec
    has been introduced that allows the specs to be copied locally
    from the jar. This is plugin is also used for the BWC tests which need
    to copy the tests for the spec to the local resource directory.
    jakelandis committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    925b203 View commit details
    Browse the repository at this point in the history
  2. fix HLRC test

    jakelandis committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    4266f67 View commit details
    Browse the repository at this point in the history
  3. fix docker tests

    jakelandis committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    8500ad7 View commit details
    Browse the repository at this point in the history
  4. fix xpack doc tests

    jakelandis committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    df804c1 View commit details
    Browse the repository at this point in the history
  5. fix rolling upgrade

    jakelandis committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    ec68975 View commit details
    Browse the repository at this point in the history
  6. fix Xpack Rest Tests

    jakelandis committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    5c3c36a View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2020

  1. Configuration menu
    Copy the full SHA
    edf3dff View commit details
    Browse the repository at this point in the history