@itentialopensource/adapter-utils 5.10.0 → 5.10.4
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/CHANGELOG.md +10 -0
- package/lib/authenticationHandler.js +3 -2
- package/lib/requestHandler.js +1 -1
- package/lib/throttle.js +3 -2
- package/package.json +1 -1
- package/refs?service=git-upload-pack +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -19,10 +19,11 @@ class AuthenticationHandler {
|
|
|
19
19
|
* Adapter Authentication Handler
|
|
20
20
|
* @constructor
|
|
21
21
|
*/
|
|
22
|
-
constructor(prongId, properties, reqH) {
|
|
22
|
+
constructor(prongId, properties, reqH, propUtilCl) {
|
|
23
23
|
this.myid = prongId;
|
|
24
24
|
this.allProps = properties;
|
|
25
25
|
this.requestHandlerInst = reqH;
|
|
26
|
+
this.propUtil = propUtilCl;
|
|
26
27
|
|
|
27
28
|
// set up the properties I care about
|
|
28
29
|
this.refreshProperties(properties);
|
|
@@ -101,7 +102,7 @@ class AuthenticationHandler {
|
|
|
101
102
|
// set the original AWS access information (from properties)
|
|
102
103
|
AWS.config.update(configObj);
|
|
103
104
|
const sts = new AWS.STS();
|
|
104
|
-
log.debug(`STS OPTIONS: ${JSON.stringify(configObj)}`);
|
|
105
|
+
log.debug(`STS OPTIONS: ${this.propUtil.scrubSensitiveInfo(JSON.stringify(configObj))}`);
|
|
105
106
|
|
|
106
107
|
// use STS to get the AWS access information for the user defined in STWS Params
|
|
107
108
|
const stsData = {
|
package/lib/requestHandler.js
CHANGED
|
@@ -466,7 +466,7 @@ class RequestHandler {
|
|
|
466
466
|
this.transUtil = new TransUtilCl(prongId, this.propUtil);
|
|
467
467
|
transUtilInst = this.transUtil;
|
|
468
468
|
|
|
469
|
-
this.authHandler = new AuthHandlerCl(this.myid, this.props, this);
|
|
469
|
+
this.authHandler = new AuthHandlerCl(this.myid, this.props, this, this.propUtil);
|
|
470
470
|
// validate the action files for the adapter
|
|
471
471
|
this.clean = walkThroughActionFiles(this.directory);
|
|
472
472
|
|
package/lib/throttle.js
CHANGED
|
@@ -647,14 +647,15 @@ class SystemXThrottle {
|
|
|
647
647
|
const dbName = prongo.properties.db;
|
|
648
648
|
|
|
649
649
|
// define some local variables to help in validating the properties.json file
|
|
650
|
+
const pronghorn = 'pronghorn';
|
|
650
651
|
let sslEnabled = false;
|
|
651
652
|
let sslValidate = false;
|
|
652
653
|
let sslCheckServerIdentity = false;
|
|
653
654
|
let sslCA = null;
|
|
654
655
|
let replSetEnabled = false;
|
|
655
656
|
let dbAuthEnabled = false;
|
|
656
|
-
let dbUsername =
|
|
657
|
-
let dbPassword =
|
|
657
|
+
let dbUsername = pronghorn;
|
|
658
|
+
let dbPassword = pronghorn;
|
|
658
659
|
|
|
659
660
|
/*
|
|
660
661
|
* this first section is configuration mapping
|
package/package.json
CHANGED
|
Binary file
|