Skip to content

Commit 7d1200c

Browse files
Merge pull request #10 from RomanNyschuk/D42-29347
D42-29347 - GitHub Freshservice - Bring up to date with the changes the app has Updated asset type mappings and made performance improvements.
2 parents a0c9a7e + 047b4b8 commit 7d1200c

File tree

5 files changed

+1995
-322
lines changed

5 files changed

+1995
-322
lines changed

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Device42](http://www.device42.com/) is a Continuous Discovery software for your IT Infrastructure. It helps you automatically maintain an up-to-date inventory of your physical, virtual, and cloud servers and containers, network components, software/services/applications, and their inter-relationships and inter-dependencies.
22

33

4-
This repository contains script that helps you sync data from Device42 to FreshService.
4+
This repository contains script that helps you sync data from Device42 to Freshservice.
55

66
### Download and Installation
77
-----------------------------
@@ -44,26 +44,26 @@ Once the packages are installed and the script is configured, the script can be
4444

4545
### Configuration
4646
-----------------------------
47-
Prior to using the script, it must be configured to connect to your Device42 instance and your FreshService instance.
47+
Prior to using the script, it must be configured to connect to your Device42 instance and your Freshservice instance.
4848
* Save a copy of mapping.xml.sample as mapping.xml.
49-
* Enter your URL, User, Password, API Key in the FreshService and Device42 sections (lines 2-10).
50-
API Key can be obtained from FreshService profile page
49+
* Enter your URL, User, Password, API Key, and default approver email address in the Freshservice and Device42 sections (lines 2-11).
50+
API Key can be obtained from Freshservice profile page
5151

5252
Below the credential settings, you’ll see a Tasks section.
53-
Multiple Tasks can be setup to synchronize various CIs from Device42 to FreshService.
53+
Multiple Tasks can be setup to synchronize various CIs from Device42 to Freshservice.
5454
In the <api> section of each task, there will be a <resource> section that queries Device42 to obtain the desired CIs.
5555
Full documentation of the Device42 API and endpoints is available at https://api.device42.com.
5656
Individual tasks within a mapping.xml file can be enabled or disabled at will by changing the `enable="true"` to `enable="false"` in the <task> section.
5757

58-
Once the Device42 API resource and FreshService Target are entered, the <mapping> section is where fields from Device42 (the `resource` value) can be mapped to fields in FreshService (the `target` value).
58+
Once the Device42 API resource and Freshservice Target are entered, the <mapping> section is where fields from Device42 (the `resource` value) can be mapped to fields in Freshservice (the `target` value).
5959
It is very important to adjust the list of default values in accordance between freshservice and device 42 (for example, service_level).
6060

6161
After configuring the fields to map as needed, the script should be ready to run.
6262

6363
### Gotchas
6464
-----------------------------
65-
* FreshService API Limit is 1000 calls per hour (https://api.freshservice.com/#ratelimit)
66-
* Due to the nature of FreshService rate limits, large inventories may take extended periods of time to migrate
65+
* Freshservice API Limit is 1000 calls per hour (https://api.freshservice.com/#ratelimit)
66+
* Due to the nature of Freshservice rate limits, large inventories may take extended periods of time to migrate
6767

6868
Please use the following table as a reference only, actual times may vary due to request limit cooldowns and other internal API calls
6969

@@ -82,7 +82,7 @@ Please use the following table as a reference only, actual times may vary due to
8282

8383
### Info
8484
-----------------------------
85-
* mapping.xml - file from where we get fields relations between D42 and FreshService
85+
* mapping.xml - file from where we get fields relations between D42 and Freshservice
8686
* devicd42.py - file with integration device42 instance
8787
* freshservice.py - file with integration freshservice instance
8888
* d42_sd_sync.py - initialization and processing file, where we prepare API calls

0 commit comments

Comments
 (0)