-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature/185/cloud migration #189
Merged
Merged
Conversation
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
…d position_statements, update append positions, fix append_sidejob_organisations, add gen_images.json, add extract_and_sum_ammounts function, add update sidejobs income function, update politician_images
…d position_statements, update append positions, fix append_sidejob_organisations, add gen_images.json, add extract_and_sum_ammounts function, add update sidejobs income function, update politician_images
…TheFacts/backend into feature/185/cloud-migration
Kudos, SonarCloud Quality Gate passed! |
RichardKruemmel
added a commit
that referenced
this pull request
Nov 5, 2023
* Order sidejobs desc * feat: Generate UMLs by pylint * feat: Add README * feat: Move the README * feat: Move the README again * feat: Test Parliament table * feat: Update Arrange and CleanUp for tests * feat: Test PartyDonation related tables * feat: Add README * feat: Add setup for party donation testing * feat: Test get_all_party_donations and fix typing * feat: Update README * feat: Add Cleanup * feat: Create Repo pattern for party_donation and test it * feat: Test repo with raw SQL * feat: Add README * feat: Impl Factory pattern and update tests * feat: Rename tests * feat: Add list method and test it * feat: Rename func * feat: Restructure tests * feat: Set up env for testing * feat: Test pary_donation_v1 endpoint by postgres * feat: Test plugin party_donation endpoint * feat: Replace with repo * feat: Test parties endpoint * feat: Restructure e2e testing * feat: Replace with repo * feat: Update README * feat: Update README * feat: Remove floating point numbers testing * feat: Pass default value to connection * feat: Exempt tests/e2e from yml * feat: Fix exempt * feat: Restore mock_up_database and fix the test * feat: Run black * feat: Fix sonarcloud errors * feat: Exempt from test_v1 * feat: Fix test_repository * Update CD to support development environment after Cloud migration * Trigger CD with push * Revert changes to CD pipeline after ensuring correct setup * Feature/185/cloud migration (#189) * Update no new platform version * Update env for pushing to new ebs env * Trigger cd pipeline on cloud migration branch * disable tests temporarily * Update CI * Add openai * Delete csv data * Create new api version * Add Income to db model * Add Image copyright politician model * Add latest elections to parser * Add match topic to position function * Create get last day of the month util function * Add get party donation details function * Update to v2 and incluse api v2 * Add new schemas * Update Schema naming * Fix politician route only showing 5 sidejobs * Fix append_candidacies & comittees, add income to sidejobs, add append position_statements, update append positions, fix append_sidejob_organisations, add gen_images.json, add extract_and_sum_ammounts function, add update sidejobs income function, update politician_images * Update information about scrapers * Load partydonation orgs and clean it * Extract and clean donors * Fox reformat data function and check if donation exists * Refactor partydonation org function * Update no new platform version * Update env for pushing to new ebs env * Trigger cd pipeline on cloud migration branch * Update CI * Add openai * Delete csv data * Create new api version * Add Income to db model * Add Image copyright politician model * Add latest elections to parser * Add match topic to position function * Create get last day of the month util function * Add get party donation details function * Update to v2 and incluse api v2 * Add new schemas * Update Schema naming * Fix politician route only showing 5 sidejobs * Fix append_candidacies & comittees, add income to sidejobs, add append position_statements, update append positions, fix append_sidejob_organisations, add gen_images.json, add extract_and_sum_ammounts function, add update sidejobs income function, update politician_images * Update information about scrapers * Load partydonation orgs and clean it * Extract and clean donors * Fox reformat data function and check if donation exists * Refactor partydonation org function * Fix JSonEncoder for SQL models * Change partydonation details to align with quarters and add helper function * Add get last day of the month function * Fix donation_exists and clean_donations * Add donation_org exist, add edge cases and fix helper functions * Fix extract and clean donor function * Add caching to v2 routes * Fix append partydonation function * Update poetry.lock * Add ci job for development PR * Disable tests temporarily * Update packages --------- Co-authored-by: Takahiro Mitsui <[email protected]>
RichardKruemmel
added a commit
that referenced
this pull request
Nov 6, 2023
* Order sidejobs desc * feat: Generate UMLs by pylint * feat: Add README * feat: Move the README * feat: Move the README again * feat: Test Parliament table * feat: Update Arrange and CleanUp for tests * feat: Test PartyDonation related tables * feat: Add README * feat: Add setup for party donation testing * feat: Test get_all_party_donations and fix typing * feat: Update README * feat: Add Cleanup * feat: Create Repo pattern for party_donation and test it * feat: Test repo with raw SQL * feat: Add README * feat: Impl Factory pattern and update tests * feat: Rename tests * feat: Add list method and test it * feat: Rename func * feat: Restructure tests * feat: Set up env for testing * feat: Test pary_donation_v1 endpoint by postgres * feat: Test plugin party_donation endpoint * feat: Replace with repo * feat: Test parties endpoint * feat: Restructure e2e testing * feat: Replace with repo * feat: Update README * feat: Update README * feat: Remove floating point numbers testing * feat: Pass default value to connection * feat: Exempt tests/e2e from yml * feat: Fix exempt * feat: Restore mock_up_database and fix the test * feat: Run black * feat: Fix sonarcloud errors * feat: Exempt from test_v1 * feat: Fix test_repository * Update CD to support development environment after Cloud migration * Trigger CD with push * Revert changes to CD pipeline after ensuring correct setup * Feature/185/cloud migration (#189) * Update no new platform version * Update env for pushing to new ebs env * Trigger cd pipeline on cloud migration branch * disable tests temporarily * Update CI * Add openai * Delete csv data * Create new api version * Add Income to db model * Add Image copyright politician model * Add latest elections to parser * Add match topic to position function * Create get last day of the month util function * Add get party donation details function * Update to v2 and incluse api v2 * Add new schemas * Update Schema naming * Fix politician route only showing 5 sidejobs * Fix append_candidacies & comittees, add income to sidejobs, add append position_statements, update append positions, fix append_sidejob_organisations, add gen_images.json, add extract_and_sum_ammounts function, add update sidejobs income function, update politician_images * Update information about scrapers * Load partydonation orgs and clean it * Extract and clean donors * Fox reformat data function and check if donation exists * Refactor partydonation org function * Update no new platform version * Update env for pushing to new ebs env * Trigger cd pipeline on cloud migration branch * Update CI * Add openai * Delete csv data * Create new api version * Add Income to db model * Add Image copyright politician model * Add latest elections to parser * Add match topic to position function * Create get last day of the month util function * Add get party donation details function * Update to v2 and incluse api v2 * Add new schemas * Update Schema naming * Fix politician route only showing 5 sidejobs * Fix append_candidacies & comittees, add income to sidejobs, add append position_statements, update append positions, fix append_sidejob_organisations, add gen_images.json, add extract_and_sum_ammounts function, add update sidejobs income function, update politician_images * Update information about scrapers * Load partydonation orgs and clean it * Extract and clean donors * Fox reformat data function and check if donation exists * Refactor partydonation org function * Fix JSonEncoder for SQL models * Change partydonation details to align with quarters and add helper function * Add get last day of the month function * Fix donation_exists and clean_donations * Add donation_org exist, add edge cases and fix helper functions * Fix extract and clean donor function * Add caching to v2 routes * Fix append partydonation function * Update poetry.lock * Add ci job for development PR * Disable tests temporarily * Update packages * Disable caching for routes connecting to own db (#191) --------- Co-authored-by: Takahiro Mitsui <[email protected]>
RichardKruemmel
added a commit
that referenced
this pull request
Nov 10, 2023
* Order sidejobs desc * feat: Generate UMLs by pylint * feat: Add README * feat: Move the README * feat: Move the README again * feat: Test Parliament table * feat: Update Arrange and CleanUp for tests * feat: Test PartyDonation related tables * feat: Add README * feat: Add setup for party donation testing * feat: Test get_all_party_donations and fix typing * feat: Update README * feat: Add Cleanup * feat: Create Repo pattern for party_donation and test it * feat: Test repo with raw SQL * feat: Add README * feat: Impl Factory pattern and update tests * feat: Rename tests * feat: Add list method and test it * feat: Rename func * feat: Restructure tests * feat: Set up env for testing * feat: Test pary_donation_v1 endpoint by postgres * feat: Test plugin party_donation endpoint * feat: Replace with repo * feat: Test parties endpoint * feat: Restructure e2e testing * feat: Replace with repo * feat: Update README * feat: Update README * feat: Remove floating point numbers testing * feat: Pass default value to connection * feat: Exempt tests/e2e from yml * feat: Fix exempt * feat: Restore mock_up_database and fix the test * feat: Run black * feat: Fix sonarcloud errors * feat: Exempt from test_v1 * feat: Fix test_repository * Update CD to support development environment after Cloud migration * Trigger CD with push * Revert changes to CD pipeline after ensuring correct setup * Feature/185/cloud migration (#189) * Update no new platform version * Update env for pushing to new ebs env * Trigger cd pipeline on cloud migration branch * disable tests temporarily * Update CI * Add openai * Delete csv data * Create new api version * Add Income to db model * Add Image copyright politician model * Add latest elections to parser * Add match topic to position function * Create get last day of the month util function * Add get party donation details function * Update to v2 and incluse api v2 * Add new schemas * Update Schema naming * Fix politician route only showing 5 sidejobs * Fix append_candidacies & comittees, add income to sidejobs, add append position_statements, update append positions, fix append_sidejob_organisations, add gen_images.json, add extract_and_sum_ammounts function, add update sidejobs income function, update politician_images * Update information about scrapers * Load partydonation orgs and clean it * Extract and clean donors * Fox reformat data function and check if donation exists * Refactor partydonation org function * Update no new platform version * Update env for pushing to new ebs env * Trigger cd pipeline on cloud migration branch * Update CI * Add openai * Delete csv data * Create new api version * Add Income to db model * Add Image copyright politician model * Add latest elections to parser * Add match topic to position function * Create get last day of the month util function * Add get party donation details function * Update to v2 and incluse api v2 * Add new schemas * Update Schema naming * Fix politician route only showing 5 sidejobs * Fix append_candidacies & comittees, add income to sidejobs, add append position_statements, update append positions, fix append_sidejob_organisations, add gen_images.json, add extract_and_sum_ammounts function, add update sidejobs income function, update politician_images * Update information about scrapers * Load partydonation orgs and clean it * Extract and clean donors * Fox reformat data function and check if donation exists * Refactor partydonation org function * Fix JSonEncoder for SQL models * Change partydonation details to align with quarters and add helper function * Add get last day of the month function * Fix donation_exists and clean_donations * Add donation_org exist, add edge cases and fix helper functions * Fix extract and clean donor function * Add caching to v2 routes * Fix append partydonation function * Update poetry.lock * Add ci job for development PR * Disable tests temporarily * Update packages * Disable caching for routes connecting to own db (#191) * Hotfix/poll passed (#193) * Fix did_vote_pass logic as simple majority means more yes than no * Utilise did_vote_pass func * Update poll, vote and sidejobs data * Refactor fetch functions and handle database sessions properly * Refactor insert_and_update functions to handle exceptions and close sessions properly --------- Co-authored-by: Takahiro Mitsui <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add v2 router
Add endpoint for partydonation feature
Introduce changes due to cloud change