Back-end and APIs to pull information. This is replacing the old people function app and the old contact support app.
There will be two locations, one for each project:
- https://directoryapi.itpartners.illinois.edu. This has a database connection and is only used to load and serve area, office, employee, and directory information.
- https://directory.itpartners.illinois.edu. This also has a database connection and is a Blazor application.
Currently, none. We do development on local machines.
Using CI -- Github Action to a Function App and an App Service.
Download the code. Use NuGet to get the latest copy of the executables.
The "local.settings.json" needs to be filled in with a proper Data Warehouse key and Experts API information, or add it to your local secrets file.
The database uses EF to generate, and it will generate Rob and Bryan as admins automatically.
Note that to access the data warehouse, you need to be on VPN, even if you are testing locally.
For the Elasticsearch instance, create one through AWS. You can set the mapping through the function app HTTP request LoadMapping.
Information about EF Core Tools:
Make sure the uofi-itp-directory project is set up as the startup project before running the commands below:
Add-Migration -Name {migration name} -Project uofi-itp-directory-data
Update-Database -Project uofi-itp-directory-data
If you run into the issue "The certificate chain was issued by an authority that is not trusted.", then add TrustServerCertificate=True to the connection string.
There are five projects in this solution. They are:
- uofi-itp-directory: The Blazor Application
- uofi-itp-directory-function: The Function application
- uofi-itp-directory-data: A class project that contains the database and logic to add/retrieve from the database
- uofi-itp-directory-search: A class project that contains the Amazon Open Search Services and logic to add/retrieve from the service
- uofi-itp-directory-external: A class project that contains connections to campus solutions (Data Warehouse, Program Course Repository, Illinois Experts)