Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge main pr #535

Merged
merged 199 commits into from
Feb 19, 2025
Merged

chore: merge main pr #535

merged 199 commits into from
Feb 19, 2025

Conversation

530051970
Copy link
Collaborator

@530051970 530051970 commented Feb 19, 2025

Fixes #

🤖 AI-Generated PR Description (Powered by Amazon Bedrock)

Description

This pull request includes a variety of changes, including modifications to existing files, additions of new files, and a potential error in one file. The changes span across multiple directories, such as .github/workflows/, api_test/, docs/api_doc/apis/, and a new directory source/cs-portal/ containing a React application.

The main highlights of this pull request are:

  • Updates to GitHub Actions workflow and API testing configurations
  • Addition of cost documentation files (COST.md and COST_zh-cn.md)
  • Updates to README files
  • Addition of policies and test report files for API testing
  • Modifications to the OpenAPI specification file (api-prod-oas30.yaml)
  • Introduction of a new React application under source/cs-portal/, including various source files and configurations

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

File Stats Summary

File number involved in this PR: 29, unfold to see the details:

The file changes summary is as follows:

Files
Changes
Change Summary
.viperlightignore 2 added, 0 removed The changes include updates to README files, configuration scripts, an intention corpus file, a React footer component, and a policies JSON file.
api_test/ agent-api-test-report-function-role.json 20 added, 0 removed This code change adds an IAM policy document that grants permissions to create log groups and streams in AWS CloudWatch Logs for a specific Lambda function.
api_test/config.json 3 added, 2 removed The code changes include updating the prefix, enabling the use of an open-source LLM for chat, modifying the Amazon Connect configuration, and changing the model assets bucket.
README.md 3 added, 0 removed This commit adds a new section for Cost information, referring to a COST.md file, and updates the Contribution section with a link to the CONTRIBUTING.md file for security issue notifications.
source/cs-portal/.gitignore 27 added, 0 removed This code change adds a .gitignore file, which specifies files and directories to be ignored by Git version control, such as logs, compiled output, node modules, and editor-specific files.
source/cs-portal/eslint.config.js 28 added, 0 removed This code sets up ESLint configuration for TypeScript and React projects, enabling recommended rules, React Hooks linting, and React Refresh support.
source/cs-portal/src/components/CustomerInfoColumn.css 1 added, 0 removed This code change adds a single empty line to a new file.
source/cs-portal/README.md 50 added, 0 removed This code snippet provides a minimal setup for React with TypeScript and Vite, enabling hot module replacement (HMR) and ESLint rules. It also includes instructions for expanding the ESLint configuration to enable type-aware lint rules and integrate the react plugin for React-specific linting.
source/cs-portal/src/components/ChatColumn.css 1 added, 0 removed This code change adds an empty line to a new file.
source/cs-portal/src/components/Banner.tsx 172 added, 0 removed This code implements a responsive and animated banner carousel component with autoplay functionality, navigation buttons, and indicators using React and Material-UI (MUI) components.
.github/workflows/intelli-ops.yml 6 added, 8 removed The code changes replace the usage of the 'aws-sample/aws-genai-cicd-suite' action with the 'yike5460/intelli-ops' action, modifying the configuration parameters for code review and unit test generation.
README_zh-cn.md 3 added, 0 removed This code change adds a new section titled "Cost" with a reference to a COST_zh-cn.md file for more information on the cost associated with the project.
api_test/buildspec.yaml 20 added, 7 removed The code changes involve updating branch name, stack names, AWS account IDs, S3 bucket names, SNS topic ARN, and adding steps to delete and wait for deletion of CloudFormation stacks before deployment. It also includes improvements to error handling and reporting during the build and deployment process.
source/cs-portal/postcss.config.js 6 added, 0 removed This code adds the TailwindCSS and Autoprefixer plugins to a configuration file, likely for a build tool like Webpack or Vite.
source/cs-portal/index.html 19 added, 0 removed This code change sets up the basic HTML structure for a React application, including meta tags, font imports, and a div with an id of "root" where the React components will be rendered.
source/cs-portal/package.json 48 added, 0 removed This commit adds a package.json file for a React application named "cs-portal" with dependencies for various libraries and development tools.
api_test/buildspec-third.yaml 3 added, 3 removed The code changes update the CODE_BRANCH and STACK_NAME variables, and modify the cdk deploy command to deploy all stacks without requiring approval.
api_test/config-third.json 6 added, 6 removed The code changes update the prefix, add a new flag to disable open source LLM usage, and modify the embeddings model configuration to use a SageMaker model with 768 dimensions instead of the previous Bedrock model.
source/cs-portal/src/App.css 47 added, 0 removed This code adds styles for the root, body, logo, animation, and card elements, ensuring a responsive and visually appealing layout.
api_test/gen-report-lambda.py 13 added, 11 removed The code changes involve removing the functionality related to the "third payload" and the associated test results, simplifying the overall logic and the final message generated. The removal includes commenting out the code for fetching the third payload, calculating its test metrics, and including the third payload details in the final message.
source/cs-portal/public/vite.svg 1 added, 0 removed This code change adds an SVG (Scalable Vector Graphics) markup for an icon, likely the Gatsby logo, with a linear gradient fill and specific dimensions.
source/cs-portal/src/assets/useAxiosWorkspaceRequest.ts 58 added, 0 removed This code defines a React hook called useAxiosWorkspaceRequest that returns a function to send authenticated HTTP requests using Axios to a workspace API, with the user's token obtained from the OIDC client storage.
COST_zh-cn.md 281 added, 0 removed This code provides a cost estimation for deploying an asset on Amazon Web Services (AWS) in two modes: 1) Full module deployment (online retrieval + built-in knowledge base), and 2) Online retrieval only. It breaks down the costs for various AWS services like S3, Lambda, DynamoDB, OpenSearch, Cognito, API Gateway, Step Functions, ECR, CloudWatch, and Amazon Bedrock (for LLM model) based on specific usage parameters.
source/cs-portal/src/components/Categories.tsx 95 added, 0 removed This code defines a React functional component called Categories that renders a grid of category cards with icons, names, and gradient backgrounds using Material-UI components and Tailwind CSS utility classes.
COST.md 281 added, 0 removed The code changes provide a detailed cost estimation for deploying an asset on Amazon Web Services, with two deployment models: a full deployment and an online chat core deployment. It breaks down the costs for various AWS services like S3, Lambda, DynamoDB, OpenSearch, Cognito, API Gateway, Step Functions, ECR, CloudWatch, and Bedrock, considering factors such as storage, requests, instances, and token usage.
docs/api_doc/apis/api-prod-oas30.yaml 139 added, 25 removed The code changes introduce two new request schemas (LLMRequestA and LLMRequestB) with different properties and examples for each schema, replacing the previous single LLMRequest schema. This allows more flexibility in handling different request formats and configurations.
source/cs-portal/src/App.tsx 89 added, 0 removed This code change sets up the React application with Material-UI theming, OpenID Connect authentication using the oidc-client-ts library, and a configuration context for managing application settings.
source/cs-portal/src/assets/react.svg 1 added, 0 removed This code change adds an SVG icon for the Ionic framework logo.
api_test/policies.json 150 added, 0 removed This is an AWS IAM policy that grants permissions to perform various actions on AWS services like CodeBuild, S3, CloudFormation, Cognito, ECR, Lambda, CodePipeline, EC2, SSM, and IAM roles.

@530051970 530051970 changed the title Dev chore: merge main pr Feb 19, 2025
@530051970 530051970 requested a review from NingLu February 19, 2025 09:08
@NingLu NingLu merged commit d6815b3 into main Feb 19, 2025
10 of 11 checks passed
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.

7 participants