Skip to content

Commit 4e943ae

Browse files
committed
Merge pull request #28 from appirio-tech/release
Merge release to master
2 parents e803bba + ed43008 commit 4e943ae

File tree

2 files changed

+55
-1
lines changed

2 files changed

+55
-1
lines changed

apiary.apib

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
FORMAT: 1A
2+
HOST: https://api.topcoder.com/v3
3+
4+
# ap-review-microservice
5+
6+
Services to enable members to review submissions.
7+
8+
It includes functionality for scorecards, scorecard questions, reviews,
9+
review items, scoring individual reviews, aggregating review scores.
10+
11+
# Scorecard API [/scorecards]
12+
13+
Scorecard represents the top level object of the questions that should be
14+
asked to reviewers during a review phase
15+
16+
## Retrieve Scorecards [GET /?filter=scorecardId%3Dvalue&challengeId%3Dvalue]
17+
18+
Retrieves scorecards
19+
20+
+ Parameters
21+
+ filter: fieldName=fieldValue (enum[string],optional) - parameter for filtering the fields according to v3 spec
22+
+ scorecardId - Filter parameter to retrieve a specific scorecard by id
23+
+ challengeId - Filter parameter to retrieve a specific scorecard that is assigned to the review phase of a challenge
24+
25+
+ Request (application/json)
26+
27+
+ Headers
28+
29+
Authorization: Bearer token
30+
Accept: application/json
31+
32+
+ Response 200 (application/json)
33+
34+
{
35+
"id": "-40894480:14dbb858e00:-7fb7",
36+
"result": {
37+
"success": true,
38+
"status": 200,
39+
"metadata": null,
40+
"content": [
41+
{
42+
"updatedAt": "",
43+
"createdAt": "",
44+
"createdBy": "",
45+
"updatedBy": "",
46+
"id": "",
47+
"name": ""
48+
}
49+
]
50+
},
51+
"version": "v3"
52+
}
53+
54+

service/run-config/prod/src/main/resources/supply-server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ databases:
3434
validationQuery: select 1 from systables
3535

3636
# the JDBC URL
37-
url: jdbc:informix-sqli://10.25.94.52:2020/tcs_catalog:INFORMIXSERVER=informixoltp_shmr;IFX_LOCK_MODE_WAIT=5;OPTCOMPIND=0;STMT_CACHE=1;
37+
url: jdbc:informix-sqli://10.25.94.50:2020/tcs_catalog:INFORMIXSERVER=informixoltp_tcp;IFX_LOCK_MODE_WAIT=5;OPTCOMPIND=0;STMT_CACHE=1;
3838

3939
# the minimum number of connections to keep open
4040
minSize: 2

0 commit comments

Comments
 (0)