-
Notifications
You must be signed in to change notification settings - Fork 98
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
Conversation
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.
There was a problem hiding this 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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we remove ^ ?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
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.