File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -252,6 +252,7 @@ make_task_def(){
252252 KAFKA_URL=$( eval " echo \$ ${ENV} _KAFKA_URL" )
253253 AUTH0_PROXY_SERVER_URL=$( eval " echo \$ ${ENV} _AUTH0_PROXY_SERVER_URL" )
254254
255+ AUTH0_PROXY_SERVER_URL=$( eval " echo \$ ${ENV} _AUTH0_PROXY_SERVER_URL" )
255256
256257 task_def=$( printf " $task_template " $1 $ACCOUNT_ID $ACCOUNT_ID $AWS_ECS_CONTAINER_NAME $ACCOUNT_ID $AWS_REGION $AWS_REPOSITORY $CIRCLE_SHA1 $2 $3 $4 $NODE_ENV $ENABLE_FILE_UPLOAD $LOG_LEVEL $CAPTURE_LOGS $LOGENTRIES_TOKEN $API_VERSION $AWS_REGION $AUTH_DOMAIN $AUTH_SECRET $VALID_ISSUERS $DB_MASTER_URL $MEMBER_SERVICE_ENDPOINT $IDENTITY_SERVICE_ENDPOINT $BUS_API_URL $MESSAGE_SERVICE_URL $SYSTEM_USER_CLIENT_ID $SYSTEM_USER_CLIENT_SECRET $PROJECTS_ES_URL $PROJECTS_ES_INDEX_NAME $RABBITMQ_URL $DIRECT_PROJECT_SERVICE_ENDPOINT $FILE_SERVICE_ENDPOINT $CONNECT_PROJECTS_URL $SEGMENT_ANALYTICS_KEY " $AUTH0_URL " " $AUTH0_AUDIENCE " $AUTH0_CLIENT_ID " $AUTH0_CLIENT_SECRET " $TOKEN_CACHE_TIME " $KAFKA_CLIENT_CERT " " $KAFKA_CLIENT_CERT_KEY " $KAFKA_GROUP_ID $KAFKA_URL " $AUTH0_PROXY_SERVER_URL " $PORT $PORT $AWS_ECS_CLUSTER $AWS_REGION $NODE_ENV )
257258}
Original file line number Diff line number Diff line change 4040 "bluebird" : " ^3.4.1" ,
4141 "body-parser" : " ^1.15.0" ,
4242 "co" : " ^4.6.0" ,
43+ "compression" : " ^1.7.3" ,
4344 "config" : " ^1.20.1" ,
4445 "continuation-local-storage" : " ^3.1.7" ,
4546 "cors" : " ^2.8.4" ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import _ from 'lodash';
33import config from 'config' ;
44import validate from 'express-validation' ;
55import { Router } from 'express' ;
6+ import compression from 'compression' ;
67
78const router = Router ( ) ;
89
@@ -46,6 +47,8 @@ router.route('/v4/projects/metadata/productCategories')
4647router . route ( '/v4/projects/metadata/productCategories/:key' )
4748 . get ( require ( './productCategories/get' ) ) ;
4849
50+
51+ router . use ( '/v4/projects/metadata' , compression ( ) ) ;
4952router . route ( '/v4/projects/metadata' )
5053 . get ( require ( './metadata/list' ) ) ;
5154
You can’t perform that action at this time.
0 commit comments