Skip to content

Latest commit

 

History

History
82 lines (56 loc) · 2.79 KB

File metadata and controls

82 lines (56 loc) · 2.79 KB

Data Sources

This prototype search app makes use of a couple different Alaska data sources:

  1. MCI, a SOAP service
  2. ARIES Test, a Postgres database via direct connection
  3. EIS Test, mainframe data exposed via a web service.

More details on each below.

MCI

Master Client Index (MCI)

{
    "Registration" : "0600100001"
}
{
    "FirstName" : "Major",
    "LastName"  : "Snow"
}

ARIES Test data

The ARIES IDs come from the MCI

EIS Test data

The 0600 number is the only parameter in that request

LEGACY SQL Server

http://localhost:5000/sql connects to MS SQL Server. This originates from testing Connx Linked Server.

A Data Story

Client data not consistent across systems:

- http://localhost:5000/mci/people/findByName?firstName=Johana&lastName=Leboeuf has ARIES ID 2400000003
- https://protowebapi-staging.azurewebsites.net/aries?ids=2400000003
- We lose this story in EIS

TODO: we need to find some data that exists across all of these test systems!

AK self-signed certs

Currently we access EIS Webservice over a self-signed SSL Cert, which depends on an internal CA Cert. This is a little problematic for development:

  1. Untrusted requests fail by default in .Net. Configuring the prototype to just ignore certificate warnings only works in Windows environments because .Net has problems driving the underlying libs like openssl in OSX/Linux.
  2. We can add the AK CA Cert to our OSX development system keychain, which doesn't satisfy direct-chrome-browser-requests, but does satisfy the .Net runtime.
  3. I'm not yet sure if we can add a custom CA Cert into our Azure AppService/Hybrid environment, am talking to Azure support about this.

How to handle AK CA Certs for now

  1. Local Dev: Add the custom CA Cert to your keychain. Comment out the handler.ServerCertificateCustomValidationCallback line in EISController.cs
  2. Azure: Until we know if we can add a custom CA Cert, we need to make sure the handler ^^ is present in code so we can bypass the certificate error there.