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

BCDA-7971: Update curl commands with double quotes #194

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

austincanada
Copy link
Contributor

This feature updates all curl command snippets that have single quotes to double quotes in order for them to run properly on Windows and UNIX based systems.

🎫 Ticket

https://jira.cms.gov/browse/BCDA-7971

🛠 Changes

Updated the _includes/ files that contained cURL snippets.

ℹ️ Context for reviewers

N/A

✅ Acceptance Validation

Changes verified on local static site.

🔒 Security Implications

  • This PR adds a new software dependency or dependencies.
  • This PR modifies or invalidates one or more of our security controls.
  • This PR stores or transmits data that was not stored or transmitted before.
  • This PR requires additional review of its security implications for other reasons.

If any security implications apply, add Jason Ashbaugh (GitHub username: StewGoin) as a reviewer and do not merge this PR without his approval.

This feature updates all curl command snippets that have single quotes
to double quotes in order for them to run properly on Windows and UNIX
based systems.
Copy link
Contributor

@laurenkrugen-navapbc laurenkrugen-navapbc left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for getting those updated!

Copy link
Contributor

@greg-pf greg-pf 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 to me. I left an optional/not blocking suggestion for highlighting v2 based on your friction log the other week, but I'm not sure if that tag will pass accessibility scans

@@ -20,14 +20,14 @@ <h2>
</tr>
<tr>
<td>
<pre><code>curl -X GET 'https://sandbox.bcda.cms.gov/api/v2/Group/all/$export' \
<pre><code>curl -X GET "https://sandbox.bcda.cms.gov/api/v2/Group/all/$export" \
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can sneak in highlighting of v2?

Suggested change
<pre><code>curl -X GET "https://sandbox.bcda.cms.gov/api/v2/Group/all/$export" \
<pre><code>curl -X GET "https://sandbox.bcda.cms.gov/api/<span style="background: yellow">v2</span>/Group/all/$export" \

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can add those to either one of the static site tickets for next sprint, if there needs to be accessibility checks for it.

@@ -20,14 +20,14 @@ <h2>
</tr>
<tr>
<td>
<pre><code>curl -X GET 'https://api.bcda.cms.gov/api/v2/Group/all/$export' \
<pre><code>curl -X GET "https://api.bcda.cms.gov/api/v2/Group/all/$export" \
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment on highlighting v2

@austincanada austincanada merged commit 657a472 into master Apr 11, 2024
1 check passed
@austincanada austincanada deleted the austin/BCDA-7971 branch April 11, 2024 17:35
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.

None yet

3 participants