Search in sources :

Example 1 with MetricsApiWrapper

use of org.finos.symphony.toolkit.spring.api.factories.MetricsApiWrapper in project spring-bot by finos.

the class DefaultOboInstanceFactory method buildApiWrappers.

@Override
protected List<ApiWrapper> buildApiWrappers(PodProperties pp, OboIdentity id, EndpointProperties ep) {
    List<ApiWrapper> out = super.buildApiWrappers(pp, id, ep);
    out.add(new MetricsApiWrapper(mr, pp, id.getTheApp().getCommonName() + "/" + id.getOboUserId(), ep.getUrl()));
    return out;
}
Also used : MetricsApiWrapper(org.finos.symphony.toolkit.spring.api.factories.MetricsApiWrapper) MetricsApiWrapper(org.finos.symphony.toolkit.spring.api.factories.MetricsApiWrapper) ApiWrapper(com.symphony.api.bindings.ApiWrapper)

Aggregations

ApiWrapper (com.symphony.api.bindings.ApiWrapper)1 MetricsApiWrapper (org.finos.symphony.toolkit.spring.api.factories.MetricsApiWrapper)1