Summary:
We've recently added a flag in a config repo to enable or disable the repo.
Let's use it in apiserver as well.
P. S.
As I think about it now, it maybe worth filtering enabled/disabled flag in
RepoConfig
Reviewed By: lukaspiatkowski
Differential Revision: D8732450
fbshipit-source-id: 1cd59f5a91dec28efd1e2c122f2f1ea58ded6ac1
Summary:
There are so many individual arguments here that it's honestly hard to keep
track.
It is unfortunate that a bunch of string copies have to be done, but not really
a big deal.
Reviewed By: jsgf
Differential Revision: D8675237
fbshipit-source-id: 6a333d01579532a0a88c3e26b2db86b46cf45955
Summary: This commit changes the API from directly asking for NodeHash to changeset id and path of the file.
Reviewed By: StanislavGlebik
Differential Revision: D8628826
fbshipit-source-id: 1fa37cf36db0ca00530f3a60de78da1d1d232398
Summary: This commit implements a `Responder` for `MononokeRepoResponse` so it can be used as the return type of an actix-web handler. So the only need to be done to write a handler that accepts a `MononokeRepoQuery` is to assembly the struct.
Reviewed By: StanislavGlebik
Differential Revision: D8630086
fbshipit-source-id: 782252072f5fbb692f3ce0387370c8aaa48f4396
Summary: This commit adds /status to return ok for Tupperware health check.
Reviewed By: kulshrax
Differential Revision: D8629282
fbshipit-source-id: 8f36bf73d4d9399721c68649e6b475362770889b
Summary: This commit implements the retrieving logic for the api server.
Reviewed By: StanislavGlebik
Differential Revision: D8507784
fbshipit-source-id: 109b7fad35c5fefca593d04ac63d57534f9bd12b
Summary: It's no longer test, we use it in prod
Reviewed By: farnz
Differential Revision: D8611639
fbshipit-source-id: dc52e0bcdc26c704c0d9cf820d7aa5deae3e06e4
Summary: This commit lets apiserver reads Mononoke's config repository and creates MononokeRepo based on it.
Reviewed By: kulshrax
Differential Revision: D8465574
fbshipit-source-id: 0af1ad5f62499f83261e21bac605725156fc22d0
Summary: This revision adds an initial binary target for Mononoke API Server as well as a few basic options and logging.
Reviewed By: kulshrax
Differential Revision: D8413745
fbshipit-source-id: 65523433284e970348efcafd724ae28102d85671