Added support for MS-SQL and Azure SQL DB
Added support for MS-SQL and Azure SQL DB
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package org.springframework.cloud.cloudfoundry;
|
||||
|
||||
import org.springframework.cloud.service.common.SqlServerServiceInfo;
|
||||
|
||||
public class SqlServerServiceInfoCreator extends
|
||||
RelationalServiceInfoCreator<SqlServerServiceInfo> {
|
||||
|
||||
public SqlServerServiceInfoCreator() {
|
||||
super(new Tags(), SqlServerServiceInfo.SQLSERVER_SCHEME); }
|
||||
|
||||
@Override
|
||||
public SqlServerServiceInfo createServiceInfo(String id, String url) {
|
||||
return new SqlServerServiceInfo(id, url);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -7,3 +7,4 @@ org.springframework.cloud.cloudfoundry.MonitoringServiceInfoCreator
|
||||
org.springframework.cloud.cloudfoundry.SmtpServiceInfoCreator
|
||||
org.springframework.cloud.cloudfoundry.OracleServiceInfoCreator
|
||||
org.springframework.cloud.cloudfoundry.DB2ServiceInfoCreator
|
||||
org.springframework.cloud.cloudfoundry.SqlServerServiceInfoCreator
|
||||
|
||||
Reference in New Issue
Block a user