@itentialopensource/adapter-utils 4.49.0 → 5.0.1

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 CHANGED
@@ -1,4 +1,50 @@
1
1
 
2
+ ## 5.0.1 [07-14-2023]
3
+
4
+ * Update file CHANGELOG.md
5
+
6
+ See merge request itentialopensource/adapter-utils!261
7
+
8
+ ---
9
+
10
+ ## 5.0.0 [07-14-2023]
11
+
12
+ * Resolve ADAPT-2341 "Major/" - Cache, broker, generic, etc
13
+
14
+ Closes ADAPT-2341
15
+
16
+ See merge request itentialopensource/adapter-utils!260
17
+
18
+ - Change to order or precedence for service config vs endpoint config for the following props
19
+ - token endpoint config
20
+ - healthcehck endpoint
21
+ - sso properties
22
+
23
+ - Scrub sensitive data from logs
24
+ - Default array of sensitive keyworkds
25
+ - Service instance config property to add sensitive keywords
26
+
27
+ - Add generic handler
28
+
29
+ - Add broker handler
30
+
31
+ - Add cache handler
32
+ - Broker usage
33
+ - Service instance config usage
34
+
35
+ - Update dependencies
36
+ - Minor version update
37
+ - Major version update
38
+ - Replace deprecated dependencies
39
+ Note - this does not cover all dependencies
40
+
41
+ - Compatibilty with Node 14,16 and 18
42
+
43
+ - Fix: Handle empty mock data files
44
+
45
+
46
+ ---
47
+
2
48
  ## 4.49.0 [05-15-2023]
3
49
 
4
50
  * Resolve ADAPT-2362 - Adapter Inventory from Utils Perspective (still more in AdapterBase)
@@ -1605,32 +1651,32 @@ See merge request itentialopensource/adapter-utils!68
1605
1651
  # Current Version: 4.3.1 [03-26-2019]
1606
1652
 
1607
1653
  ## New Features
1608
- * __3.10.0 [12-05-2018]__ - New methods have been add to:
1609
-
1610
- support failover - there is a method (setFailover) that can be called by adapters to get the proper failover code.
1611
- support verifying capabilities - there is a method (verifyCapability) which will verify that the adapter supports the entity, action and specific entities (Array).
1612
- support caching entities - the verifyCapability used a cache of entities. This cache can be 'local' memory or in 'redis' based on the cache_location property. You can add entity lists into the cache using the addEntityCache method.
1654
+ * __3.10.0 [12-05-2018]__ - New methods have been add to:
1655
+
1656
+ support failover - there is a method (setFailover) that can be called by adapters to get the proper failover code.
1657
+ support verifying capabilities - there is a method (verifyCapability) which will verify that the adapter supports the entity, action and specific entities (Array).
1658
+ support caching entities - the verifyCapability used a cache of entities. This cache can be 'local' memory or in 'redis' based on the cache_location property. You can add entity lists into the cache using the addEntityCache method.
1613
1659
  [PH-21980](http://itential.atlassian.net/browse/PH-21980)
1614
- * __3.9.0 [12-04-2018]__ - The external name on schemas can now be at the same level or lower --
1660
+ * __3.9.0 [12-04-2018]__ - The external name on schemas can now be at the same level or lower --
1615
1661
  It can still be sys_id or it can be something like ticket.sys_id this allows translation to be done at different levels. [PH-20788](http://itential.atlassian.net/browse/PH-20788)
1616
1662
  * __3.6.0 [11-16-2018]__ - The process to check the action files for validity has been moved into adapter-utils to reduce the code in the adapter-template. This also moves the actionSchema.json into the adapter-utils. [PH-20797](http://itential.atlassian.net/browse/PH-20797)
1617
1663
  * __3.5.0 [11-16-2018]__ - Removed the requirement for the properties -authentication.token_URI_path, healthcheck.URI_path and healthcheck.protocol. These can now be taken care of in the .system entity. [PH-20778](http://itential.atlassian.net/browse/PH-20778)
1618
1664
  * __2.1.0 [08-17-2018]__ - These libraries now support token re-use and expiration during the calls to the external system. [PH-14296](http://itential.atlassian.net/browse/PH-14296)
1619
- * __2.0.0 [08-13-2018]__ - The following issues are in this Sprint Branch
1620
- PH-16044 -- Add Generic call that is protocol and method independent
1621
- PH-16024 -- Mock data should not have to include the internal response information
1622
- PH-16125 -- Add Proxy capability to the connection
1623
- PH-15075 -- Support Base64 encoding on authentication
1624
- PH-14311 -- Adapter not returning errors on two phase calls (need to get token and then make call) and it is then running the second call.
1625
- PH-16053 -- Ability to encrypt/decrypt properties (passwords)
1626
- PH-16141 -- converted actions to an array and removed redundant data from response object
1627
- PH-16239 -- Change the path to read {} instead of <> when going through the entitypath
1628
- PH-16268 -- Change the type in the action.json response as single and multiple are confusing
1665
+ * __2.0.0 [08-13-2018]__ - The following issues are in this Sprint Branch
1666
+ PH-16044 -- Add Generic call that is protocol and method independent
1667
+ PH-16024 -- Mock data should not have to include the internal response information
1668
+ PH-16125 -- Add Proxy capability to the connection
1669
+ PH-15075 -- Support Base64 encoding on authentication
1670
+ PH-14311 -- Adapter not returning errors on two phase calls (need to get token and then make call) and it is then running the second call.
1671
+ PH-16053 -- Ability to encrypt/decrypt properties (passwords)
1672
+ PH-16141 -- converted actions to an array and removed redundant data from response object
1673
+ PH-16239 -- Change the path to read {} instead of <> when going through the entitypath
1674
+ PH-16268 -- Change the type in the action.json response as single and multiple are confusing
1629
1675
  PH-15718 -- Consistent returns that include status and code [PH-16131](http://itential.atlassian.net/browse/PH-16131)
1630
1676
 
1631
1677
  ## Improvements
1632
1678
  * __4.2.1 [03-19-2019]__ - Updated calls to support MongoDB driver 3.1.7. [PH-28266](http://itential.atlassian.net/browse/PH-28266)
1633
- * __4.2.0 [02-25-2019]__ - Added getAllCapability call for IAP
1679
+ * __4.2.0 [02-25-2019]__ - Added getAllCapability call for IAP
1634
1680
  Added refreshProperties so the adapter can take in new properties without having to restart it. [PH-24808](http://itential.atlassian.net/browse/PH-24808)
1635
1681
  * __4.0.0 [02-08-2019]__ - Adapter-utils changed error and response objects to match the new standard. This is a breaking change so when using this with your adapter, make sure you handle these new objects. [PH-25372](http://itential.atlassian.net/browse/PH-25372)
1636
1682
  * __3.13.2 [01-16-2019]__ - Added other REST Methods that were not available - OPTIONS, HEAD, TRACE, CONNECT. [PH-24158](http://itential.atlassian.net/browse/PH-24158)
package/README.md CHANGED
@@ -3,6 +3,8 @@ Itential Adapter Utilities
3
3
 
4
4
  Itential Adapter Utilities is a set of Node.js runtime libraries used by Itential Adapters.
5
5
 
6
+ Many of the capabilities supported in Itential Adapters are built into this library so that they can e better maintained and added to adapters.
7
+
6
8
  # Usage
7
9
 
8
10
  Include `@itentialopensource/adapter-utils` as a dependency and require it: