Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Conversation

Aschen
Copy link
Contributor

@Aschen Aschen commented Oct 4, 2018

What does this PR do?

Before the method validateSpecifications didn't take an index an a collection in parameters and could be used for any collection.
This PR change the signature to match the rest of the collection controller. The method now take an index and a collection in addition to the specifications for this collection.

I also modify the updateSpecifications method. The method was taking an index and collection in parameter but it didn't scope the specifications to the collection.

Related PR: kuzzleio/sdk-javascript#318, kuzzleio/sdk-go#211, kuzzleio/sdk-c#13, kuzzleio/sdk-cpp#11, #13, kuzzleio/documentation#51

How should this be manually tested?

  • Step 1: Run Kuzzle Stack ./.ci/start_kuzzle.sh
  • Step 2: Run tests: docker run --rm -it -e ARCH="amd64" --network ci_default --link kuzzle -v "$(pwd)":/mnt kuzzleio/sdk-cross:openjdk8 bash -c "make clean all test"

@Aschen Aschen merged commit a724bf8 into 1-dev Oct 9, 2018
@scottinet scottinet deleted the KZL-547/update-validate-specification-signature branch January 17, 2020 09:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants