Skip to content

Commit

Permalink
Update spring version and set isSharing to True
Browse files Browse the repository at this point in the history
  • Loading branch information
TayGov committed Apr 15, 2020
1 parent f5c589c commit 1603700
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jrcc-access-spring-boot-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.2.RELEASE</version>
<version>2.2.4.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<groupId>ca.bc.gov.open</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public AutoConfiguration(SftpInputProperties sftpInputProperties) {

@Bean
public SessionFactory<ChannelSftp.LsEntry> sftpSessionFactory() throws InvalidConfigException {
DefaultSftpSessionFactory factory = new DefaultSftpSessionFactory(false);
DefaultSftpSessionFactory factory = new DefaultSftpSessionFactory(true);
factory.setHost(properties.getHost());
factory.setPort(properties.getPort());
factory.setUser(properties.getUsername());
Expand Down
2 changes: 1 addition & 1 deletion jrcc-access-spring-boot-sample-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ configure the following environment variables on your environment:
| Name | Value |
| --- | --- |
| KNOWN_HOSTS | ~/.ssh/known_hosts |
| spring_active_profiles | sftp |
| spring_profiles_active | sftp |

0 comments on commit 1603700

Please sign in to comment.