Skip to content

Conversation

bonclay7
Copy link
Contributor

@bonclay7 bonclay7 commented Aug 9, 2025

Description of changes:

Microservices status

  • 🔴 PetSite
  • 🟢 PetHistory (new service)
  • 🟢 List adoption (moved to python)
  • 🟢 pay for adoption
  • 🟢 petsearch

@bonclay7 bonclay7 marked this pull request as draft August 9, 2025 21:13
bonclay7 and others added 5 commits August 10, 2025 11:43
* Add UserId to completeadoption API

* Complete adoption moves from transaction to event

* Add SQS permissions

* Modify adoption schema

* Add pet adopter lambda function

* Fix app signals requirements

* Rework petadopter to focus on history in async mode

* Enable testing on staging branch

* Split adoption and history logic

* Update CI tests

* Remove dead param

* Update stack name

* Remove db stats metrics as not collected
* Create tracing span with activity source on PetSite

* add ASPNETCORE_HTTP_PORTS env variable for PetSite to listen on Port 80
* Rework error mode

* Import missing files
* Adding GenAI module with Pet Recommender

* changes

* Petsearch cloudwatch agent

* Update Dockerfile

* Pet list adoption migration from go to python

* Pet list adoption migration from go to python

* Pet list adoption migration from go to python

* Sync petsearch-java folder with upstream main branch

* Pet list adoption migration from go to python

* Fix RDS version conflict: Update PostgreSQL from 13.15 to 16.6 to match current deployment

* Fix Dockerfile: Add execute permissions to start.sh script

* Fix Python service port binding: Use port 8080 instead of 80 to avoid permission issues

* Clean up codebase: Remove unnecessary JS files and update gitignore

- Remove generated JavaScript files from TypeScript compilation
- Update .gitignore to exclude *.js files in the future
- Keep only necessary TypeScript source files
- Update list-adoptions-service.ts configuration
- Update Dockerfile and start.sh for Python service

* Revert: Restore event-demos JavaScript files

- Restore JavaScript files under PetAdoptions/cdk/pet_stack/resources/event-demos/
- These are demo/example files that should be preserved
- Also restore syn-apicanary.js and syn-uicanary.js files
- Keep the .gitignore update to exclude generated JS files from lib/ directory

* Fix Docker configuration: Run as root for port 80 access

- Update Dockerfile to clearly indicate running as root for port 80
- Remove commented USER line that was confusing
- Add comment in start.sh to clarify root access for port 80
- Ensure proper port 80 binding for ECS deployment

* Add dinosaur pet type 404 error handling to SearchController

- Added condition to check if pettype equals 'dinosaur' and return 404 error
- Created ErrorResponse class for structured error responses
- Added proper logging and OpenTelemetry span attributes
- Added test endpoint for dinosaur error scenario
- Removed unnecessary documentation and configuration files

* Revert launch.json files to previous state

* Pet Search add 400 error scenarios

---------

Co-authored-by: Siva Guruvareddiar <[email protected]>
Co-authored-by: Rodrigue Koffi <[email protected]>
* useId in querystring, userId in trace context, and new layout + more

* Basecontroller changes to avoid dual redirect

* Change SSM approach

* Change SSM Access and change petitem layout slightly

* Comment cuteness rate for testing

* TryParse check

* Comment Food stuff

* Aggressive logging for debugging purposes

* Add app wide error page
bonclay7 and others added 6 commits August 14, 2025 17:15
* Adding GenAI module with Pet Recommender

* changes

* Petsearch cloudwatch agent

* Update Dockerfile

* Pet list adoption migration from go to python

* Pet list adoption migration from go to python

* Pet list adoption migration from go to python

* Sync petsearch-java folder with upstream main branch

* Pet list adoption migration from go to python

* Fix RDS version conflict: Update PostgreSQL from 13.15 to 16.6 to match current deployment

* Fix Dockerfile: Add execute permissions to start.sh script

* Fix Python service port binding: Use port 8080 instead of 80 to avoid permission issues

* Clean up codebase: Remove unnecessary JS files and update gitignore

- Remove generated JavaScript files from TypeScript compilation
- Update .gitignore to exclude *.js files in the future
- Keep only necessary TypeScript source files
- Update list-adoptions-service.ts configuration
- Update Dockerfile and start.sh for Python service

* Revert: Restore event-demos JavaScript files

- Restore JavaScript files under PetAdoptions/cdk/pet_stack/resources/event-demos/
- These are demo/example files that should be preserved
- Also restore syn-apicanary.js and syn-uicanary.js files
- Keep the .gitignore update to exclude generated JS files from lib/ directory

* Fix Docker configuration: Run as root for port 80 access

- Update Dockerfile to clearly indicate running as root for port 80
- Remove commented USER line that was confusing
- Add comment in start.sh to clarify root access for port 80
- Ensure proper port 80 binding for ECS deployment

* Add dinosaur pet type 404 error handling to SearchController

- Added condition to check if pettype equals 'dinosaur' and return 404 error
- Created ErrorResponse class for structured error responses
- Added proper logging and OpenTelemetry span attributes
- Added test endpoint for dinosaur error scenario
- Removed unnecessary documentation and configuration files

* Revert launch.json files to previous state

* Pet Search add 400 error scenarios

* Throw 404 error for invalid pet types

---------

Co-authored-by: Siva Guruvareddiar <[email protected]>
Co-authored-by: Rodrigue Koffi <[email protected]>
* useId in querystring, userId in trace context, and new layout + more

* Basecontroller changes to avoid dual redirect

* Change SSM approach

* Change SSM Access and change petitem layout slightly

* Comment cuteness rate for testing

* TryParse check

* Comment Food stuff

* Aggressive logging for debugging purposes

* Add app wide error page

* Adding logging to AdoptionController

* Add DataProtection dependency for TempData

* Make TempData use Session

* Get rid of TempData altogether

* Logging for ViewData checks

* Change from HttpSession Cookies for Payment

* Moved userId management to ViewData and  hidden controls

* Validate querystring in URLs, use inline input fields for userIds

* Add Helpers

* App wide Error page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants