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

feat(AC check): Add endpoint to get most recent event of a body #1074

Draft
wants to merge 11 commits into
base: stable
Choose a base branch
from

Conversation

LeonVreling
Copy link
Member

@LeonVreling LeonVreling commented Jan 28, 2024

Needed for functioning of AEGEE/frontend#2036

@WikiRik
Copy link
Member

WikiRik commented Feb 17, 2024

Before I forget; we do not know right now which events count for the Antenna Criteria (and even that changes depending on if you want to upgrade to an antenna or want to remain an antenna)

Upgrade to an antenna; "Have organised a European event, AEGEE event or AEGEE-Europe event according to
the Event Rules in the past two years."
Remaining an antenna; "Have organised a European event or Summer University at least once every two years."

@WikiRik
Copy link
Member

WikiRik commented Feb 24, 2024

In general I'm okay with merging this (after a positive review), but it cannot be used as AC check yet. The new proposal from EQAC et al also excludes some events mentioned on MyAEGEE to count as fulfilling AC. Maybe we should add an additional field and check for the most recent one of that instead

@LeonVreling
Copy link
Member Author

Yes agreed, this will most likely need to change if the EQAC proposal is accepted (which would also be good for the implementation, since then the criteria are merged that you mentioned above)

@WikiRik
Copy link
Member

WikiRik commented Feb 25, 2024

If I read the draft correctly, the new proposal still does not mention that all MyAEGEE events (that fall under this microservice) are eligible for the AC. So we still need some additional logic here I think. Easiest is to add a checkbox mentioning that it counts as European Event. But do note that as definitions change, we will have more logic there so that's going to be fun

Copy link

codecov bot commented Feb 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (11ea30f) to head (ed10e98).

Additional details and impacted files
@@            Coverage Diff            @@
##            stable     #1074   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines          737       744    +7     
  Branches       172       173    +1     
=========================================
+ Hits           737       744    +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants