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(){
252
252
KAFKA_URL=$( eval " echo \$ ${ENV} _KAFKA_URL" )
253
253
AUTH0_PROXY_SERVER_URL=$( eval " echo \$ ${ENV} _AUTH0_PROXY_SERVER_URL" )
254
254
255
+ AUTH0_PROXY_SERVER_URL=$( eval " echo \$ ${ENV} _AUTH0_PROXY_SERVER_URL" )
255
256
256
257
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 )
257
258
}
Original file line number Diff line number Diff line change 40
40
"bluebird" : " ^3.4.1" ,
41
41
"body-parser" : " ^1.15.0" ,
42
42
"co" : " ^4.6.0" ,
43
+ "compression" : " ^1.7.3" ,
43
44
"config" : " ^1.20.1" ,
44
45
"continuation-local-storage" : " ^3.1.7" ,
45
46
"cors" : " ^2.8.4" ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import _ from 'lodash';
3
3
import config from 'config' ;
4
4
import validate from 'express-validation' ;
5
5
import { Router } from 'express' ;
6
+ import compression from 'compression' ;
6
7
7
8
const router = Router ( ) ;
8
9
@@ -46,6 +47,8 @@ router.route('/v4/projects/metadata/productCategories')
46
47
router . route ( '/v4/projects/metadata/productCategories/:key' )
47
48
. get ( require ( './productCategories/get' ) ) ;
48
49
50
+
51
+ router . use ( '/v4/projects/metadata' , compression ( ) ) ;
49
52
router . route ( '/v4/projects/metadata' )
50
53
. get ( require ( './metadata/list' ) ) ;
51
54
You can’t perform that action at this time.
0 commit comments