-
Notifications
You must be signed in to change notification settings - Fork 29
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Jacob Klegar <[email protected]>
There are some changes to |
registry = Registry.parseFrom(inputStream); | ||
} catch (IOException e) { | ||
throw new RuntimeException("Unable to retrieve registry", e); | ||
} |
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.
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); | ||
} |
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.
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); |
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.
this code is shared in all the serving/it/
files
There's likely also additional |
Signed-off-by: Jacob Klegar [email protected]