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

feat: update ami chart script #4408

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

mcgarrye
Copy link
Collaborator

@mcgarrye mcgarrye commented Oct 21, 2024

This PR addresses 🤷

  • Addresses the issue in full
  • Addresses only certain aspects of the issue

Description

New script runner endpoint to update a AMI Charts values based on the AMI Chart ID.

How Can This Be Tested/Reviewed?

Sign in as an admin user to the partners portal.
Pick an AMI Chart to update. Copy the ID.
Using OpenAPI or ThunderClient, call the /scriptRunner/amiChartUpdateImport by passing in the id and the correctly formatted values.
Confirm in the partners portal that the AMI Chart values are appearing as expected.

Author Checklist:

  • Added QA notes to the issue with applicable URLs
  • Reviewed in a desktop view
  • Reviewed in a mobile view
  • Reviewed considering accessibility
  • Added tests covering the changes
  • Made corresponding changes to the documentation
  • Ran yarn generate:client and/or created a migration when required

Review Process:

  • Read and understand the issue
  • Ensure the author has added QA notes
  • Review the code itself from a style point of view
  • Pull the changes down locally and test that the acceptance criteria is met
  • Either (1) explicitly ask a clarifying question, (2) request changes, or (3) approve the PR, even if there are very small remaining changes, if you don't need to re-review after the updates

@mcgarrye mcgarrye added the 1 review needed Requires 1 more review before ready to merge label Oct 21, 2024
Copy link

netlify bot commented Oct 21, 2024

Deploy Preview for bloom-exygy-dev ready!

Name Link
🔨 Latest commit 841551c
🔍 Latest deploy log https://app.netlify.com/sites/bloom-exygy-dev/deploys/6716b76f4a7efc000886fdd2
😎 Deploy Preview https://deploy-preview-4408--bloom-exygy-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 21, 2024

Deploy Preview for partners-bloom-dev ready!

Name Link
🔨 Latest commit 841551c
🔍 Latest deploy log https://app.netlify.com/sites/partners-bloom-dev/deploys/6716b76f741f3100087e568d
😎 Deploy Preview https://deploy-preview-4408--partners-bloom-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 21, 2024

Deploy Preview for partners-bloom-dev ready!

Name Link
🔨 Latest commit ed7acbe
🔍 Latest deploy log https://app.netlify.com/sites/partners-bloom-dev/deploys/6716b7a67fe5da00080c6347
😎 Deploy Preview https://deploy-preview-4408--partners-bloom-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 21, 2024

Deploy Preview for bloom-exygy-dev ready!

Name Link
🔨 Latest commit ed7acbe
🔍 Latest deploy log https://app.netlify.com/sites/bloom-exygy-dev/deploys/6716b7a65e881900083db085
😎 Deploy Preview https://deploy-preview-4408--bloom-exygy-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@YazeedLoonat YazeedLoonat left a comment

Choose a reason for hiding this comment

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

looks good, small tweak

@@ -17,6 +17,8 @@ import { Application } from '../dtos/applications/application.dto';
import { AmiChartImportDTO } from '../dtos/script-runner/ami-chart-import.dto';
import { AmiChartCreate } from '../dtos/ami-charts/ami-chart-create.dto';
import { AmiChartService } from './ami-chart.service';
import { AmiChartUpdate } from 'src/dtos/ami-charts/ami-chart-update.dto';
Copy link
Collaborator

Choose a reason for hiding this comment

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

these should be relative imports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 review needed Requires 1 more review before ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants