Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor data model and syncing + implement NATS consumer #116

Merged
merged 45 commits into from
Oct 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
55543c8
add dependency
FelixTJDietrich Oct 12, 2024
e3ef05e
add WIP
FelixTJDietrich Oct 12, 2024
493f006
rename codereview to gitprovider
FelixTJDietrich Oct 12, 2024
7d44216
restructure gitprovider
FelixTJDietrich Oct 12, 2024
deb3448
update gitprovider entities
FelixTJDietrich Oct 13, 2024
c16d0e3
update entities and converters and comment out data sync
FelixTJDietrich Oct 13, 2024
f284a3d
fix db issues
FelixTJDietrich Oct 13, 2024
53c2707
rename base to common and add message handler
FelixTJDietrich Oct 13, 2024
51db1bf
add more message handlers
FelixTJDietrich Oct 13, 2024
7c9824b
remove unused imports
FelixTJDietrich Oct 13, 2024
82eee8f
fix formatting and indentation
FelixTJDietrich Oct 13, 2024
7e59a5b
improve pull request sync
FelixTJDietrich Oct 13, 2024
b5b5919
handle more webhook messages
FelixTJDietrich Oct 20, 2024
b684d24
fix import
FelixTJDietrich Oct 20, 2024
ae64104
handle milestones and deletions
FelixTJDietrich Oct 20, 2024
dc0648a
add return type
FelixTJDietrich Oct 22, 2024
91e0c79
add some fetch functions
FelixTJDietrich Oct 22, 2024
a211dbd
cascade deletes
FelixTJDietrich Oct 23, 2024
13399b9
revert settings change
FelixTJDietrich Oct 23, 2024
be71af2
tidy up NatsConsumerService
FelixTJDietrich Oct 23, 2024
4e72feb
improve syncing
FelixTJDietrich Oct 23, 2024
c7984b8
update docs and finish syncing
FelixTJDietrich Oct 25, 2024
4059700
Merge branch 'develop' into feature/nats-consumer
FelixTJDietrich Oct 25, 2024
38a7af8
update DTOs
FelixTJDietrich Oct 25, 2024
db23fe7
commit stuff
FelixTJDietrich Oct 25, 2024
b4c3b06
fix server side
FelixTJDietrich Oct 26, 2024
a120001
remove unused code
FelixTJDietrich Oct 26, 2024
8ddfcc5
update openapi specs
FelixTJDietrich Oct 26, 2024
aa39217
remove clean openapi specs script
FelixTJDietrich Oct 26, 2024
d6644bc
update api client
FelixTJDietrich Oct 26, 2024
08c7f2f
update client
FelixTJDietrich Oct 26, 2024
6707a98
fix specs generation
FelixTJDietrich Oct 26, 2024
e73d171
fix issue card icon
FelixTJDietrich Oct 26, 2024
0d2caa3
remove unused import
FelixTJDietrich Oct 26, 2024
171eae3
fix dependency by using jitpack
FelixTJDietrich Oct 26, 2024
02d6426
add cooldown
FelixTJDietrich Oct 26, 2024
954617e
remove unecessary fetches
FelixTJDietrich Oct 26, 2024
3290b07
fix nullpointer exception
FelixTJDietrich Oct 26, 2024
169ab83
add left join
FelixTJDietrich Oct 26, 2024
73e75d7
fix unlabeling, unassigning, unrequesting
FelixTJDietrich Oct 27, 2024
e5b8cd8
add issue comments to leaderboard and profile
FelixTJDietrich Oct 27, 2024
3cda83e
use correct link
FelixTJDietrich Oct 27, 2024
01c3eb6
fix wrong issue comment author
FelixTJDietrich Oct 27, 2024
ba18d8d
fix additions deletions
FelixTJDietrich Oct 27, 2024
9ea7782
fix durable consumer
FelixTJDietrich Oct 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,6 @@ cython_debug/

node_modules/

application-local.yml
application-local.yml

server/application-server/postgres-data/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
],
"scripts": {
"generate:api:clean": "rimraf webapp/src/app/core/modules/openapi",
"generate:api:application-server-specs": "cd server/application-server && mvn verify -DskipTests=true && node ../../scripts/clean-openapi-specs.js",
"generate:api:application-server-specs": "cd server/application-server && mvn verify -DskipTests=true -Dapp.profiles=specs",
"generate:api:application-server-client": "npx openapi-generator-cli generate -i server/application-server/openapi.yaml -g typescript-angular -o webapp/src/app/core/modules/openapi --additional-properties fileNaming=kebab-case,withInterfaces=true --generate-alias-as-model",
"generate:api": "npm run generate:api:application-server-specs && npm run generate:api:clean && npm run generate:api:application-server-client"
},
Expand Down
25 changes: 0 additions & 25 deletions scripts/clean-openapi-specs.js

This file was deleted.

24 changes: 24 additions & 0 deletions server/application-server/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Current File",
"request": "launch",
"mainClass": "${file}"
},
{
"type": "java",
"name": "Application",
"request": "launch",
"mainClass": "de.tum.in.www1.hephaestus.Application",
"projectName": "hephaestus",
"env": {
"SPRING_PROFILES_ACTIVE": "local"
},
}
]
}
2 changes: 2 additions & 0 deletions server/application-server/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ services:
- '5432:5432'
networks:
- app-network
volumes:
- ./postgres-data:/var/lib/postgresql/data

keycloak:
image: quay.io/keycloak/keycloak:26.0.0
Expand Down
Loading