Modelling APIs Dependencies
Posted: 30 Oct 2022, 08:30
Dear All,
I need your help for this case. Thank you very much.
Inputs:
Application "A" provides APIs "A1", "A2".
Application "C" provides APIs "C1".
Application "B" uses C1, A1 and A2 in order to function as designed.
I did the followings:
1/ Create "A", "B", "C" as instants of Application_Provider.
2/ Create "A::A1", "A::A2", "C::C1" as instants of Application_Provider_Interface.
3/ Assign "A::A1", "A::A2" to ap_interface slot of A, "C::C1" to ap_interface slot of C.
4/ Create "B Dependencies" as an instant of Static_Application_Provider_Architecture then assign "B Dependencies" to B's ap_static_architecture slot. (see attachment)
My questions:
- Are steps 1, 2, 3 correct to denote the APIs? If not then how I can do it correctly?
- What does ap_interface slot mean in "A::A1", "A::A2", "C::C1"? They are already interface themselves. When do we use this slot inside an Application_Provider_Interface instant?
- Is "B Dependencies" modelling in attachment correct approach for denoting the API uses and dependencies of B? If not then how?
- How can I logically trace which applications are depended on "A", "C"? e.g. in case I made a change to "A::A1", I will know "B" is impacted.
I need your help for this case. Thank you very much.
Inputs:
Application "A" provides APIs "A1", "A2".
Application "C" provides APIs "C1".
Application "B" uses C1, A1 and A2 in order to function as designed.
I did the followings:
1/ Create "A", "B", "C" as instants of Application_Provider.
2/ Create "A::A1", "A::A2", "C::C1" as instants of Application_Provider_Interface.
3/ Assign "A::A1", "A::A2" to ap_interface slot of A, "C::C1" to ap_interface slot of C.
4/ Create "B Dependencies" as an instant of Static_Application_Provider_Architecture then assign "B Dependencies" to B's ap_static_architecture slot. (see attachment)
My questions:
- Are steps 1, 2, 3 correct to denote the APIs? If not then how I can do it correctly?
- What does ap_interface slot mean in "A::A1", "A::A2", "C::C1"? They are already interface themselves. When do we use this slot inside an Application_Provider_Interface instant?
- Is "B Dependencies" modelling in attachment correct approach for denoting the API uses and dependencies of B? If not then how?
- How can I logically trace which applications are depended on "A", "C"? e.g. in case I made a change to "A::A1", I will know "B" is impacted.