README

CIPD backend

Code layout:

  • frontend, backend - entry points for GAE modules.
  • impl - the root package with implementation guts of all APIs.
  • ui - web UI implementation.

Deployment:

gae.py upload -A chrome-infra-packages-dev
gae.py switch -A chrome-infra-packages-dev

This implementation replaced Python one, that used to live in infra.git repository. It has been removed in this commit.

Directories

Path Synopsis
Binary backend implements HTTP server that handles task queues and crons.
Binary backend implements HTTP server that handles task queues and crons.
Binary frontend implements HTTP server that handles requests to 'default' module.
Binary frontend implements HTTP server that handles requests to 'default' module.
Package impl instantiates the full implementation of the CIPD backend services.
Package impl instantiates the full implementation of the CIPD backend services.
admin
Package admin contains implementation of cipd.Admin RPC service.
Package admin contains implementation of cipd.Admin RPC service.
cas
Package cas contains implementation of cipd.Storage service RPC service.
Package cas contains implementation of cipd.Storage service RPC service.
cas/tasks
Package tasks contains task queue tasks definitions.
Package tasks contains task queue tasks definitions.
gs
Package gs implement Google Storage API wrapper used by CIPD backend.
Package gs implement Google Storage API wrapper used by CIPD backend.
metadata
Package metadata implements handling of prefix metadata.
Package metadata implements handling of prefix metadata.
model
Package model contains core CIPD datastore entities.
Package model contains core CIPD datastore entities.
model/tasks
Package tasks contains task queue tasks definitions.
Package tasks contains task queue tasks definitions.
monitoring
Package monitoring implements monitoring used by CIPD backend.
Package monitoring implements monitoring used by CIPD backend.
repo
Package repo contains implementation of cipd.Repository service RPC service.
Package repo contains implementation of cipd.Repository service RPC service.
repo/processing
Package processing contains code related to post-registration instance processing.
Package processing contains code related to post-registration instance processing.
repo/tasks
Package tasks contains task queue tasks definitions.
Package tasks contains task queue tasks definitions.
rpcacl
Package rpcacl contains helpers for checking ACLs of individual RPCs.
Package rpcacl contains helpers for checking ACLs of individual RPCs.
settings
Package settings contains definition of global CIPD backend settings.
Package settings contains definition of global CIPD backend settings.
testutil
Package testutil contains helpers used from CIPD backend unit tests.
Package testutil contains helpers used from CIPD backend unit tests.
Package ui implements request handlers that serve user facing HTML pages.
Package ui implements request handlers that serve user facing HTML pages.