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

[#366] feat(catalog-lakehouse): add IcebergRESTService #427

Merged
merged 9 commits into from
Sep 25, 2023
Merged

[#366] feat(catalog-lakehouse): add IcebergRESTService #427

merged 9 commits into from
Sep 25, 2023

Conversation

FANNG1
Copy link
Contributor

@FANNG1 FANNG1 commented Sep 20, 2023

What changes were proposed in this pull request?

add IcebergAuxiliaryService to start Iceberg REST server

Why are the changes needed?

Fix: #366

Does this PR introduce any user-facing change?

add Iceberg REST server

How was this patch tested?

pass Integration test

@FANNG1 FANNG1 marked this pull request as draft September 20, 2023 09:58
@github-actions
Copy link

github-actions bot commented Sep 20, 2023

Code Coverage Report

Overall Project 63.59% -0.79% 🟢
Files changed 27.61% 🔴

Module Coverage
catalog-lakehouse 76.73% -16.8% 🔴
core 76% 🟢
Files
Module File Coverage
catalog-lakehouse IcebergRESTConfig.java 100% 🟢
IcebergRESTService.java 0% 🔴
core Config.java 39.29% 🟢

@FANNG1 FANNG1 marked this pull request as ready for review September 20, 2023 11:00
@FANNG1
Copy link
Contributor Author

FANNG1 commented Sep 25, 2023

@jerryshao, please have a review

return connector;
}

// todo, use JettyServer when it's moved to graviton common package
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can create a new module server-common to move jetty related to that module. It's not appropriate to move to common module, which will be used by client.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can do this refactoring work before this PR?

@FANNG1 FANNG1 changed the title [#366] feat(catalog-lakehouse): add IcebergAuxiliaryService [#366] feat(catalog-lakehouse): add IcebergRESTService Sep 25, 2023
.version("0.1.0")
.intConf()
.createWithDefault(100);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

All these confs are from "0.2.0", we need to change them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done


public class IcebergRESTService implements GravitonAuxiliaryService {

private Logger LOG = LoggerFactory.getLogger(IcebergRESTService.class);
Copy link
Contributor

Choose a reason for hiding this comment

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

private final static

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@jerryshao jerryshao merged commit d12bc14 into apache:main Sep 25, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Subtask] inject Iceberg REST server to Graviton Server without introduce the dependency
4 participants