retold-data-service 2.0.36 → 2.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "retold-data-service",
3
- "version": "2.0.36",
3
+ "version": "2.0.37",
4
4
  "description": "Serve up a whole model!",
5
5
  "main": "source/Retold-Data-Service.js",
6
6
  "bin": {
@@ -68,12 +68,12 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "bibliograph": "^0.1.4",
71
- "fable": "^3.1.68",
71
+ "fable": "^3.1.70",
72
72
  "fable-serviceproviderbase": "^3.0.19",
73
73
  "meadow": "^2.0.33",
74
74
  "meadow-connection-mysql": "^1.0.14",
75
75
  "meadow-endpoints": "^4.0.15",
76
- "meadow-integration": "^1.0.28",
76
+ "meadow-integration": "^1.0.30",
77
77
  "meadow-migrationmanager": "^0.0.9",
78
78
  "orator": "^6.0.4",
79
79
  "orator-http-proxy": "^1.0.5",
@@ -84,8 +84,10 @@ class RetoldDataServiceDataCloner extends libFableServiceProviderBase
84
84
  ThroughputTimer: null
85
85
  });
86
86
 
87
- // Create an isolated Pict instance for remote session management
88
- this._Pict = new libPict(
87
+ // Create an isolated Pict instance for remote session management.
88
+ // Forward REST client connection settings from the parent fable so
89
+ // the session RestClient inherits keep-alive and timeout configuration.
90
+ let tmpPictSettings = (
89
91
  {
90
92
  Product: 'DataClonerSession',
91
93
  TraceLog: true,
@@ -96,6 +98,19 @@ class RetoldDataServiceDataCloner extends libFableServiceProviderBase
96
98
  }
97
99
  ]
98
100
  });
101
+ if (this.fable.settings.RestClientKeepAlive)
102
+ {
103
+ tmpPictSettings.RestClientKeepAlive = this.fable.settings.RestClientKeepAlive;
104
+ }
105
+ if (this.fable.settings.RestClientRequestTimeout)
106
+ {
107
+ tmpPictSettings.RestClientRequestTimeout = this.fable.settings.RestClientRequestTimeout;
108
+ }
109
+ if (this.fable.settings.RestClientMaxRequestTimeout)
110
+ {
111
+ tmpPictSettings.RestClientMaxRequestTimeout = this.fable.settings.RestClientMaxRequestTimeout;
112
+ }
113
+ this._Pict = new libPict(tmpPictSettings);
99
114
 
100
115
  this._Pict.serviceManager.addServiceType('SessionManager', libPictSessionManager);
101
116
  this._Pict.serviceManager.instantiateServiceProvider('SessionManager');