bcgov / orgbook-bc-client

Vue.js rewrite of OrgBook BC
Apache License 2.0
6 stars 8 forks source link

Recent updates to the Aries-VCR API have broken OrgBook #222

Closed WadeBarnes closed 4 months ago

WadeBarnes commented 4 months ago

After deploying the latest updates to both Aries-VCR and the OrgBook-BC-Client, the OrgBook is broken. There are likely other issues, and they are likely all related to the update to the API which redirects to API /v4 by default, but here are two to start.

Issue 1

Steps to reproduce:

Result:

Expected Result:

Issue 2

Steps to reproduce:

Result:

Expected Result:

WadeBarnes commented 4 months ago

OrgBook monitoring also needed to be updated. Not so much of an issue as the monitoring should use a specific API, but it does help to indicate the breadth of the impact of the change.

amanji commented 4 months ago

Seems like the call to /quickload is failing because of the redirect. Might need to amend the API to add it as a /v4 endpoint or call /v2 directly in the web app

amanji commented 4 months ago

I don't believe anything else relies on /v2 by default so updating the web app will be the easiest fix

WadeBarnes commented 4 months ago

/api/quickload is not the only API call being affected.

image

I'm sure there are others.