Skip to content

Commit 1d4d831

Browse files
fix challenge update (#10)
* fix challenge update * use latest version of the framework * add some logging * add some logging * change logging and add try/catch * fix: update protos * disable associateChallengeTerms * fix issue with terms
1 parent 909ee84 commit 1d4d831

30 files changed

+12995
-270
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ workflows:
4747
context: "org-global"
4848
filters:
4949
branches:
50-
only: "main"
50+
only: "fix/update"

bin/server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const protoConfig = [
3131
`--descriptor_set_out ${PROTO_REFLECTIONS}`,
3232
`--proto_path ${PROTO_DIR} ${PROTO_DIR}/common/*.proto`,
3333
`--proto_path ${PROTO_DIR} ${PROTO_DIR}/domain-layer/challenge/*.proto`,
34+
`--proto_path ${PROTO_DIR} ${PROTO_DIR}/domain-layer/legacy/*.proto`,
3435
`--proto_path ${PROTO_DIR} ${PROTO_DIR}/domain-layer/challenge/services/*.proto`,
3536
];
3637

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
"dependencies": {
2222
"@grpc/grpc-js": "^1.7.1",
2323
"@opensearch-project/opensearch": "^2.2.0",
24-
"@topcoder-framework/domain-acl": "^0.6.2",
24+
"@topcoder-framework/domain-acl": "^0.6.4",
2525
"axios": "^1.2.2",
2626
"dotenv": "^16.0.3",
2727
"grpc-server-reflection": "^0.1.5",
2828
"lodash": "^4.17.21",
2929
"moment": "^2.29.4",
3030
"source-map-support": "^0.5.21",
3131
"tc-core-library-js": "appirio-tech/tc-core-library-js.git#v2.6.4",
32-
"topcoder-interface": "github:topcoder-platform/plat-interface-definition#v0.0.22",
32+
"topcoder-interface": "github:topcoder-platform/plat-interface-definition#v0.0.26",
3333
"uuidv4": "^6.2.13",
3434
"xss": "^1.0.14"
3535
},

src/common/Constants.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@ export const ProjectInfoIds = {
3939
export const ResourceInfoIds = {
4040
CopilotPayment: 7,
4141
};
42+
43+
export const ChallengeStatuses = {
44+
New: 'New',
45+
};

0 commit comments

Comments
 (0)