Skip to content

Commit 053ce48

Browse files
author
vikasrohit
authored
Merge pull request #489 from topcoder-platform/develop
Production Release 2.6 & 2.7
2 parents dca4e66 + 67247a6 commit 053ce48

File tree

77 files changed

+175118
-578
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+175118
-578
lines changed

.circleci/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ deploy_steps: &deploy_steps
3232
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-deployvar
3333
source buildenvvar
3434
./master_deploy.sh -d ECS -e $DEPLOY_ENV -t latest -s ${LOGICAL_ENV}-global-appvar,${LOGICAL_ENV}-${APPNAME}-appvar -i ${APPNAME}
35+
36+
echo "======= Running Masterscript - deploy projects-api-consumers ==========="
37+
if [ -e ${LOGICAL_ENV}-${APPNAME}-appvar.json ]; then sudo rm -vf ${LOGICAL_ENV}-${APPNAME}-appvar.json; fi
38+
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-consumers-deployvar
39+
source buildenvvar
40+
./master_deploy.sh -d ECS -e $DEPLOY_ENV -t latest -s ${LOGICAL_ENV}-global-appvar,${LOGICAL_ENV}-${APPNAME}-appvar -i ${APPNAME}
3541
3642
jobs:
3743
test:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ jspm_packages
4747
!.elasticbeanstalk/*.global.yml
4848
.DS_Store
4949
.idea
50+
51+
# Report which might be generated using `scripts/es-db-compare` script
52+
report.html

README.md

Lines changed: 169 additions & 122 deletions
Large diffs are not rendered by default.

config/custom-environment-variables.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,20 @@
5656
"pageSize": "PAGE_SIZE",
5757
"SSO_REFCODES": "SSO_REFCODES",
5858
"lookerConfig": {
59+
"EMBED_KEY": "LOOKER_EMBED_KEY",
60+
"LOOKER_HOST": "LOOKER_HOST",
61+
"SESSION_LENGTH": "LOOKER_SESSION_LENGTH",
5962
"BASE_URL": "LOOKER_API_BASE_URL",
6063
"CLIENT_ID": "LOOKER_API_CLIENT_ID",
6164
"CLIENT_SECRET": "LOOKER_API_CLIENT_SECRET",
6265
"TOKEN": "TOKEN",
63-
"USE_MOCK": "LOOKER_API_ENABLE_MOCK",
66+
"USE_MOCK": "ENABLE_MOCK_REPORTS",
6467
"QUERIES": {
6568
"REG_STATS": "LOOKER_API_REG_STATS_QUERY_ID",
6669
"BUDGET": "LOOKER_API_BUDGET_QUERY_ID"
67-
}
70+
},
71+
"EMBED_REPORTS_MAPPING": "EMBED_REPORTS_MAPPING",
72+
"ALLOWED_USERS": "REPORTS_ALLOWED_USERS"
6873
},
6974
"DEFAULT_M2M_USERID": "DEFAULT_M2M_USERID"
7075
}

config/default.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"idleTimeout": 1000
3737
},
3838
"kafkaConfig": {
39-
"hosts": "localhost:9092"
39+
"url": "localhost:9092"
4040
},
4141
"analyticsKey": "",
4242
"VALID_ISSUERS": "[\"https:\/\/topcoder-newauth.auth0.com\/\",\"https:\/\/api.topcoder-dev.com\"]",
@@ -61,6 +61,9 @@
6161
"VALID_STATUSES_BEFORE_PAUSED": "[\"active\"]",
6262
"SSO_REFCODES": "[]",
6363
"lookerConfig": {
64+
"EMBED_KEY": "FAKE_KEY",
65+
"LOOKER_HOST": "demo.looker.com",
66+
"SESSION_LENGTH": 120,
6467
"BASE_URL": "",
6568
"CLIENT_ID": "",
6669
"CLIENT_SECRET": "",
@@ -69,7 +72,9 @@
6972
"QUERIES": {
7073
"REG_STATS": 1234,
7174
"BUDGET": 123
72-
}
75+
},
76+
"EMBED_REPORTS_MAPPING": "{\"mock\": \"/embed/looks/2\"}",
77+
"ALLOWED_USERS": "[]"
7378
},
7479
"DEFAULT_M2M_USERID": -101
7580
}

config/test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"rabbitmqUrl": "amqp://localhost:5672",
1818
"connectProjectsUrl": "https://local.topcoder-dev.com/projects/",
1919
"dbConfig": {
20-
"masterUrl": "postgres://coder:mysecretpassword@localhost:5433/projectsdb_test",
20+
"masterUrl": "postgres://coder:mysecretpassword@localhost:5432/projectsdb_test",
2121
"maxPoolSize": 50,
2222
"minPoolSize": 4,
2323
"idleTimeout": 1000

0 commit comments

Comments
 (0)