
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2022 03:56 AM
Hi,
I'm trying to create by code (Not with UI) a Mapped Application Service and its Entry Point using a Script-Background. All the records are well inserted in the corresponding tables (cmdb_ci_service_discovered, cmdb_ci_endpoint_http, sa_m2m_service_entry_point, and svc_ci_assoc); I check them by UI BUT the View Map show an Error (see attached screenshot).
SCRIPT-BACKGROUND:
Solved! Go to Solution.
- Labels:
-
Discovery
-
Service Mapping

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2022 01:06 AM
Steps to automate the service mapping of an Application Service (AS):
- Create the AS record in the Application Service (cmdb_ci_service_auto) table.
- According to the AS Entry Point (EP) type, create a record in the corresponding Endpoint table (cmdb_ci_endpoint_<EP Type>).
- Link the Endpoint record to the AS as an EP in the Entry Point (sa_m2m_service_entry_point) table.
- Reclassify the AS record to the Mapped Application Service (cmdb_ci_service_discovered) table and Populate the Discovered Service. The "Convert to Application Service" UI Action can be very helpful.
- Update the Sa Endpoint Status "sa_endpoint_status" table that the service discovering of the AS start automatically.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2022 01:06 AM
Steps to automate the service mapping of an Application Service (AS):
- Create the AS record in the Application Service (cmdb_ci_service_auto) table.
- According to the AS Entry Point (EP) type, create a record in the corresponding Endpoint table (cmdb_ci_endpoint_<EP Type>).
- Link the Endpoint record to the AS as an EP in the Entry Point (sa_m2m_service_entry_point) table.
- Reclassify the AS record to the Mapped Application Service (cmdb_ci_service_discovered) table and Populate the Discovered Service. The "Convert to Application Service" UI Action can be very helpful.
- Update the Sa Endpoint Status "sa_endpoint_status" table that the service discovering of the AS start automatically.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2024 04:30 PM
Hi Omar,
From Vancouver release, you can use method AddEntryPoint from BusinessServiceManager() API.
Check following doc from developer site:
Kindest Regards,
RD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2024 04:50 AM
Hello Omar,
Me also trying something like this you have tried , i would like to understand little more on below two points
- Reclassify the AS record to the Mapped Application Service (cmdb_ci_service_discovered) table and Populate the Discovered Service. The "Convert to Application Service" UI Action can be very helpful.
- Update the Sa Endpoint Status "sa_endpoint_status" table that the service discovering of the AS start automatically.
could you please elaborate more on this as in what exactly need to done in this two steps.