Depends on: Relationship between Application service and Application

Abigail
Tera Expert

I have a quick question
I received a request to change the relationship from Contained by to Depends on.

  • The parent is the Application
  • The child is the Application Service

My question is: I need to remove the Contained by relationship and replace it with Depends on. However, when I make the change, I notice that the parent and child seem to switch roles.

For example:

  • XXX-XXX (Parent)
  • XXX-XXX-DEV (Child)

With Contained by, the parent is XXX-XXX and the child is XXX-XXX-DEV. But when I change it to Depends on, the parent becomes XXX-XXX-DEV and the child becomes XXX-XXX.

Is this behavior correct?


5 REPLIES 5

Mathew Hillyard
Mega Sage

Hi @Abigail 

Have a read of the CSDM 5.0 whitepaper. This will detail the correct relationships between CSDM objects.

 

I’m not sure what your environment is doing but it sounds like the correct objects are not set up properly. As @Moritz Ruprecht has said - the relationship it sounds like you should have is Business Application Consumes::Consumed by Application Service (the relationship type has changed in CSDM v5 but Consumes::consumed by should be used for now as the platform hasn’t caught up with the whitepaper), but you seem to have an Application [cmdb_ci_appl] as a parent to an Application Service, which is not correct - in fact the parent and child are reversed.

 

If you have a look at the whitepaper this should become apparent and you can make the necessary adjustments. It’s critical that the parent-child relationships are correct as various configurations on the platform needs them.

 

I hope this helps!

Mat