feat(cloudwatch-appsignals-mcp-server): add python flask sample app f…
Fixes
Summary
Adds Python Flask sample app for enablement evaluation.
Changes
- Simple Flask application (
app.py) with:- Health check endpoint (
/health) - S3 buckets listing endpoint (
/api/buckets) - Environment-based configuration (PORT, SERVICE_NAME, AWS_REGION)
_Dockerfilefor containerized deployment with Python 3.11requirements.txtwith Flask 3.0.0 and boto3 dependenciesstart.sh- Startup script for local developmentgenerate-traffic.sh- Traffic generator for testing
- Health check endpoint (
User experience
This sample app will be used as part of our evaluation framework to test Application Signals enablement with Python-Flask scenarios.
Checklist
If your change doesn't seem to apply, please leave them unchecked.
- [x] I have reviewed the contributing guidelines
- [x] I have performed a self-review of this change
- [x] Changes have been tested
- [x] Changes are documented
Is this a breaking change? (Y/N) N
RFC issue number:
Checklist:
- [ ] Migration process documented
- [ ] Implement warnings (if it can live side by side)
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 89.92%. Comparing base (c9a8f82) to head (720ab5b).
Additional details and impacted files
@@ Coverage Diff @@
## main #1599 +/- ##
==========================================
- Coverage 90.08% 89.92% -0.17%
==========================================
Files 751 630 -121
Lines 54377 48048 -6329
Branches 8672 7788 -884
==========================================
- Hits 48988 43206 -5782
+ Misses 3454 3081 -373
+ Partials 1935 1761 -174
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.