Added filestore service to the opensync gateway cloud process so that APs can download firmware images.

This commit is contained in:
Dmitry Toptygin
2020-06-17 20:39:29 -04:00
parent ed0d2f38ae
commit f4d183a1bc
3 changed files with 10 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ import com.telecominfraproject.wlan.server.exceptions.ConfigurationException;
*/ */
@RestController @RestController
@EnableScheduling @EnableScheduling
@RequestMapping(value = "/api")
public class OpensyncCloudGatewayController { public class OpensyncCloudGatewayController {

View File

@@ -30,6 +30,13 @@
<version>${tip-wlan-cloud.release.version}</version> <version>${tip-wlan-cloud.release.version}</version>
</dependency> </dependency>
<dependency>
<artifactId>filestore-service</artifactId>
<groupId>com.telecominfraproject.wlan</groupId>
<version>${tip-wlan-cloud.release.version}</version>
</dependency>
<dependency> <dependency>
<artifactId>customer-service-remote</artifactId> <artifactId>customer-service-remote</artifactId>
<groupId>com.telecominfraproject.wlan</groupId> <groupId>com.telecominfraproject.wlan</groupId>

View File

@@ -89,6 +89,8 @@ server.port=9096
#this port is used by secondary server connector, it is protected by basic authentication, while primary server.port is protected by client certificate auth #this port is used by secondary server connector, it is protected by basic authentication, while primary server.port is protected by client certificate auth
tip.wlan.secondaryPort=9097 tip.wlan.secondaryPort=9097
tip.wlan.listOfPathsToProtect=/api,/filestore
#this server only supports REST requests, CSRF would get in the way #this server only supports REST requests, CSRF would get in the way
tip.wlan.csrf-enabled=false tip.wlan.csrf-enabled=false