Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
None
-
customfield_11100 46430
-
None
Description
Scope:
mod-graphql is failed to parse `source-record-storage-source-records.raml ` when started
Env.:
IINT in EBSCO account
Parametetrs:
mod-inventory-storage:v20.1.0,mod-source-record-storage:v5.0.1
Logs:
Step 1 of 5: Installing pip ...[0m[92mDONE[0m Cloning into 'mod-inventory-storage'... Submodule 'mod-users' (https://github.com/folio-org/mod-users.git) registered for path 'mod-users' Submodule 'raml-util' (https://github.com/folio-org/raml.git) registered for path 'ramls/raml-util' Cloning into '/usr/ms/input/mod-inventory-storage/mod-users'... Cloning into '/usr/ms/input/mod-inventory-storage/ramls/raml-util'... Submodule 'ramls/raml-util' (https://github.com/folio-org/raml.git) registered for path 'mod-users/ramls/raml-util' Cloning into '/usr/ms/input/mod-inventory-storage/mod-users/ramls/raml-util'... Step 2 of 5: Downloading the latest CloudWatch Logs agent bits ... [0m -- git clone --recurse-submodules https://github.com/folio-org/mod-inventory-storage Submodule path 'mod-users': checked out '5acb6a26fe28bba3fa17207909a1740f676dae01' Submodule path 'mod-users/ramls/raml-util': checked out 'b2209740e798e9b73e3dfa13f48e089c657ff4cc' Submodule path 'ramls/raml-util': checked out '0b125975982df99324c88c200d50abe2b22f7688' -- git checkout --quiet v20.1.0 -- mv mod-inventory-storage/ramls . -- rm -rf mod-inventory-storage -- mkdir mod-inventory-storage -- mv ramls mod-inventory-storage Obtaining schemas for mod-source-record-storage v5.0.1 Cloning into 'mod-source-record-storage'... Submodule 'ramls/raml-storage' (https://github.com/folio-org/data-import-raml-storage.git) registered for path 'ramls/raml-storage' Cloning into '/usr/ms/input/mod-source-record-storage/ramls/raml-storage'... Submodule 'raml-util' (https://github.com/folio-org/raml) registered for path 'ramls/raml-storage/raml-util' Cloning into '/usr/ms/input/mod-source-record-storage/ramls/raml-storage/raml-util'... -- git clone --recurse-submodules https://github.com/folio-org/mod-source-record-storage Submodule path 'ramls/raml-storage': checked out 'd1aeb3f7f07af93bc0ce8978a1a63e55a35bdc02' Submodule path 'ramls/raml-storage/raml-util': checked out 'd9ab6f377b24530ffbe92129caf63f5cb0814e7a' -- git checkout --quiet v5.0.1 -- mv mod-source-record-storage/ramls . -- rm -rf mod-source-record-storage -- mkdir mod-source-record-storage -- mv ramls mod-source-record-storage yarn run v1.22.5 $ babel-node --presets=env,stage-2 main.js input/mod-inventory-storage/ramls/alternative-title-type.raml input/mod-inventory-storage/ramls/call-number-type.raml input/mod-inventory-storage/ramls/classification-type.raml input/mod-inventory-storage/ramls/contributor-name-type.raml input/mod-inventory-storage/ramls/contributor-type.raml input/mod-inventory-storage/ramls/electronic-access-relationship.raml input/mod-inventory-storage/ramls/holdings-note-type.raml input/mod-inventory-storage/ramls/holdings-sources.raml input/mod-inventory-storage/ramls/holdings-storage.raml input/mod-inventory-storage/ramls/holdings-sync.raml input/mod-inventory-storage/ramls/holdings-type.raml input/mod-inventory-storage/ramls/hrid-settings-storage.raml input/mod-inventory-storage/ramls/identifier-type.raml input/mod-inventory-storage/ramls/ill-policy.raml input/mod-inventory-storage/ramls/instance-format.raml input/mod-inventory-storage/ramls/instance-note-type.raml input/mod-inventory-storage/ramls/instance-preceding-succeeding-titles.raml input/mod-inventory-storage/ramls/instance-reindex.raml input/mod-inventory-storage/ramls/instance-relationship-type.raml input/mod-inventory-storage/ramls/instance-status.raml input/mod-inventory-storage/ramls/instance-storage-batch.raml input/mod-inventory-storage/ramls/instance-storage.raml input/mod-inventory-storage/ramls/instance-sync.raml input/mod-inventory-storage/ramls/instance-type.raml input/mod-inventory-storage/ramls/inventory-hierarchy.raml input/mod-inventory-storage/ramls/inventory-view.raml input/mod-inventory-storage/ramls/item-damaged-statuses.raml input/mod-inventory-storage/ramls/item-note-type.raml input/mod-inventory-storage/ramls/item-storage.raml input/mod-inventory-storage/ramls/item-sync.raml input/mod-inventory-storage/ramls/loan-type.raml input/mod-inventory-storage/ramls/location.raml input/mod-inventory-storage/ramls/locationunit.raml input/mod-inventory-storage/ramls/material-type.raml input/mod-inventory-storage/ramls/mode-of-issuance.raml input/mod-inventory-storage/ramls/nature-of-content-term.raml input/mod-inventory-storage/ramls/oai-pmh-view.raml input/mod-inventory-storage/ramls/record-bulk.raml input/mod-inventory-storage/ramls/service-point.raml input/mod-inventory-storage/ramls/service-points-user.raml input/mod-inventory-storage/ramls/shelf-location.raml input/mod-inventory-storage/ramls/statistical-code-type.raml input/mod-inventory-storage/ramls/statistical-code.raml input/mod-source-record-storage/ramls/source-record-storage-batch.raml input/mod-source-record-storage/ramls/source-record-storage-handlers.raml input/mod-source-record-storage/ramls/source-record-storage-records.raml input/mod-source-record-storage/ramls/source-record-storage-snapshots.raml input/mod-source-record-storage/ramls/source-record-storage-source-records.raml input/mod-source-record-storage/ramls/source-record-storage-stream.raml input/mod-source-record-storage/ramls/source-record-storage-test-records.raml /usr/ms/src/autogen/convertAPI.js:110 throw new Error('gatherAPI for ' + ramlName + ' failed: ' + e.message); ^ Error: gatherAPI for input/mod-source-record-storage/ramls/source-record-storage-source-records.raml failed: use of unsupported RAML type 'datetime' at parseAndGather (/usr/ms/src/autogen/convertAPI.js:92:11) at /usr/ms/src/autogen/convertAPI.js:120:45 at Array.map (<anonymous>) at convertAPIs (/usr/ms/src/autogen/convertAPI.js:120:29) at modGraphql (/usr/ms/src/app.js:14:21) at Object.<anonymous> (/usr/ms/main.js:5:13) at Module._compile (internal/modules/cjs/loader.js:778:30) at loader (/usr/ms/node_modules/babel-register/lib/node.js:144:5) at Object.require.extensions.(anonymous function) [as .js] (/usr/ms/node_modules/babel-register/lib/node.js:154:7) at Module.load (internal/modules/cjs/loader.js:653:32) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.