Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

gRPC microservices example can not run: GitRepoFactory.java is missing in repository. #600

Open
Instein98 opened this issue Jul 19, 2021 · 1 comment

Comments

@Instein98
Copy link

Hi, I am trying to run the gRPC microservices example mentioned in the README.md, but I found that LocalServer.java can not run because it tries to import a nonexistent class com.google.startupos.common.repo.GitRepoFactory.

Could you please help me solve this issue? Thanks!!

@oferb
Copy link
Contributor

oferb commented Jul 19, 2021

Hi,
This repo is not supported at this point.

What I can say is, GitRepo uses AutoFactory which should create GitRepoFactory, but doesn't, and that's the issue here I think.

https://github.com/google/startup-os/blob/master/common/repo/GitRepo.java#L34

You may be able to get away with creating the GitRepo directly in LocalServer, using the constructor, by passing fileUtils which LocalServer already has access to, and the path which you pass to .create().

https://github.com/google/startup-os/blob/master/common/repo/GitRepo.java#L48
https://github.com/google/startup-os/blob/master/tools/reviewer/local_server/LocalServer.java#L97

Sorry I can't help more.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants