bcgov / bcgov/bcparks-ar-admin

A&R-> Issue with the Lambda function which updates the park names

Open
#492 0 comments 0 reactions 0 assignees View on GitHub
A&R bug
Dominant language
TypeScript
Stars
5
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Scenario:
* Navigate to the TEST Data register and make a change to any of the park name.
* Login to the AWS of Attendance and Revenue Test environment
* Run the labda which updated the park names for A&R.
* Check if the park name you changed from DR get reflected on A&R

Issue:
* When Lambda function runs, it shows an error in the logs and the park names on the A&R does not get updated.

Image

Notes from @marklise after troubleshooting:

> looks like test is calling prod data.bcparks.ca.

> looks like the api is returning HTML instead of JSON...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Lambda logs in the AWS Attendance and Revenue Test environment and the configuration for the API it calls. Compare the TEST endpoint with the noted prod data.bcparks.ca endpoint and verify the response format. Done means the Lambda runs without the HTML-versus-JSON error and a park name changed in the TEST Data register is reflected in A&R.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
api, backend, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.