Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit c0d955f

Browse files
authored
Merge pull request #404 from topcoder-platform/develop
June 16 deploy
2 parents beb528c + 87355ab commit c0d955f

Some content is hidden

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

56 files changed

+419
-2021
lines changed

Diff for: .DS_Store

0 Bytes
Binary file not shown.

Diff for: .gitlab-ci.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ variables:
66
APP_TITLE: "topcoder x app"
77
NODE_ENV: development
88

9-
services:
10-
- mongo
11-
129
cache:
1310
paths:
1411
- node_modules/
@@ -60,5 +57,4 @@ deploy_stage:
6057
url: $HEROKU_STAGING_URL
6158
variables:
6259
GIT_STRATEGY: fetch
63-
GIT_SUBMODULE_STRATEGY: recursive
64-
MONGODB_URI: mongodb://mongo:27017/topcoderx'
60+
GIT_SUBMODULE_STRATEGY: recursive

Diff for: DynamoDBMigration.md

-40
This file was deleted.

Diff for: README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Requirements
44

55
- Nodejs 8 is required
6-
- MongoDB 3.2
6+
- DynamoDB
77
- kafka
88
- nodemon (for local development)
99

@@ -69,10 +69,9 @@ Server should be started at port 80.
6969
Follow the below steps to deploy the app to heroku
7070
1. `heroku login`
7171
2. `heroku create`
72-
3. `heroku addons:create mongolab`
73-
4. `heroku config:set NPM_CONFIG_PRODUCTION=false` so that heroku will install dev dependencies
74-
5. `git push heroku master` or `git push heroku develop:master` to deploy develop branch
75-
6. `heroku open` to load the app on browser
72+
3. `heroku config:set NPM_CONFIG_PRODUCTION=false` so that heroku will install dev dependencies
73+
4. `git push heroku master` or `git push heroku develop:master` to deploy develop branch
74+
5. `heroku open` to load the app on browser
7675

7776
Note: heroku domain should match subdomain of topcoder-dev or topcoder depending upon target topcoder environment
7877

Diff for: TopcoderXDeploy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Topcoder-X comprises 3 pieces:
2222
* Topcoder-X Processor that handles the messages created by the receiver. The processor handles the interactions with the Topcoder platform, via the Topcoder challenge API, and it also handles adding comments back to Github / Gitlab when things are updated on the Topcoder challenge.
2323
* Topcoder-X UI that allows copilots and others to manage the Topcoder-X integrations with Github and Gitlab projects. The user can add new Github and Gitlab integrations, including setting up default webhooks and labels for issues, all through the UI.
2424

25-
All 3 pieces will be configured to use the same MongoDB and Kafka installations.
25+
All 3 pieces will be configured to use the same DynamoDB and Kafka installations.
2626

2727

2828
## DynamoDB

Diff for: configuration.md

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ The following config parameters are supported, they are defined in `src/config.j
3434
|IS_LOCAL | Use Amazon DynamoDB Local or server. |true |
3535
|AWS_CONNECTION_TIMEOUT | The timeout used to check if the app is healthy. |10000 |
3636
|TC_LOGIN_URL | TC login url | |
37+
|DYNAMODB_WAIT_TABLE_FOR_ACTIVE_TIMEOUT | Dynamodb wait for active timeout |10 minutes |
38+
3739

3840
## GitHub OAuth App Setup
3941

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"parse-domain": "^2.1.2",
8181
"shortid": "^2.2.8",
8282
"ssl-express-www": "^3.0.3",
83-
"superagent": "^3.6.0",
83+
"superagent": "^6.1.0",
8484
"superagent-promise": "^1.1.0",
8585
"typescript": "~2.3.3",
8686
"uuid": "^3.3.2",

Diff for: scripts/mongodb-migration/README.MD

-37
This file was deleted.

Diff for: scripts/mongodb-migration/config/default.js

-25
This file was deleted.

Diff for: scripts/mongodb-migration/constants.js

-28
This file was deleted.

Diff for: scripts/mongodb-migration/create-empty-tables.js

-65
This file was deleted.

Diff for: scripts/mongodb-migration/dynamodb/db-helper.js

-67
This file was deleted.

0 commit comments

Comments
 (0)