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

WIP Add GCS registry support to feast-serving #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jklegar
Copy link
Collaborator

@jklegar jklegar commented Jun 2, 2021

Signed-off-by: Jacob Klegar [email protected]

@jklegar
Copy link
Collaborator Author

jklegar commented Jun 2, 2021

There are some changes to deps/feast that are in master but not the commit referenced by feast-java that are needed for this PR, specifically the new Registry and FeatureView protos and adding the project field to Entity and FeatureTable

registry = Registry.parseFrom(inputStream);
} catch (IOException e) {
throw new RuntimeException("Unable to retrieve registry", e);
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

should move this out into a separate method since it's shared

Signed-off-by: Jacob Klegar <[email protected]>
registry = Registry.parseFrom(inputStream);
} catch (IOException e) {
throw new RuntimeException("Unable to retrieve registry", e);
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

same shared code

.build());
BlobInfo blobInfo = BlobInfo.newBuilder(BlobId.of(bucketName, objectName)).build();
Blob blob = storage.create(blobInfo, registryProto.toByteArray());
registryClient = TestUtils.getApiClientForRegistry(bucketName, objectName);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this code is shared in all the serving/it/ files

@jklegar
Copy link
Collaborator Author

jklegar commented Jun 2, 2021

There's likely also additional feast-core-related code in feast-serving that can be removed

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.

1 participant