File tree Expand file tree Collapse file tree 4 files changed +2
-6
lines changed Expand file tree Collapse file tree 4 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ async function createIndex () {
2020 description : { type : 'text' } ,
2121 title : { type : 'text' } ,
2222 startDate : { type : 'date' } ,
23- endDate : { type : 'date' } ,
2423 numPositions : { type : 'integer' } ,
2524 resourceType : { type : 'keyword' } ,
2625 rateType : { type : 'keyword' } ,
Original file line number Diff line number Diff line change 22 * Jobcandidate Processor Service
33 */
44
5- const _ = require ( 'lodash' )
65const Joi = require ( '@hapi/joi' )
76const logger = require ( '../common/logger' )
87const helper = require ( '../common/helper' )
@@ -101,7 +100,7 @@ processCreate.schema = {
101100 updatedBy : Joi . string ( ) . uuid ( ) . allow ( null ) ,
102101 status : Joi . jobCandidateStatus ( ) . required ( ) ,
103102 externalId : Joi . string ( ) . allow ( null ) ,
104- resume : Joi . string ( ) . uri ( ) . allow ( null ) ,
103+ resume : Joi . string ( ) . uri ( ) . allow ( null )
105104 } ) . required ( )
106105 } ) . required ( ) ,
107106 transactionId : Joi . string ( ) . required ( )
Original file line number Diff line number Diff line change 22 * Job Processor Service
33 */
44
5- const _ = require ( 'lodash' )
65const Joi = require ( '@hapi/joi' )
76const logger = require ( '../common/logger' )
87const helper = require ( '../common/helper' )
@@ -73,7 +72,7 @@ processCreate.schema = {
7372 description : Joi . stringAllowEmpty ( ) . allow ( null ) ,
7473 title : Joi . title ( ) . required ( ) ,
7574 startDate : Joi . date ( ) . allow ( null ) ,
76- endDate : Joi . date ( ) . allow ( null ) ,
75+ duration : Joi . number ( ) . integer ( ) . min ( 1 ) . allow ( null ) ,
7776 numPositions : Joi . number ( ) . integer ( ) . min ( 1 ) . required ( ) ,
7877 resourceType : Joi . stringAllowEmpty ( ) . allow ( null ) ,
7978 rateType : Joi . rateType ( ) . allow ( null ) ,
Original file line number Diff line number Diff line change 22 * ResourceBooking Processor Service
33 */
44
5- const _ = require ( 'lodash' )
65const Joi = require ( '@hapi/joi' )
76const logger = require ( '../common/logger' )
87const helper = require ( '../common/helper' )
You can’t perform that action at this time.
0 commit comments