-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NRPTI-1045][FEATURE] - issuing agency update (#1120)
* add menu item and page code - wip * Updated the front end to display list of agencies from drop down and update values from that list with value from a text box. * create model and migration for agencies * fix to model and migration - wip * update agency code migration, add update issuingAgency * update model to only add to nrpti collection * sample api added - list-agencies WIP * added api to list agencies, schema type * added get api * put api added for updating agencies * New component to make request to new endpoint for issuing agencies * Options added * Fixed component to properly display the information returned from get request * Update the agencyList array with selection from drop down menu. Create the object which will be sent to the api for updating the agencyList. Also worth noting the alerts are being used here for console debugging. My local settings are preventing logging, when I find the reason I will update readme to document process * First steps of patch logic to the update agency service * Front end component updates entries in for agency issuers through new endpoint. * security token enabled, alerts removed, compile issue fixed * toast added * button style updated * Style added to dropdown * current selected agency removed * wip - add agency service to app_init, change displayName * error message added * removed logging and fixed indentation * replaced hardcoded agency names with api calls * api call moved to service layer * issuing agency in add order replaced with api calls * add climate action secretariat to migrations * wip - agencies are updated in factory, prelim update to components * wip - update picklist to allow dynamic update (admin penalty only) * wip - make buildForm for admin penalty async * wip - update to factory service, fix buildForm in admin penalty * refresh agencies after they are updated * remove async ngOnInit, no longer needed * update to more relevant terminology * update to agencies in components and modules * agency name translated to agency code on admin penalty save * update admin penalty to show agency; linting updates * linting updates * linting updates * API unit tests fix * linting fix for agency-data-service * Agencies icon changed * agency code updated * agency code updated * issuing agency replaced with api call * update migration to change 'author' name to code; separate agency_env_epd * update migration for ENV_EPD and update authors * linting: white space added * linting * Update api/src/models/master/applicationAgency.js Co-authored-by: Matthew Logan <62873746+LocalNewsTV@users.noreply.github.com> * Update api/src/swagger/swagger.yaml crlf Co-authored-by: Matthew Logan <62873746+LocalNewsTV@users.noreply.github.com> * Update api/migrations/20230911220312-addApplicationAgenciesModel.js crlf Co-authored-by: Matthew Logan <62873746+LocalNewsTV@users.noreply.github.com> * comments added, unused function removed * revert migration update * revert migration; update NRPTI agency filter * mine record page updated to use agency code * mines collection updated to use agency code * update importers to use agencyCodes * update importer integrations to use agencyCodes * fix some failing tests * refactoring * add documentation to new files and migrations; minor code cleanup * migration added for bcmi * fix missing agency codes in integrations; add epic test * wip - nrced agency swap * fix to call agency data service on init in nrced * NRCED records updated with agency api call * fix agency code transformation for nris-epd, fix tests * fix issuing agency for nris-epd integration * update to show ministry name on mines table * sonarcloud fixes * fix to show agency name in mines detail components * show correct agency names in mines enforcement components --------- Co-authored-by: David <62899351+davidclaveau@users.noreply.github.com> Co-authored-by: Christopher-walsh22 <106549296+Christopher-walsh22@users.noreply.github.com> Co-authored-by: Matthew Logan <62873746+LocalNewsTV@users.noreply.github.com>
- Loading branch information
1 parent
147effc
commit 97271a8
Showing
92 changed files
with
747 additions
and
259 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
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
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
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
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
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
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.