Move aggregator into its own repo and add it to the image

This commit is contained in:
Joseph Schorr 2016-07-01 14:16:15 -04:00
parent 713ba3abaf
commit a1009af61c
14 changed files with 38 additions and 370 deletions

View file

@ -23,7 +23,7 @@ from auth.auth import process_oauth
from endpoints.csrf import csrf_protect
from endpoints.exception import ApiException, Unauthorized, InvalidRequest, InvalidResponse, FreshLoginRequired
from endpoints.decorators import check_anon_protection
from util.saas.metricqueue import time_decorator
from util.metrics.metricqueue import time_decorator
from util.pagination import encrypt_page_token, decrypt_page_token
logger = logging.getLogger(__name__)

View file

@ -2,7 +2,7 @@ from flask import Blueprint, make_response
from app import metric_queue
from endpoints.decorators import anon_protect, anon_allowed
from util.saas.metricqueue import time_blueprint
from util.metrics.metricqueue import time_blueprint
v1_bp = Blueprint('v1', __name__)

View file

@ -18,7 +18,7 @@ from endpoints.decorators import anon_protect, anon_allowed
from endpoints.v2.errors import V2RegistryException, Unauthorized
from util.http import abort
from util.registry.dockerver import docker_version
from util.saas.metricqueue import time_blueprint
from util.metrics.metricqueue import time_blueprint
logger = logging.getLogger(__name__)
v2_bp = Blueprint('v2', __name__)