use of com.sequenceiq.cloudbreak.cloud.model.DatabaseServer in project cloudbreak by hortonworks.
the class DBStackToDatabaseStackConverter method convert.
public DatabaseStack convert(DBStack dbStack) {
Network network = buildNetwork(dbStack);
DatabaseServer databaseServer = buildDatabaseServer(dbStack);
return new DatabaseStack(network, databaseServer, getUserDefinedTags(dbStack), dbStack.getTemplate());
}
Aggregations