package com.parrit.configurations;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.jdbc.datasource.DriverManagerDataSource;

@Configuration
@Profile("cloud")
public class DefaultConfiguration {

    @Bean
    public DriverManagerDataSource dataSource() {
        DriverManagerDataSource driverManagerDataSource = new DriverManagerDataSource();
        driverManagerDataSource.setDriverClassName("org.postgresql.Driver");
        driverManagerDataSource.setUrl("jdbc:postgresql://localhost:5432/pivotal");
        driverManagerDataSource.setUsername("pivotal");
        driverManagerDataSource.setPassword("");
        return driverManagerDataSource;
    }
}

@@ -291,16 +291,17 @@
 rofile(%22
+!
 cloud%22)%0A

Update DefaultConfiguration.java