Reputation: 21
I am using WSO2 Governance Registry (4.6.0) for storing web application catalogues (Countries, Regions, Cities, etc).
I have created Artifact types for each of the catalogues and populated the registry with values. When doing this, WSO2 Governance Registry publishes CRUD methods as showing here.
I need a way to retrieve the entire list for a artifact type calling Registry API via one single web service and unfortunately couldn't find documentation for it.
Does anyone knows how to obtain this kind of endpoints without custom development? Does Governance Registry has built in this WS?
Upvotes: 2
Views: 340
Reputation: 46
You can access the configurable governance artifact api in governance api by following [1]. There is a function named getAllGenericArtifacts() to retrieve all artifacts [2]. You can find a sample code from here[3].
[1] - https://docs.wso2.org/display/Governance460/Configurable+Governance+Artifacts+with+API
Upvotes: 2