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

W-12484068: Convert Batch Deployment to Use CSV instead of raw JSON #562

Merged
merged 3 commits into from
Feb 22, 2023

Conversation

lmckusick
Copy link
Contributor

This change converts the data sent during a batch deployment to CSV format instead of passing raw JSON.

This change originated due to an issue with deploying huge Calculation Matrices, where the row data file hit the 10m character limit of the Bulk API.

This also adjusts permissions on the TESTVDXProfile Profile used in runTestJob, adding some missing permissions and resolving some issues found while running the test job.

This change converts the data sent during a batch deployment to CSV format instead of passing raw JSON.

This change originated due to an issue with deploying huge Calculation Matrices, where the row data file hit the 10m character limit of the Bulk API.

This also adjusts permissions on the TESTVDXProfile Profile used in runTestJob, adding some missing permissions and resolving some issues found while running the test job.
Copy link

@mgoldspink-salesforce mgoldspink-salesforce left a comment

Choose a reason for hiding this comment

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

@lmckusick I think we need one more change here (which is totally unrelated to what you've done).

I can see CodeShip builds failing and it's because it's using a super old version of node (v10 - https://github.com/vlocityinc/vlocity_build/blob/master/Dockerfile).

Could you please change that to 16 and let's see if that helps the build pass again.

package.json Outdated
@@ -16,12 +16,13 @@
"js-yaml": "3.13.1",
"jsforce": "1.9.3",
"json-stable-stringify": "1.0.1",
"runtime-plugin-manager-clone": "0.1.0",
"json2csv": "^6.0.0-alpha.2",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we remove ^ ?

Choose a reason for hiding this comment

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

Agreed - let's lock it to the version we test with

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

Updates Node version from 10 to 16 in Dockerfile. Sets a static version (rather than a minimum one) for json2csv in package.json.
Missed one reference for node version in Dockerfile
@manas-sf manas-sf merged commit d3b3af2 into alpha Feb 22, 2023
@manas-sf manas-sf deleted the lskel-w-12484068 branch February 22, 2023 15:57
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.

4 participants