Created
May 15, 2019 11:38
-
-
Save shivangi1015/672df2772ac122b31d0be55c2fb3240c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.knoldus.blogs; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.data.couchbase.config.AbstractCouchbaseConfiguration; | |
import java.util.Collections; | |
import java.util.List; | |
@Configuration | |
public class Config extends AbstractCouchbaseConfiguration { | |
@Override | |
protected List<String> getBootstrapHosts() { | |
return Collections.singletonList("127.0.0.1"); | |
} | |
@Override | |
protected String getBucketName() { | |
return "blog"; | |
} | |
@Override | |
protected String getBucketPassword() { | |
return "knoldus"; | |
} | |
@Override | |
protected String getUsername() { | |
return "Administrator"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment