Skip to content

Commit

Permalink
Add missing default metricService
Browse files Browse the repository at this point in the history
  • Loading branch information
jgomer2001 committed Feb 2, 2021
1 parent 614e95a commit 748c7b3
Showing 1 changed file with 52 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
package org.gluu.oxtrust.service.metric;

import javax.enterprise.context.ApplicationScoped;
import javax.inject.Named;

import org.gluu.model.ApplicationType;
import org.gluu.persist.PersistenceEntryManager;

/**
* Store and retrieve metric
*
* @author Yuriy Movchan Date: 01/15/2021
*/
@ApplicationScoped
@Named(MetricService.METRIC_SERVICE_COMPONENT_NAME)
public class MetricService extends org.gluu.service.metric.MetricService {

public static final String METRIC_SERVICE_COMPONENT_NAME = "metricService";

private static final long serialVersionUID = 7875838160379126796L;

@Override
public String baseDn() {
return null;
}

@Override
public ApplicationType getApplicationType() {
return null;
}

@Override
public PersistenceEntryManager getEntryManager() {
return null;
}

@Override
public org.gluu.service.metric.MetricService getMetricServiceInstance() {
return null;
}

@Override
public String getNodeIndetifier() {
return null;
}

@Override
public boolean isMetricReporterEnabled() {
return false;
}

}

0 comments on commit 748c7b3

Please sign in to comment.