Skip to content

Conversation

@awsimaya
Copy link
Contributor

Description of changes:

  • Get rid of TempData and HttpSessions
  • Maintains userId throughout the site using querystrings and hidden fields
  • App wide custom error handling/page

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@awsimaya do we even need this file at all?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will clean up from Rafael's branch. This is harmless for now.

@bonclay7 bonclay7 merged commit 7a6312d into aws-samples:staging Aug 14, 2025
8 checks passed
bonclay7 added a commit that referenced this pull request Aug 15, 2025
* PetSite updates (#350)

* 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

* enable app-signals and autoinstrumentation on petsite

* remove xray sdk and add custom span attributes to the traces from auto-instrumentation

* .NET Version, new page design, favicon etc

* Remove stuff from appsettings

* Add appsettings.development.json to gitignore

* Remove duplicate entries from gitignore

* payforadoption async split into pethistory (#334)

* 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

* Disable code guru comments (#337)

* Fix petsite ADOT migration (#341)

* Create tracing span with activity source on PetSite

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

* useId in querystring, userId in trace context, and new layout + more (#342)

* Set up Rust project structure and core dependencies

* Implement core data models and validation

* Set up configuration management and AWS integration

* Implement DynamoDB repository layer

* Implement business logic services

* Add observability middleware to handle metrics and tracing

* Implement HTTP API endpoints and routing

* Add admin API operations

* Add checkout API

* Cleanup and tests

* Fix docker build

* Add CDK definition

* Update CI tests

* cleanup

* fixup! Update CI tests

* fixup! Update CI tests

* Fix shutdown

* cargo fmt

* Update task def settings

* Improve docker build

* Cargo fmt

* Fix cargo tests

---------

Co-authored-by: Imaya Kumar Jagannathan <[email protected]>
Co-authored-by: Raviteja Sunkavalli <[email protected]>
Co-authored-by: Imaya Kumar Jagannathan <[email protected]>
Co-authored-by: sunkavar <[email protected]>
rafaelpereyra added a commit that referenced this pull request Aug 15, 2025
* chore: Removed old CDK code and reorg apps

* fix: improve build configuration and cleanup

- Fixed indentation in GitHub Actions workflow file (.github/workflows/build-test.yml)
- Added .NET build files pattern (**/obj/**) to .gitignore
- Removed copyright header from minified CSS file (site.min.css)

* New petfood service (#347)

* PetSite updates (#350)

* 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

* enable app-signals and autoinstrumentation on petsite

* remove xray sdk and add custom span attributes to the traces from auto-instrumentation

* .NET Version, new page design, favicon etc

* Remove stuff from appsettings

* Add appsettings.development.json to gitignore

* Remove duplicate entries from gitignore

* payforadoption async split into pethistory (#334)

* 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

* Disable code guru comments (#337)

* Fix petsite ADOT migration (#341)

* Create tracing span with activity source on PetSite

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

* useId in querystring, userId in trace context, and new layout + more (#342)

* Set up Rust project structure and core dependencies

* Implement core data models and validation

* Set up configuration management and AWS integration

* Implement DynamoDB repository layer

* Implement business logic services

* Add observability middleware to handle metrics and tracing

* Implement HTTP API endpoints and routing

* Add admin API operations

* Add checkout API

* Cleanup and tests

* Fix docker build

* Add CDK definition

* Update CI tests

* cleanup

* fixup! Update CI tests

* fixup! Update CI tests

* Fix shutdown

* cargo fmt

* Update task def settings

* Improve docker build

* Cargo fmt

* Fix cargo tests

---------

Co-authored-by: Imaya Kumar Jagannathan <[email protected]>
Co-authored-by: Raviteja Sunkavalli <[email protected]>
Co-authored-by: Imaya Kumar Jagannathan <[email protected]>
Co-authored-by: sunkavar <[email protected]>

* feat: added petfood to the new folder structure

* fix: added missing petsite changes from #347

---------

Co-authored-by: Rafael Pereyra <[email protected]>
Co-authored-by: Rodrigue Koffi <[email protected]>
Co-authored-by: Imaya Kumar Jagannathan <[email protected]>
Co-authored-by: Raviteja Sunkavalli <[email protected]>
Co-authored-by: Imaya Kumar Jagannathan <[email protected]>
Co-authored-by: sunkavar <[email protected]>
bonclay7 added a commit that referenced this pull request Aug 16, 2025
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.

2 participants