/* A defect, enhancement request, or other job specification. The actual fields in a job can be edited by a superuser in your system. The default set of fields in a system are Job, Status, User, Date, and Description. */ function JobCommand(data) { Object.defineProperties(this, { /* The job name. */ "Job": { value: data ? data.Job : undefined, enumerable: true, writable: true } }); var self = this; var keys = Object.keys(self); if (data) { Object.keys(data).forEach(function(dataKey) { if (!keys.find(function(k) { return k == dataKey; })) { self[dataKey] = data[dataKey]; } }); } } module.exports = JobCommand;
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19553 | swellard | Move and rename clients | ||
//guest/perforce_software/helix-web-services/main/source/clients/2016.1.0/javascript/lib/models/job_command.js | |||||
#2 | 19169 | tjuricek | JavaScript Client SDK jobs CRUD test, with supprt for "additionalProperties" in the swagger definition. | ||
#1 | 19053 | tjuricek |
Rebuild JavaScript Client SDK. The JavaScript client now is a "typed" approach that tends to be similar in approach to the other clients, based on the swagger definition for the platform version. Importantly, client SDK tests are individual scripts (that run under node) that are actually controlled via TestNG. This approach now lets us use a consistent test reporting format so we can at least collect reports from each of the jobs. The documentation is still in progress, that I want to validate as the tests are generated. |