pull up Oracle URI scheme

This commit is contained in:
Christopher Smith
2014-07-09 19:30:06 -05:00
parent 9ef5d5da70
commit dfa8b87670
2 changed files with 4 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ import org.springframework.cloud.service.common.OracleServiceInfo;
public class OracleServiceInfoCreator extends RelationalServiceInfoCreator<OracleServiceInfo> {
public OracleServiceInfoCreator() {
super(new Tags(), "oracle");
super(new Tags(), OracleServiceInfo.URI_SCHEME);
}
@Override

View File

@@ -5,8 +5,10 @@ import org.springframework.cloud.service.ServiceInfo;
@ServiceInfo.ServiceLabel("oracle")
public class OracleServiceInfo extends RelationalServiceInfo {
public static final String URI_SCHEME = "oracle";
public OracleServiceInfo(String id, String url) {
super(id, url, "oracle");
super(id, url, URI_SCHEME);
}
@Override