Page History
...
The option can be enabled/disabled per Storage Unit through the administration API.
Code Block | ||||
---|---|---|---|---|
| ||||
PUT admin/enableContentEncryption/<storage-unit>/<true-false> |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
var crypto = require('crypto') function basicKeyManager (options) { var masterKey if (!options.masterKey) { throw new Error('options.masterKey is required') } masterKey = options.masterKey return { generateiv: function () { // IV needs to be 16 bytes return crypto.randomBytes(16).toString('base64') }, generateKeyId: function () { return 'localKey' }, getDek: function (storageUnitName, key, callback) { if (key === 'localKey') { return callback(null, masterKey) } else { return callback(new Error('Invalid Dek key: ' + key)) } } } } module.exports = basicKeyManager |
...
File Example:
Code Block | ||||
---|---|---|---|---|
| ||||
MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTE= 9 ?MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI 5 ?MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTM 7 |
...
The option can be enabled/disabled per Storage Unit through the administration API.
Code Block | ||||
---|---|---|---|---|
| ||||
PUT admin/enableContentCompression/<storage-unit>/<true-false> |
...
To configure the ForeignKeyJoin module, add it to the scope's content processing configuration and make sure the scope content contains the foreignKeys field.
Code Block | ||||
---|---|---|---|---|
| ||||
POST admin/setContentProcessingModules/STORAGE_UNIT { "modules": { "connector": [ { "module": "ForeignKeyJoin" }, ... ] } } |
...
Configure the Elasticsearch publisher by adding the module called HTTPESPublisher through the admin/setContentProcessingModules API call.
Code Block | ||||
---|---|---|---|---|
| ||||
POST admin/setContentProcessingModules/STORAGE_UNIT { "modules" : { "connector": [ { "settings" : { "elasticsearch-index" : "aspiredocs", "elasticsearch-type" : "aspiredoc" }, "module" : "HTTPESPublisher" } ], ... }, "settings" : { "elasticsearch-hosts" : localhost:9200" } } |
...
Configure the Solr publisher by adding the module called SolrPublisher through the admin/setContentProcessingModules API call.
Code Block | ||||
---|---|---|---|---|
| ||||
POST admin/setContentProcessingModules/STORAGE_UNIT { "modules" : { "connector": [ { "settings" : { "solr-collection" : "testcollection" }, "module" : "SolrPublisher" } ], ... }, "settings" : { "solr-hosts" : localhost:8983" } } |
...
Warning | ||||
---|---|---|---|---|
Feature Under construction | ||||
Code Block | ||||
| ||||
keyManager:{ type:'basic', basic:{ masterKey:'MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMzI=' } } |
Overview
Content Tools