Add function to find assocs based on endpoint
The helper function findAssociations can find all
associations based on an endpoint path and return
enough information to recreate those associations
later.
For example, searching for something like "endpointA"
could return:
owner: "ownerA"
Association{"typeA", "typeB", "endpointB"}
Which implies the association:
endpointA/typeA -> endpointB/typeB
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I0fbcf5397435f10b3072dd2640b342ee47d52f9b
4 files changed