@itentialopensource/adapter-paragon_insights 0.1.2 → 0.2.0
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/.eslintignore +0 -1
- package/.jshintrc +3 -0
- package/CALLS.md +638 -483
- package/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +1 -160
- package/ENHANCE.md +2 -2
- package/README.md +31 -22
- package/adapter.js +10567 -8758
- package/adapterBase.js +538 -873
- package/changelogs/CHANGELOG.md +16 -0
- package/entities/Config/action.json +306 -0
- package/entities/Config/mockdatafiles/retrieveHealthbotIngestIfaDeviceIds-default.json +4 -0
- package/entities/Config/mockdatafiles/retrieveHealthbotIngestIfaDevices-default.json +10 -0
- package/entities/Config/schema.json +16 -1
- package/entities/Configuration/action.json +61 -0
- package/entities/Configuration/schema.json +4 -1
- package/entities/Utility/action.json +44 -0
- package/entities/Utility/schema.json +20 -0
- package/metadata.json +51 -0
- package/package.json +23 -25
- package/pronghorn.json +1480 -343
- package/propertiesSchema.json +453 -41
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +42358 -0
- package/report/adapter-openapi.yaml +29640 -0
- package/report/adapterInfo.json +8 -8
- package/report/updateReport1691508880430.json +120 -0
- package/report/updateReport1692202195666.json +120 -0
- package/report/updateReport1692203297401.json +120 -0
- package/report/updateReport1694469141676.json +120 -0
- package/report/updateReport1698422888699.json +120 -0
- package/sampleProperties.json +67 -14
- package/test/integration/adapterTestBasicGet.js +1 -1
- package/test/integration/adapterTestConnectivity.js +91 -42
- package/test/integration/adapterTestIntegration.js +640 -2
- package/test/unit/adapterBaseTestUnit.js +388 -315
- package/test/unit/adapterTestUnit.js +870 -110
- package/utils/adapterInfo.js +1 -1
- package/utils/addAuth.js +1 -1
- package/utils/artifactize.js +1 -1
- package/utils/checkMigrate.js +1 -1
- package/utils/entitiesToDB.js +1 -0
- package/utils/findPath.js +1 -1
- package/utils/methodDocumentor.js +71 -23
- package/utils/modify.js +13 -15
- package/utils/packModificationScript.js +1 -1
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +3 -10
- package/utils/tbUtils.js +2 -3
- package/utils/testRunner.js +1 -1
- package/utils/troubleshootingAdapter.js +1 -3
- package/workflows/README.md +0 -3
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
## 0.1.2 [05-01-2023]
|
|
3
|
+
|
|
4
|
+
* Add multi step authentication
|
|
5
|
+
|
|
6
|
+
See merge request itentialopensource/adapters/telemetry-analytics/adapter-paragon_insights!1
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 0.1.1 [03-13-2023]
|
|
11
|
+
|
|
12
|
+
* Bug fixes and performance improvements
|
|
13
|
+
|
|
14
|
+
See commit 63a1ffe
|
|
15
|
+
|
|
16
|
+
---
|
|
@@ -4581,6 +4581,312 @@
|
|
|
4581
4581
|
"mockFile": ""
|
|
4582
4582
|
}
|
|
4583
4583
|
]
|
|
4584
|
+
},
|
|
4585
|
+
{
|
|
4586
|
+
"name": "retrieveHealthbotIngestSettingsPaa",
|
|
4587
|
+
"protocol": "REST",
|
|
4588
|
+
"method": "GET",
|
|
4589
|
+
"entitypath": "{base_path}/{version}/config/ingest/paa/?{query}",
|
|
4590
|
+
"requestSchema": "schema.json",
|
|
4591
|
+
"responseSchema": "schema.json",
|
|
4592
|
+
"timeout": 0,
|
|
4593
|
+
"sendEmpty": false,
|
|
4594
|
+
"sendGetBody": false,
|
|
4595
|
+
"requestDatatype": "JSON",
|
|
4596
|
+
"responseDatatype": "JSON",
|
|
4597
|
+
"headers": {},
|
|
4598
|
+
"responseObjects": [
|
|
4599
|
+
{
|
|
4600
|
+
"type": "default",
|
|
4601
|
+
"key": "",
|
|
4602
|
+
"mockFile": ""
|
|
4603
|
+
}
|
|
4604
|
+
]
|
|
4605
|
+
},
|
|
4606
|
+
{
|
|
4607
|
+
"name": "deleteHealthbotIngestPaaByPaaName",
|
|
4608
|
+
"protocol": "REST",
|
|
4609
|
+
"method": "DELETE",
|
|
4610
|
+
"entitypath": "{base_path}/{version}/config/ingest/paa/{pathv1}/?{query}",
|
|
4611
|
+
"requestSchema": "schema.json",
|
|
4612
|
+
"responseSchema": "schema.json",
|
|
4613
|
+
"timeout": 0,
|
|
4614
|
+
"sendEmpty": false,
|
|
4615
|
+
"requestDatatype": "JSON",
|
|
4616
|
+
"responseDatatype": "JSON",
|
|
4617
|
+
"headers": {},
|
|
4618
|
+
"responseObjects": [
|
|
4619
|
+
{
|
|
4620
|
+
"type": "default",
|
|
4621
|
+
"key": "",
|
|
4622
|
+
"mockFile": ""
|
|
4623
|
+
}
|
|
4624
|
+
]
|
|
4625
|
+
},
|
|
4626
|
+
{
|
|
4627
|
+
"name": "retrieveHealthbotIngestPaaByPaaName",
|
|
4628
|
+
"protocol": "REST",
|
|
4629
|
+
"method": "GET",
|
|
4630
|
+
"entitypath": "{base_path}/{version}/config/ingest/paa/{pathv1}/?{query}",
|
|
4631
|
+
"requestSchema": "schema.json",
|
|
4632
|
+
"responseSchema": "schema.json",
|
|
4633
|
+
"timeout": 0,
|
|
4634
|
+
"sendEmpty": false,
|
|
4635
|
+
"sendGetBody": false,
|
|
4636
|
+
"requestDatatype": "JSON",
|
|
4637
|
+
"responseDatatype": "JSON",
|
|
4638
|
+
"headers": {},
|
|
4639
|
+
"responseObjects": [
|
|
4640
|
+
{
|
|
4641
|
+
"type": "default",
|
|
4642
|
+
"key": "",
|
|
4643
|
+
"mockFile": ""
|
|
4644
|
+
}
|
|
4645
|
+
]
|
|
4646
|
+
},
|
|
4647
|
+
{
|
|
4648
|
+
"name": "updateIngestPaaByPaaName",
|
|
4649
|
+
"protocol": "REST",
|
|
4650
|
+
"method": "PUT",
|
|
4651
|
+
"entitypath": "{base_path}/{version}/config/ingest/paa/{pathv1}/?{query}",
|
|
4652
|
+
"requestSchema": "schema.json",
|
|
4653
|
+
"responseSchema": "schema.json",
|
|
4654
|
+
"timeout": 0,
|
|
4655
|
+
"sendEmpty": false,
|
|
4656
|
+
"requestDatatype": "JSON",
|
|
4657
|
+
"responseDatatype": "JSON",
|
|
4658
|
+
"headers": {},
|
|
4659
|
+
"responseObjects": [
|
|
4660
|
+
{
|
|
4661
|
+
"type": "default",
|
|
4662
|
+
"key": "",
|
|
4663
|
+
"mockFile": ""
|
|
4664
|
+
}
|
|
4665
|
+
]
|
|
4666
|
+
},
|
|
4667
|
+
{
|
|
4668
|
+
"name": "createIngestPaaByPaaName",
|
|
4669
|
+
"protocol": "REST",
|
|
4670
|
+
"method": "POST",
|
|
4671
|
+
"entitypath": "{base_path}/{version}/config/ingest/paa/{pathv1}/?{query}",
|
|
4672
|
+
"requestSchema": "schema.json",
|
|
4673
|
+
"responseSchema": "schema.json",
|
|
4674
|
+
"timeout": 0,
|
|
4675
|
+
"sendEmpty": false,
|
|
4676
|
+
"requestDatatype": "JSON",
|
|
4677
|
+
"responseDatatype": "JSON",
|
|
4678
|
+
"headers": {},
|
|
4679
|
+
"responseObjects": [
|
|
4680
|
+
{
|
|
4681
|
+
"type": "default",
|
|
4682
|
+
"key": "",
|
|
4683
|
+
"mockFile": ""
|
|
4684
|
+
}
|
|
4685
|
+
]
|
|
4686
|
+
},
|
|
4687
|
+
{
|
|
4688
|
+
"name": "deleteHealthbotIngestIfa",
|
|
4689
|
+
"protocol": "REST",
|
|
4690
|
+
"method": "DELETE",
|
|
4691
|
+
"entitypath": "{base_path}/{version}/config/ingest/ifa/?{query}",
|
|
4692
|
+
"requestSchema": "schema.json",
|
|
4693
|
+
"responseSchema": "schema.json",
|
|
4694
|
+
"timeout": 0,
|
|
4695
|
+
"sendEmpty": false,
|
|
4696
|
+
"requestDatatype": "JSON",
|
|
4697
|
+
"responseDatatype": "JSON",
|
|
4698
|
+
"headers": {},
|
|
4699
|
+
"responseObjects": [
|
|
4700
|
+
{
|
|
4701
|
+
"type": "default",
|
|
4702
|
+
"key": "",
|
|
4703
|
+
"mockFile": ""
|
|
4704
|
+
}
|
|
4705
|
+
]
|
|
4706
|
+
},
|
|
4707
|
+
{
|
|
4708
|
+
"name": "retrieveHealthbotIngestIfa",
|
|
4709
|
+
"protocol": "REST",
|
|
4710
|
+
"method": "GET",
|
|
4711
|
+
"entitypath": "{base_path}/{version}/config/ingest/ifa/?{query}",
|
|
4712
|
+
"requestSchema": "schema.json",
|
|
4713
|
+
"responseSchema": "schema.json",
|
|
4714
|
+
"timeout": 0,
|
|
4715
|
+
"sendEmpty": false,
|
|
4716
|
+
"sendGetBody": false,
|
|
4717
|
+
"requestDatatype": "JSON",
|
|
4718
|
+
"responseDatatype": "JSON",
|
|
4719
|
+
"headers": {},
|
|
4720
|
+
"responseObjects": [
|
|
4721
|
+
{
|
|
4722
|
+
"type": "default",
|
|
4723
|
+
"key": "",
|
|
4724
|
+
"mockFile": ""
|
|
4725
|
+
}
|
|
4726
|
+
]
|
|
4727
|
+
},
|
|
4728
|
+
{
|
|
4729
|
+
"name": "createHealthbotIngestIfa",
|
|
4730
|
+
"protocol": "REST",
|
|
4731
|
+
"method": "POST",
|
|
4732
|
+
"entitypath": "{base_path}/{version}/config/ingest/ifa/?{query}",
|
|
4733
|
+
"requestSchema": "schema.json",
|
|
4734
|
+
"responseSchema": "schema.json",
|
|
4735
|
+
"timeout": 0,
|
|
4736
|
+
"sendEmpty": false,
|
|
4737
|
+
"requestDatatype": "JSON",
|
|
4738
|
+
"responseDatatype": "JSON",
|
|
4739
|
+
"headers": {},
|
|
4740
|
+
"responseObjects": [
|
|
4741
|
+
{
|
|
4742
|
+
"type": "default",
|
|
4743
|
+
"key": "",
|
|
4744
|
+
"mockFile": ""
|
|
4745
|
+
}
|
|
4746
|
+
]
|
|
4747
|
+
},
|
|
4748
|
+
{
|
|
4749
|
+
"name": "updateHealthbotIngestIfa",
|
|
4750
|
+
"protocol": "REST",
|
|
4751
|
+
"method": "PUT",
|
|
4752
|
+
"entitypath": "{base_path}/{version}/config/ingest/ifa/?{query}",
|
|
4753
|
+
"requestSchema": "schema.json",
|
|
4754
|
+
"responseSchema": "schema.json",
|
|
4755
|
+
"timeout": 0,
|
|
4756
|
+
"sendEmpty": false,
|
|
4757
|
+
"requestDatatype": "JSON",
|
|
4758
|
+
"responseDatatype": "JSON",
|
|
4759
|
+
"headers": {},
|
|
4760
|
+
"responseObjects": [
|
|
4761
|
+
{
|
|
4762
|
+
"type": "default",
|
|
4763
|
+
"key": "",
|
|
4764
|
+
"mockFile": ""
|
|
4765
|
+
}
|
|
4766
|
+
]
|
|
4767
|
+
},
|
|
4768
|
+
{
|
|
4769
|
+
"name": "retrieveHealthbotIngestIfaDeviceIds",
|
|
4770
|
+
"protocol": "REST",
|
|
4771
|
+
"method": "GET",
|
|
4772
|
+
"entitypath": "{base_path}/{version}/config/ingest/ifa/device/?{query}",
|
|
4773
|
+
"requestSchema": "schema.json",
|
|
4774
|
+
"responseSchema": "schema.json",
|
|
4775
|
+
"timeout": 0,
|
|
4776
|
+
"sendEmpty": false,
|
|
4777
|
+
"sendGetBody": false,
|
|
4778
|
+
"requestDatatype": "JSON",
|
|
4779
|
+
"responseDatatype": "JSON",
|
|
4780
|
+
"headers": {},
|
|
4781
|
+
"responseObjects": [
|
|
4782
|
+
{
|
|
4783
|
+
"type": "default",
|
|
4784
|
+
"key": "",
|
|
4785
|
+
"mockFile": "mockdatafiles/retrieveHealthbotIngestIfaDeviceIds-default.json"
|
|
4786
|
+
}
|
|
4787
|
+
]
|
|
4788
|
+
},
|
|
4789
|
+
{
|
|
4790
|
+
"name": "retrieveHealthbotIngestIfaDevices",
|
|
4791
|
+
"protocol": "REST",
|
|
4792
|
+
"method": "GET",
|
|
4793
|
+
"entitypath": "{base_path}/{version}/config/ingest/ifa/devices/?{query}",
|
|
4794
|
+
"requestSchema": "schema.json",
|
|
4795
|
+
"responseSchema": "schema.json",
|
|
4796
|
+
"timeout": 0,
|
|
4797
|
+
"sendEmpty": false,
|
|
4798
|
+
"sendGetBody": false,
|
|
4799
|
+
"requestDatatype": "JSON",
|
|
4800
|
+
"responseDatatype": "JSON",
|
|
4801
|
+
"headers": {},
|
|
4802
|
+
"responseObjects": [
|
|
4803
|
+
{
|
|
4804
|
+
"type": "default",
|
|
4805
|
+
"key": "",
|
|
4806
|
+
"mockFile": "mockdatafiles/retrieveHealthbotIngestIfaDevices-default.json"
|
|
4807
|
+
}
|
|
4808
|
+
]
|
|
4809
|
+
},
|
|
4810
|
+
{
|
|
4811
|
+
"name": "deleteHealthbotIngestIfaDeviceById",
|
|
4812
|
+
"protocol": "REST",
|
|
4813
|
+
"method": "DELETE",
|
|
4814
|
+
"entitypath": "{base_path}/{version}/config/ingest/ifa/device/{pathv1}/?{query}",
|
|
4815
|
+
"requestSchema": "schema.json",
|
|
4816
|
+
"responseSchema": "schema.json",
|
|
4817
|
+
"timeout": 0,
|
|
4818
|
+
"sendEmpty": false,
|
|
4819
|
+
"requestDatatype": "JSON",
|
|
4820
|
+
"responseDatatype": "JSON",
|
|
4821
|
+
"headers": {},
|
|
4822
|
+
"responseObjects": [
|
|
4823
|
+
{
|
|
4824
|
+
"type": "default",
|
|
4825
|
+
"key": "",
|
|
4826
|
+
"mockFile": ""
|
|
4827
|
+
}
|
|
4828
|
+
]
|
|
4829
|
+
},
|
|
4830
|
+
{
|
|
4831
|
+
"name": "retrieveHealthbotIngestIfaDeviceById",
|
|
4832
|
+
"protocol": "REST",
|
|
4833
|
+
"method": "GET",
|
|
4834
|
+
"entitypath": "{base_path}/{version}/config/ingest/ifa/device/{pathv1}/?{query}",
|
|
4835
|
+
"requestSchema": "schema.json",
|
|
4836
|
+
"responseSchema": "schema.json",
|
|
4837
|
+
"timeout": 0,
|
|
4838
|
+
"sendEmpty": false,
|
|
4839
|
+
"sendGetBody": false,
|
|
4840
|
+
"requestDatatype": "JSON",
|
|
4841
|
+
"responseDatatype": "JSON",
|
|
4842
|
+
"headers": {},
|
|
4843
|
+
"responseObjects": [
|
|
4844
|
+
{
|
|
4845
|
+
"type": "default",
|
|
4846
|
+
"key": "",
|
|
4847
|
+
"mockFile": ""
|
|
4848
|
+
}
|
|
4849
|
+
]
|
|
4850
|
+
},
|
|
4851
|
+
{
|
|
4852
|
+
"name": "createHealthbotIngestIfaDeviceById",
|
|
4853
|
+
"protocol": "REST",
|
|
4854
|
+
"method": "POST",
|
|
4855
|
+
"entitypath": "{base_path}/{version}/config/ingest/ifa/device/{pathv1}/?{query}",
|
|
4856
|
+
"requestSchema": "schema.json",
|
|
4857
|
+
"responseSchema": "schema.json",
|
|
4858
|
+
"timeout": 0,
|
|
4859
|
+
"sendEmpty": false,
|
|
4860
|
+
"requestDatatype": "JSON",
|
|
4861
|
+
"responseDatatype": "JSON",
|
|
4862
|
+
"headers": {},
|
|
4863
|
+
"responseObjects": [
|
|
4864
|
+
{
|
|
4865
|
+
"type": "default",
|
|
4866
|
+
"key": "",
|
|
4867
|
+
"mockFile": ""
|
|
4868
|
+
}
|
|
4869
|
+
]
|
|
4870
|
+
},
|
|
4871
|
+
{
|
|
4872
|
+
"name": "updateHealthbotIngestIfaDeviceById",
|
|
4873
|
+
"protocol": "REST",
|
|
4874
|
+
"method": "PUT",
|
|
4875
|
+
"entitypath": "{base_path}/{version}/config/ingest/ifa/device/{pathv1}/?{query}",
|
|
4876
|
+
"requestSchema": "schema.json",
|
|
4877
|
+
"responseSchema": "schema.json",
|
|
4878
|
+
"timeout": 0,
|
|
4879
|
+
"sendEmpty": false,
|
|
4880
|
+
"requestDatatype": "JSON",
|
|
4881
|
+
"responseDatatype": "JSON",
|
|
4882
|
+
"headers": {},
|
|
4883
|
+
"responseObjects": [
|
|
4884
|
+
{
|
|
4885
|
+
"type": "default",
|
|
4886
|
+
"key": "",
|
|
4887
|
+
"mockFile": ""
|
|
4888
|
+
}
|
|
4889
|
+
]
|
|
4584
4890
|
}
|
|
4585
4891
|
]
|
|
4586
4892
|
}
|
|
@@ -234,7 +234,22 @@
|
|
|
234
234
|
"deleteHealthbotOrganizationOrganizationById",
|
|
235
235
|
"retrieveHealthbotOrganizationOrganizationById",
|
|
236
236
|
"createHealthbotOrganizationOrganizationById",
|
|
237
|
-
"updateHealthbotOrganizationOrganizationById"
|
|
237
|
+
"updateHealthbotOrganizationOrganizationById",
|
|
238
|
+
"retrieveHealthbotIngestSettingsPaa",
|
|
239
|
+
"deleteHealthbotIngestPaaByPaaName",
|
|
240
|
+
"retrieveHealthbotIngestPaaByPaaName",
|
|
241
|
+
"updateIngestPaaByPaaName",
|
|
242
|
+
"createIngestPaaByPaaName",
|
|
243
|
+
"deleteHealthbotIngestIfa",
|
|
244
|
+
"retrieveHealthbotIngestIfa",
|
|
245
|
+
"createHealthbotIngestIfa",
|
|
246
|
+
"updateHealthbotIngestIfa",
|
|
247
|
+
"retrieveHealthbotIngestIfaDeviceIds",
|
|
248
|
+
"retrieveHealthbotIngestIfaDevices",
|
|
249
|
+
"deleteHealthbotIngestIfaDeviceById",
|
|
250
|
+
"retrieveHealthbotIngestIfaDeviceById",
|
|
251
|
+
"createHealthbotIngestIfaDeviceById",
|
|
252
|
+
"updateHealthbotIngestIfaDeviceById"
|
|
238
253
|
],
|
|
239
254
|
"external_name": "ph_request_type"
|
|
240
255
|
},
|
|
@@ -2943,6 +2943,67 @@
|
|
|
2943
2943
|
"mockFile": ""
|
|
2944
2944
|
}
|
|
2945
2945
|
]
|
|
2946
|
+
},
|
|
2947
|
+
{
|
|
2948
|
+
"name": "retrieveDeviceTriggerInfo",
|
|
2949
|
+
"protocol": "REST",
|
|
2950
|
+
"method": "GET",
|
|
2951
|
+
"entitypath": "{base_path}/{version}/device/{pathv1}/trigger_info/?{query}",
|
|
2952
|
+
"requestSchema": "schema.json",
|
|
2953
|
+
"responseSchema": "schema.json",
|
|
2954
|
+
"timeout": 0,
|
|
2955
|
+
"sendEmpty": false,
|
|
2956
|
+
"sendGetBody": false,
|
|
2957
|
+
"requestDatatype": "JSON",
|
|
2958
|
+
"responseDatatype": "JSON",
|
|
2959
|
+
"headers": {},
|
|
2960
|
+
"responseObjects": [
|
|
2961
|
+
{
|
|
2962
|
+
"type": "default",
|
|
2963
|
+
"key": "",
|
|
2964
|
+
"mockFile": ""
|
|
2965
|
+
}
|
|
2966
|
+
]
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
"name": "removeIcebergDevicesFromGroup",
|
|
2970
|
+
"protocol": "REST",
|
|
2971
|
+
"method": "DELETE",
|
|
2972
|
+
"entitypath": "{base_path}/{version}/config/device-group/{pathv1}/device/?{query}",
|
|
2973
|
+
"requestSchema": "schema.json",
|
|
2974
|
+
"responseSchema": "schema.json",
|
|
2975
|
+
"timeout": 0,
|
|
2976
|
+
"sendEmpty": false,
|
|
2977
|
+
"requestDatatype": "JSON",
|
|
2978
|
+
"responseDatatype": "JSON",
|
|
2979
|
+
"headers": {},
|
|
2980
|
+
"responseObjects": [
|
|
2981
|
+
{
|
|
2982
|
+
"type": "default",
|
|
2983
|
+
"key": "",
|
|
2984
|
+
"mockFile": ""
|
|
2985
|
+
}
|
|
2986
|
+
]
|
|
2987
|
+
},
|
|
2988
|
+
{
|
|
2989
|
+
"name": "removeIcebergNetworkGroupNetworkGroupById",
|
|
2990
|
+
"protocol": "REST",
|
|
2991
|
+
"method": "DELETE",
|
|
2992
|
+
"entitypath": "{base_path}/{version}/config/network-group/{pathv1}/variable/?{query}",
|
|
2993
|
+
"requestSchema": "schema.json",
|
|
2994
|
+
"responseSchema": "schema.json",
|
|
2995
|
+
"timeout": 0,
|
|
2996
|
+
"sendEmpty": false,
|
|
2997
|
+
"requestDatatype": "JSON",
|
|
2998
|
+
"responseDatatype": "JSON",
|
|
2999
|
+
"headers": {},
|
|
3000
|
+
"responseObjects": [
|
|
3001
|
+
{
|
|
3002
|
+
"type": "default",
|
|
3003
|
+
"key": "",
|
|
3004
|
+
"mockFile": ""
|
|
3005
|
+
}
|
|
3006
|
+
]
|
|
2946
3007
|
}
|
|
2947
3008
|
]
|
|
2948
3009
|
}
|
|
@@ -154,7 +154,10 @@
|
|
|
154
154
|
"deleteHealthbotOrganizationsOrganizations",
|
|
155
155
|
"retrieveHealthbotOrganizationsOrganizations",
|
|
156
156
|
"createHealthbotOrganizationsOrganizations",
|
|
157
|
-
"updateHealthbotOrganizationsOrganizations"
|
|
157
|
+
"updateHealthbotOrganizationsOrganizations",
|
|
158
|
+
"retrieveDeviceTriggerInfo",
|
|
159
|
+
"removeIcebergDevicesFromGroup",
|
|
160
|
+
"removeIcebergNetworkGroupNetworkGroupById"
|
|
158
161
|
],
|
|
159
162
|
"external_name": "ph_request_type"
|
|
160
163
|
},
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "postJunosEncode",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/junos-encode/?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "postJunosDecode",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "{base_path}/{version}/junos-decode/?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"requestDatatype": "JSON",
|
|
33
|
+
"responseDatatype": "JSON",
|
|
34
|
+
"headers": {},
|
|
35
|
+
"responseObjects": [
|
|
36
|
+
{
|
|
37
|
+
"type": "default",
|
|
38
|
+
"key": "",
|
|
39
|
+
"mockFile": ""
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "postJunosEncode",
|
|
12
|
+
"enum": [
|
|
13
|
+
"postJunosEncode",
|
|
14
|
+
"postJunosDecode"
|
|
15
|
+
],
|
|
16
|
+
"external_name": "ph_request_type"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"definitions": {}
|
|
20
|
+
}
|
package/metadata.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "adapter-paragon_insights",
|
|
3
|
+
"webName": "Adapter for Integration to Juniper Paragon Insights",
|
|
4
|
+
"vendor": "Juniper Networks",
|
|
5
|
+
"product": "Paragon Insights",
|
|
6
|
+
"osVersion": [],
|
|
7
|
+
"apiVersions": [],
|
|
8
|
+
"iapVersions": [
|
|
9
|
+
"2021.1.x",
|
|
10
|
+
"2021.2.x",
|
|
11
|
+
"2022.1.x",
|
|
12
|
+
"2023.1.x"
|
|
13
|
+
],
|
|
14
|
+
"method": "REST",
|
|
15
|
+
"type": "Adapter",
|
|
16
|
+
"domains": [
|
|
17
|
+
"Service Assurance"
|
|
18
|
+
],
|
|
19
|
+
"tags": [],
|
|
20
|
+
"useCases": [],
|
|
21
|
+
"deprecated": {
|
|
22
|
+
"isDeprecated": false
|
|
23
|
+
},
|
|
24
|
+
"brokerSince": "",
|
|
25
|
+
"documentation": {
|
|
26
|
+
"storeLink": "",
|
|
27
|
+
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-paragon_insights",
|
|
28
|
+
"repoLink": "https://gitlab.com/itentialopensource/adapters/telemetry-analytics/adapter-paragon_insights",
|
|
29
|
+
"docLink": "https://docs.itential.com/opensource/docs/paragon-insights",
|
|
30
|
+
"demoLinks": [],
|
|
31
|
+
"trainingLinks": [],
|
|
32
|
+
"faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
|
|
33
|
+
"contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
|
|
34
|
+
"issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
|
|
35
|
+
"webLink": "https://www.itential.com/adapters/paragon-insights/",
|
|
36
|
+
"vendorLink": "https://www.juniper.net/us/en.html",
|
|
37
|
+
"productLink": "https://www.juniper.net/us/en/products/network-automation/paragon-insights.html",
|
|
38
|
+
"apiLinks": [
|
|
39
|
+
"https://www.juniper.net/documentation/product/us/en/paragon-insights/"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"assets": [],
|
|
43
|
+
"relatedItems": {
|
|
44
|
+
"adapters": [],
|
|
45
|
+
"integrations": [],
|
|
46
|
+
"ecosystemApplications": [],
|
|
47
|
+
"workflowProjects": [],
|
|
48
|
+
"transformationProjects": [],
|
|
49
|
+
"exampleProjects": []
|
|
50
|
+
}
|
|
51
|
+
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-paragon_insights",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "This adapter integrates with system described as: Paragon Insights",
|
|
5
5
|
"main": "adapter.js",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
6
|
+
"systemName": "Juniper Paragon Insights",
|
|
7
|
+
"wizardVersion": "2.44.7",
|
|
8
|
+
"engineVersion": "1.67.14",
|
|
8
9
|
"adapterType": "http",
|
|
9
10
|
"scripts": {
|
|
10
11
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
11
|
-
"preinstall": "node utils/setup.js
|
|
12
|
+
"preinstall": "node utils/setup.js",
|
|
12
13
|
"deinstall": "node utils/removeHooks.js",
|
|
13
14
|
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
14
15
|
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
@@ -54,34 +55,31 @@
|
|
|
54
55
|
"author": "Itential",
|
|
55
56
|
"homepage": "https://gitlab.com/itentialopensource/adapters/telemetry-analytics/adapter-paragon_insights#readme",
|
|
56
57
|
"dependencies": {
|
|
57
|
-
"@itentialopensource/adapter-utils": "^
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
58
|
+
"@itentialopensource/adapter-utils": "^5.3.2",
|
|
59
|
+
"acorn": "^8.10.0",
|
|
60
|
+
"ajv": "^8.12.0",
|
|
61
|
+
"axios": "^1.6.3",
|
|
62
|
+
"commander": "^11.0.0",
|
|
63
|
+
"dns-lookup-promise": "^1.0.4",
|
|
64
|
+
"fs-extra": "^11.1.1",
|
|
63
65
|
"json-query": "^2.2.2",
|
|
64
|
-
"mocha": "^
|
|
66
|
+
"mocha": "^10.2.0",
|
|
65
67
|
"mocha-param": "^2.0.1",
|
|
66
|
-
"mongodb": "^4.
|
|
67
|
-
"network-diagnostics": "^0.5.3",
|
|
68
|
+
"mongodb": "^4.16.0",
|
|
68
69
|
"nyc": "^15.1.0",
|
|
70
|
+
"ping": "^0.4.4",
|
|
69
71
|
"prompts": "^2.4.2",
|
|
70
72
|
"readline-sync": "^1.4.10",
|
|
71
|
-
"semver": "^7.3
|
|
72
|
-
"winston": "^3.
|
|
73
|
+
"semver": "^7.5.3",
|
|
74
|
+
"winston": "^3.9.0"
|
|
73
75
|
},
|
|
74
76
|
"devDependencies": {
|
|
75
|
-
"chai": "^4.3.
|
|
76
|
-
"eslint": "^
|
|
77
|
-
"eslint-config-airbnb-base": "^
|
|
78
|
-
"eslint-plugin-import": "^2.
|
|
79
|
-
"eslint-plugin-json": "^3.
|
|
80
|
-
"
|
|
81
|
-
"testdouble": "^3.16.1"
|
|
82
|
-
},
|
|
83
|
-
"resolutions": {
|
|
84
|
-
"minimist": "^1.2.5"
|
|
77
|
+
"chai": "^4.3.7",
|
|
78
|
+
"eslint": "^8.44.0",
|
|
79
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
80
|
+
"eslint-plugin-import": "^2.27.5",
|
|
81
|
+
"eslint-plugin-json": "^3.1.0",
|
|
82
|
+
"testdouble": "^3.18.0"
|
|
85
83
|
},
|
|
86
84
|
"private": false
|
|
87
85
|
}
|