VerifyPackage
- 2 Minutes to read
- Print
- DarkLight
- PDF
VerifyPackage
- 2 Minutes to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Verifies the status of data that has been injected into a project
Key | Value(s) | Description |
---|---|---|
method | "VerifyPackage" | Verifies the status of data that has been injected into a project |
project | "CurrentProjectName" | |
name | "PackageName" | Optional. Either "name" or "homePath" or "sourceName" must be provided If "name" is provided, pull must be true. |
pull | true/false | If true, package details will be pulled from the storage hub |
path | ||
homePath | "PathAndFile" | Optional. Path and filename of package file. If not provided, "name" must be provided. |
targetProject | ||
sourceName |
VerifyPackage verifies that underlying data files exist for the data objects (fields and joins) in the package and all source packages.
Example using name - no error
{
"method": "VerifyPackage",
"project": "REGRESS_Metadata",
"name": "REGRESS_MetaData_Test",
"pull": true,
}
{
"injectedPackageList": [
"REGRESS_MetaData_Test"
],
"executed": true,
"errors": [],
"millis": 154,
"projectEpoch": 638683643858976031,
"method": "VerifyPackage",
"exmillis": 158
}
Example using path and homePath - no error
{
"method": "VerifyPackage",
"project": "CONSUMER_Test1",
"path": "D:/LiveDropbox/Dropbox/DJSharedData/scripts/packages/CONSUMER_Test.zip",
"homePath": "D:/datajet/dj-localhost/CONSUMER_Test1",
"pull": false,
"user": "admin"
}
{
"injectedPackageList": [
"BASE_test1",
"BikeData2_Current"
],
"executed": true,
"errors": [],
"millis": 40,
"projectEpoch": 638682980012310178,
"method": "VerifyPackage",
"exmillis": 44
}
Example using name and pull - missing source project
In the following example, project BASE_test1 has been rebuilt. Note the list of missing files in the errors[] section.
{
"method": "VerifyPackage",
"name": "CONSUMER_Test",
"pull": true,
}
{
"injectedPackageList": [
"CONSUMER_Test",
"BASE_test1",
"BikeData2_Current"
],
"executed": true,
"errors": [
"missing file for framingham_figshare.fld-0 [BASE_test1]",
"missing file for framingham_figshare.RANDID [BASE_test1]",
"missing file for framingham_figshare.SEX [BASE_test1]",
"missing file for framingham_figshare.TOTCHOL [BASE_test1]",
"missing file for framingham_figshare.AGE [BASE_test1]",
"missing file for framingham_figshare.SYSBP [BASE_test1]",
"missing file for framingham_figshare.DIABP [BASE_test1]",
"missing file for framingham_figshare.CURSMOKE [BASE_test1]",
"missing file for framingham_figshare.CIGPDAY [BASE_test1]",
"missing file for framingham_figshare.BMI [BASE_test1]",
"missing file for framingham_figshare.DIABETES [BASE_test1]",
"missing file for framingham_figshare.BPMEDS [BASE_test1]",
"missing file for framingham_figshare.HEARTRTE [BASE_test1]",
"missing file for framingham_figshare.GLUCOSE [BASE_test1]",
"missing file for framingham_figshare.educ [BASE_test1]",
"missing file for framingham_figshare.PREVCHD [BASE_test1]",
"missing file for framingham_figshare.PREVAP [BASE_test1]",
"missing file for framingham_figshare.PREVMI [BASE_test1]",
"missing file for framingham_figshare.PREVSTRK [BASE_test1]",
"missing file for framingham_figshare.PREVHYP [BASE_test1]",
"missing file for framingham_figshare.TIME [BASE_test1]",
"missing file for framingham_figshare.PERIOD [BASE_test1]",
"missing file for framingham_figshare.HDLC [BASE_test1]",
"missing file for framingham_figshare.LDLC [BASE_test1]",
"missing file for framingham_figshare.DEATH [BASE_test1]",
"missing file for framingham_figshare.ANGINA [BASE_test1]",
"missing file for framingham_figshare.HOSPMI [BASE_test1]",
"missing file for framingham_figshare.MI_FCHD [BASE_test1]",
"missing file for framingham_figshare.ANYCHD [BASE_test1]",
"missing file for framingham_figshare.STROKE [BASE_test1]",
"missing file for framingham_figshare.CVD [BASE_test1]",
"missing file for framingham_figshare.HYPERTEN [BASE_test1]",
"missing file for framingham_figshare.TIMEAP [BASE_test1]",
"missing file for framingham_figshare.TIMEMI [BASE_test1]",
"missing file for framingham_figshare.TIMEMIFC [BASE_test1]",
"missing file for framingham_figshare.TIMECHD [BASE_test1]",
"missing file for framingham_figshare.TIMESTRK [BASE_test1]",
"missing file for framingham_figshare.TIMECVD [BASE_test1]",
"missing file for framingham_figshare.TIMEDTH [BASE_test1]",
"missing file for framingham_figshare.TIMEHYP [BASE_test1]"
],
"millis": 100,
"projectEpoch": 638682980012310178,
"method": "VerifyPackage",
"exmillis": 111
}
Was this article helpful?