connect-datacache
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "connect-datacache", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Express session connector for IBM DataCache", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -49,19 +49,20 @@ # connect-datacache | ||
```javascript | ||
var store = new DataCacheStore( | ||
// required parameters when no custom client provided or no ENV credentials are set | ||
restResource: 'http://dcsdomain.bluemix.net/resources/datacaches/{gridName}', | ||
restResourceSecure: 'https://dcsdomain.bluemix.net/resources/datacaches/{gridName}', | ||
gridName: '{gridName}', | ||
username: '{username}', | ||
password: '{password}', | ||
// optional parameters - default values | ||
mapName: '{gridName}', | ||
eviction: 'LUT', | ||
locking: 'optimistic', | ||
contentType: 'application/json', | ||
secure: true, | ||
ttl: 3600, | ||
prefix: 'sess:', | ||
cfServiceName: null, | ||
client: null | ||
var store = new DataCacheStore({ | ||
// required parameters when no custom client provided or no ENV credentials are set | ||
restResource: 'http://dcsdomain.bluemix.net/resources/datacaches/{gridName}', | ||
restResourceSecure: 'https://dcsdomain.bluemix.net/resources/datacaches/{gridName}', | ||
gridName: '{gridName}', | ||
username: '{username}', | ||
password: '{password}', | ||
// optional parameters - default values | ||
mapName: '{gridName}', | ||
eviction: 'LUT', | ||
locking: 'optimistic', | ||
contentType: 'application/json', | ||
secure: true, | ||
ttl: 3600, | ||
prefix: 'sess:', | ||
cfServiceName: null, | ||
client: null | ||
} | ||
); | ||
@@ -68,0 +69,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38631
171