use of io.hops.hopsworks.persistence.entity.featurestore.storageconnector.snowflake.FeaturestoreSnowflakeConnector in project hopsworks by logicalclocks.
the class FeaturestoreSnowflakeConnectorController method createConnector.
public FeaturestoreSnowflakeConnector createConnector(Users user, Featurestore featurestore, FeaturestoreSnowflakeConnectorDTO featurestoreSnowflakeConnectorDTO) throws FeaturestoreException, UserException, ProjectException {
verifyConnectorDTO(featurestoreSnowflakeConnectorDTO);
Secret secret = createSecret(user, featurestore, featurestoreSnowflakeConnectorDTO);
FeaturestoreSnowflakeConnector snowflakeConnector = new FeaturestoreSnowflakeConnector();
setConnector(snowflakeConnector, secret, featurestoreSnowflakeConnectorDTO);
return snowflakeConnector;
}
Aggregations