Reputation: 143
I have a spring boot app and a samba server running in a kubernetes cluster. How I can connect to this server from my app? Is there any gradle library for samba server? Explanation will be appreciated.
Upvotes: 1
Views: 3663
Reputation: 13866
You can look into Spring Integration and use the SMB extension it provides
<dependency>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-smb</artifactId>
<version>1.2.1.RELEASE</version>
</dependency>
There's a short example here, but you have to be familiar with how Spring Integration works.
Upvotes: 3