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

Add Http protocol #61

Merged
merged 45 commits into from
Mar 25, 2022
Merged

Add Http protocol #61

merged 45 commits into from
Mar 25, 2022

Conversation

clementbolin
Copy link
Contributor

@clementbolin clementbolin commented Feb 17, 2022

What does this PR do ?

Http protocol support

How should this be manually tested?

gradle test

Other changes

updated openjdk8 to 11 for all CI

.ci/doc/config.yml Outdated Show resolved Hide resolved
.ci/doc/templates/print-result.tpl.java Outdated Show resolved Hide resolved
.ci/doc/templates/print-result.tpl.kt Outdated Show resolved Hide resolved
@@ -3,6 +3,10 @@ description: Run Snippets Testss
runs:
using: "composite"
steps:
- uses: actions/setup-java@v1
with:
java-version: "11"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be putted somewhere that we are upgrading to Java 11, because people that are using Java 8 wont be able to use the SDK.

Also it is possible to make HTTP Requests using Java 8

build.gradle.kts Outdated Show resolved Hide resolved
build.gradle.kts Outdated Show resolved Hide resolved
return
}
// if state is NOT open, return response to /_publicApi
this.request.uri(URI.create("http://localhost:7512/_publicApi"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should test the _query endpoint instead using a POST request

src/main/kotlin/io/kuzzle/sdk/protocol/Http.kt Outdated Show resolved Hide resolved
@clementbolin clementbolin changed the base branch from master to 1-dev March 25, 2022 10:04
@clementbolin clementbolin merged commit 0188653 into 1-dev Mar 25, 2022
@clementbolin clementbolin mentioned this pull request Mar 25, 2022
@Shiranuit Shiranuit mentioned this pull request Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants