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

Develop a java demo for OSS API; 为 OSS API 开发一个 java demo #842

Open
seeflood opened this issue Nov 4, 2022 · 7 comments
Open
Labels
good first issue Good for newcomers help wanted Extra attention is needed kind/demo kind/easy

Comments

@seeflood
Copy link
Member

seeflood commented Nov 4, 2022

What would you like to be added:

Develop a java demo for OSS API.

Now we already have quickstart docs for this API, and we need a demo to show users how to invoke this API.

You can take the lock api quickstart as an example:

image

The java demo of lock api is here.

Reference:

Here are some resources to help you work on this issue.

Quickstart doc for this API: https://mosn.io/layotto/#/en/start/oss/start

API definition (the .proto file): https://github.com/mosn/layotto/blob/main/spec/proto/extension/v1/s3/oss.proto

java sdk: https://github.com/layotto/java-sdk

API design doc/discussion: https://mosn.io/layotto/#/zh/design/oss/design

Why is this needed:

Java users need it.

@seeflood seeflood added good first issue Good for newcomers help wanted Extra attention is needed kind/easy kind/demo labels Nov 4, 2022
@WowDoers
Copy link

Has this issue been closed? I saw that the OSS demo has been added.

@zhenjunMa
Copy link
Contributor

@WowDoers Currently the OSS demo contains just 4 methods, but layotto provides many other API for OSS, so we can continue to enrich the content of this demo

@WowDoers
Copy link

WowDoers commented Oct 8, 2023 via email

@WowDoers
Copy link

WowDoers commented Oct 8, 2023 via email

@zhenjunMa
Copy link
Contributor

can I continue to enrich this DEMO?

Yes, PR is welcome

Also, do I want to reopen a ISSUE?

continue to use this issue is ok

@WowDoers
Copy link

Cool! I'm going to perfect this Demo

@WowDoers
Copy link

WowDoers commented Oct 10, 2023

In addition, I found that there was a compilation error in the main branch. My JDK version is 1.8. Upon inspection, it was confirmed that it lacked the dependency on javax.annotation-api, causing errors in the part that relies on javax annotations. I will include this update in the future pull request.

image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed kind/demo kind/easy
Projects
None yet
Development

No branches or pull requests

3 participants