-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Contest creation on backend ### What's done: * Added endpoint for contest creation * Added column for organization table - a flag that indicates whether an organization can create contests or not * Added column for contest table - id of an organization that has created this contest * Reworked LnkUserOrganizationController - made it reactive * Added swagger annotations for LnkUserOrganizationController * Added swagger annotations for ContestController * Updated dev database insertions * Updated diktat-analysis.yml (#959) * Update backend-api-docs.json Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Kirill Gevorkyan <[email protected]>
- Loading branch information
1 parent
f27a176
commit 79112b5
Showing
19 changed files
with
1,229 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
id;name;status;start_time;end_time;description | ||
1;"ActiveContest1";"CREATED";"2021-01-01 00:00:00";"2025-01-01 00:00:00";"Test Contest 1" | ||
2;"ActiveContest2";"CREATED";"2021-06-15 09:15:00";"2023-01-01 00:00:00";"Test Contest 2" | ||
3;"FinishedContest1";"CREATED";"2021-06-15 09:15:00";"2022-06-15 09:15:00";"Finished Contest 1" | ||
4;"FinishedContest2";"CREATED";"2021-01-01 00:00:00";"2022-01-15 09:15:00";"Finished Contest 2" | ||
5;"DeletedContest";"DELETED";"2021-01-01 00:00:00";"2023-01-01 00:00:00";"Deleted Contest" | ||
id;name;status;start_time;end_time;description;organization_id | ||
1;"ActiveContest1";"CREATED";"2021-01-01 00:00:00";"2025-01-01 00:00:00";"Test Contest 1";1 | ||
2;"ActiveContest2";"CREATED";"2021-06-15 09:15:00";"2023-01-01 00:00:00";"Test Contest 2";1 | ||
3;"FinishedContest1";"CREATED";"2021-06-15 09:15:00";"2022-06-15 09:15:00";"Finished Contest 1";1 | ||
4;"FinishedContest2";"CREATED";"2021-01-01 00:00:00";"2022-01-15 09:15:00";"Finished Contest 2";2 | ||
5;"DeletedContest";"DELETED";"2021-01-01 00:00:00";"2023-01-01 00:00:00";"Deleted Contest";1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
id;name;owner_id;date_created | ||
1;"Huawei";1;"2021-01-01 00:00:00" | ||
2;"Example.com";1;"2021-01-01 00:00:00" | ||
id;name;owner_id;date_created;can_create_contests | ||
1;"Huawei";1;"2021-01-01 00:00:00";true | ||
2;"Example.com";1;"2021-01-01 00:00:00";false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.