-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF14, 11.1, 2021.0
-
Component/s: BlobManager
When configuring nuxeo.conf to configure the Google Storage, it ends up than we need to copy-paste the whole JSON file generated by Google Cloud Console. It implies severals problems:
- Authentication Information are repeated (as the JSON contains the bucket name, bucket region...)
- The JSON is not read correctly "as it" and generates the following error:
Caused by: com.fasterxml.jackson.core.JsonParseException: Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value at [Source: (ByteArrayInputStream); line: 1, column: 161]
This is because double backslashes are badly interpreted. So we need to adapt the JSON manually and remove one "\".
Original and Modified JSON in comment.
- is related to
-
NXDOC-1976 Align Google Storage documentation on conf variable for json credentials
- Resolved