-
Notifications
You must be signed in to change notification settings - Fork 379
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
Conversation
Code Coverage Report
Files
|
...src/main/java/com/datastrato/graviton/catalog/lakehouse/iceberg/IcebergAuxiliaryService.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/datastrato/graviton/catalog/lakehouse/iceberg/IcebergAuxiliaryService.java
Outdated
Show resolved
Hide resolved
...house/src/main/java/com/datastrato/graviton/catalog/lakehouse/iceberg/IcebergRESTConfig.java
Show resolved
Hide resolved
@jerryshao, please have a review |
...src/main/java/com/datastrato/graviton/catalog/lakehouse/iceberg/IcebergAuxiliaryService.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/datastrato/graviton/catalog/lakehouse/iceberg/IcebergAuxiliaryService.java
Outdated
Show resolved
Hide resolved
return connector; | ||
} | ||
|
||
// todo, use JettyServer when it's moved to graviton common package |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
...src/main/java/com/datastrato/graviton/catalog/lakehouse/iceberg/IcebergAuxiliaryService.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/datastrato/graviton/catalog/lakehouse/iceberg/IcebergAuxiliaryService.java
Outdated
Show resolved
Hide resolved
.version("0.1.0") | ||
.intConf() | ||
.createWithDefault(100); | ||
} |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private final static
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
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