2
0

feat: add feign httpclient

This commit is contained in:
caiyuchao
2024-12-27 15:09:26 +08:00
parent 24811ccedc
commit cb31b698f0
66 changed files with 78 additions and 183 deletions

View File

@@ -68,7 +68,7 @@ INSERT INTO `config_info` VALUES (15, 'wfc-gen-dev.yml', 'DEFAULT_GROUP', '# spr
INSERT INTO `config_info` VALUES (16, 'wfc-job-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', '1376deec876c0878df743b4d96c7f125', '2024-11-18 18:11:28', '2024-12-13 21:47:34', NULL, '192.168.2.116', '', 'wfc-dev', '定时任务', '', '', 'yaml', '', ''); INSERT INTO `config_info` VALUES (16, 'wfc-job-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', '1376deec876c0878df743b4d96c7f125', '2024-11-18 18:11:28', '2024-12-13 21:47:34', NULL, '192.168.2.116', '', 'wfc-dev', '定时任务', '', '', 'yaml', '', '');
INSERT INTO `config_info` VALUES (17, 'wfc-file-dev.yml', 'DEFAULT_GROUP', '# 本地文件上传 \nfile:\n domain: http://127.0.0.1:9300\n path: /home/wfc/upload\n prefix: /statics\n\n# FastDFS配置\nfdfs:\n domain: http://8.129.231.12\n soTimeout: 3000\n connectTimeout: 2000\n trackerList: 8.129.231.12:22122\n\n# Minio配置\nminio:\n url: http://8.129.231.12:9000\n accessKey: minioadmin\n secretKey: minioadmin\n bucketName: test', '580197933f0f0b2ba468a0916b911d4b', '2024-11-18 18:11:28', '2024-12-13 21:44:58', NULL, '192.168.2.116', '', 'wfc-dev', '文件服务', '', '', 'yaml', '', ''); INSERT INTO `config_info` VALUES (17, 'wfc-file-dev.yml', 'DEFAULT_GROUP', '# 本地文件上传 \nfile:\n domain: http://127.0.0.1:9300\n path: /home/wfc/upload\n prefix: /statics\n\n# FastDFS配置\nfdfs:\n domain: http://8.129.231.12\n soTimeout: 3000\n connectTimeout: 2000\n trackerList: 8.129.231.12:22122\n\n# Minio配置\nminio:\n url: http://8.129.231.12:9000\n accessKey: minioadmin\n secretKey: minioadmin\n bucketName: test', '580197933f0f0b2ba468a0916b911d4b', '2024-11-18 18:11:28', '2024-12-13 21:44:58', NULL, '192.168.2.116', '', 'wfc-dev', '文件服务', '', '', 'yaml', '', '');
INSERT INTO `config_info` VALUES (18, 'sentinel-wfc-gateway', 'DEFAULT_GROUP', '[\r\n {\r\n \"resource\": \"wfc-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', 'a8b3ec396dd09d5f2ba494cc80a7afa0', '2024-11-18 18:11:28', '2024-11-18 18:11:28', '', '192.168.88.14', '', 'wfc-dev', '限流策略', NULL, NULL, 'json', NULL, ''); INSERT INTO `config_info` VALUES (18, 'sentinel-wfc-gateway', 'DEFAULT_GROUP', '[\r\n {\r\n \"resource\": \"wfc-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', 'a8b3ec396dd09d5f2ba494cc80a7afa0', '2024-11-18 18:11:28', '2024-11-18 18:11:28', '', '192.168.88.14', '', 'wfc-dev', '限流策略', NULL, NULL, 'json', NULL, '');
INSERT INTO `config_info` VALUES (19, 'application-test.yml', 'DEFAULT_GROUP', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n # 资源信息\n messages:\n # 国际化资源文件路径\n basename: i18n/messages\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '333d0b5dd60a01407c0107d0e4aec172', '2024-11-18 18:11:56', '2024-11-28 20:03:55', NULL, '192.168.88.14', '', 'wfc-test', '通用配置', '', '', 'yaml', '', ''); INSERT INTO `config_info` VALUES (19, 'application-test.yml', 'DEFAULT_GROUP', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n # 资源信息\n messages:\n # 国际化资源文件路径\n basename: i18n/messages\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: false\n httpclient:\n enabled: true\n disable-ssl-validation: true\n client:\n config:\n default:\n connectTimeout: 60000\n readTimeout: 60000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '333d0b5dd60a01407c0107d0e4aec172', '2024-11-18 18:11:56', '2024-11-28 20:03:55', NULL, '192.168.88.14', '', 'wfc-test', '通用配置', '', '', 'yaml', '', '');
INSERT INTO `config_info` VALUES (20, 'wfc-gateway-test.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 用户模块\n - id: wfc-modules-user\n uri: lb://wfc-modules-user\n predicates:\n - Path=/u/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n # payment\n - id: wfc-payment\n uri: lb://wfc-payment\n predicates:\n - Path=/payment/**\n filters:\n - StripPrefix=1 \n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n - /system/user/checkRepeat\n - /u/user/checkRepeat\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:', 'eec87fd6097c3d5c35d88da9f8280f10', '2024-11-18 18:11:56', '2024-12-26 09:45:05', NULL, '172.100.88.1', '', 'wfc-test', '网关模块', '', '', 'yaml', '', ''); INSERT INTO `config_info` VALUES (20, 'wfc-gateway-test.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 用户模块\n - id: wfc-modules-user\n uri: lb://wfc-modules-user\n predicates:\n - Path=/u/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n # payment\n - id: wfc-payment\n uri: lb://wfc-payment\n predicates:\n - Path=/payment/**\n filters:\n - StripPrefix=1 \n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n - /system/user/checkRepeat\n - /u/user/checkRepeat\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:', 'eec87fd6097c3d5c35d88da9f8280f10', '2024-11-18 18:11:56', '2024-12-26 09:45:05', NULL, '172.100.88.1', '', 'wfc-test', '网关模块', '', '', 'yaml', '', '');
INSERT INTO `config_info` VALUES (21, 'wfc-auth-test.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n# springdoc配置\nspringdoc:\n gatewayUrl: http://wfc-gateway:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'\'\n # 描述\n description: \'\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip\n', 'd77ab6f041b802a9d077756fa36a1fe7', '2024-11-18 18:11:56', '2024-12-13 21:49:53', NULL, '192.168.2.116', '', 'wfc-test', '认证中心', '', '', 'yaml', '', ''); INSERT INTO `config_info` VALUES (21, 'wfc-auth-test.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n# springdoc配置\nspringdoc:\n gatewayUrl: http://wfc-gateway:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'\'\n # 描述\n description: \'\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip\n', 'd77ab6f041b802a9d077756fa36a1fe7', '2024-11-18 18:11:56', '2024-12-13 21:49:53', NULL, '192.168.2.116', '', 'wfc-test', '认证中心', '', '', 'yaml', '', '');
INSERT INTO `config_info` VALUES (22, 'wfc-monitor-test.yml', 'DEFAULT_GROUP', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: \n', '6494d8b29fceace33c96fc69cdaf0ec6', '2024-11-18 18:11:56', '2024-12-13 21:50:08', NULL, '192.168.2.116', '', 'wfc-test', '监控中心', '', '', 'yaml', '', ''); INSERT INTO `config_info` VALUES (22, 'wfc-monitor-test.yml', 'DEFAULT_GROUP', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: \n', '6494d8b29fceace33c96fc69cdaf0ec6', '2024-11-18 18:11:56', '2024-12-13 21:50:08', NULL, '192.168.2.116', '', 'wfc-test', '监控中心', '', '', 'yaml', '', '');

View File

@@ -21,7 +21,6 @@ import org.wfc.omada.api.account.model.OperationResponseGridVoIdpMetadataDetailO
import org.wfc.omada.api.account.model.OperationResponseResponseIdVo; import org.wfc.omada.api.account.model.OperationResponseResponseIdVo;
import org.wfc.omada.api.account.model.OperationResponseWithoutResult; import org.wfc.omada.api.account.model.OperationResponseWithoutResult;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
@@ -29,7 +28,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaSso", description = "the OmadaSso API") @Api(value = "OmadaSso", description = "the OmadaSso API")
@FeignClient(name="OmadaSsoApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaSsoApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaSsoApi { public interface OmadaSsoApi {
/** /**

View File

@@ -26,7 +26,6 @@ import org.wfc.omada.api.account.model.OperationResponseObject;
import org.wfc.omada.api.account.model.OperationResponseUserDetailVo; import org.wfc.omada.api.account.model.OperationResponseUserDetailVo;
import org.wfc.omada.api.account.model.OperationResponseWithoutResult; import org.wfc.omada.api.account.model.OperationResponseWithoutResult;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
@@ -34,7 +33,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaUserAndRole", description = "the OmadaUserAndRole API") @Api(value = "OmadaUserAndRole", description = "the OmadaUserAndRole API")
@FeignClient(name="OmadaUserAndRoleApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaUserAndRoleApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaUserAndRoleApi { public interface OmadaUserAndRoleApi {
/** /**

View File

@@ -14,14 +14,13 @@ import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.api.batch.model.BatchRequestEntity; import org.wfc.omada.api.batch.model.BatchRequestEntity;
import org.wfc.omada.api.batch.model.OperationResponseBatchResponseEntity; import org.wfc.omada.api.batch.model.OperationResponseBatchResponseEntity;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import javax.validation.Valid; import javax.validation.Valid;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:47:27.319+08:00[Asia/Shanghai]") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:47:27.319+08:00[Asia/Shanghai]")
@Validated @Validated
@Api(value = "OmadaBatchOpenApi", description = "the OmadaBatchOpenApi API") @Api(value = "OmadaBatchOpenApi", description = "the OmadaBatchOpenApi API")
@FeignClient(name="OmadaBatchOpenApiApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaBatchOpenApiApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaBatchOpenApiApi { public interface OmadaBatchOpenApiApi {
/** /**

View File

@@ -20,7 +20,6 @@ import org.wfc.omada.api.client.model.OperationResponseClientDetail;
import org.wfc.omada.api.client.model.OperationResponseClientGridVoClientInfo; import org.wfc.omada.api.client.model.OperationResponseClientGridVoClientInfo;
import org.wfc.omada.api.client.model.OperationResponseWithoutResult; import org.wfc.omada.api.client.model.OperationResponseWithoutResult;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
@@ -28,7 +27,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaClient", description = "the OmadaClient API") @Api(value = "OmadaClient", description = "the OmadaClient API")
@FeignClient(name="OmadaClientApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaClientApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaClientApi { public interface OmadaClientApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.api.client.model.OperationResponseGridVoClientHistoryInfo; import org.wfc.omada.api.client.model.OperationResponseGridVoClientHistoryInfo;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
@@ -22,7 +21,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaClientInsight", description = "the OmadaClientInsight API") @Api(value = "OmadaClientInsight", description = "the OmadaClientInsight API")
@FeignClient(value = "OmadaClientInsightApi",url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(value = "OmadaClientInsightApi",url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaClientInsightApi { public interface OmadaClientInsightApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.device.model.ApBridgeConfig; import org.wfc.omada.api.device.model.ApBridgeConfig;
import org.wfc.omada.api.device.model.ApGeneralConfig; import org.wfc.omada.api.device.model.ApGeneralConfig;
import org.wfc.omada.api.device.model.ApIpSetting; import org.wfc.omada.api.device.model.ApIpSetting;
@@ -47,7 +46,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaAp", description = "the OmadaAp API") @Api(value = "OmadaAp", description = "the OmadaAp API")
@FeignClient(name="OmadaApApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaApApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaApApi { public interface OmadaApApi {
/** /**

View File

@@ -15,7 +15,6 @@ import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.device.model.ActiveDeviceMultiSiteOpenApiVo; import org.wfc.omada.api.device.model.ActiveDeviceMultiSiteOpenApiVo;
import org.wfc.omada.api.device.model.ActiveDeviceOpenApiVo; import org.wfc.omada.api.device.model.ActiveDeviceOpenApiVo;
import org.wfc.omada.api.device.model.ActiveDeviceRespVo; import org.wfc.omada.api.device.model.ActiveDeviceRespVo;
@@ -65,7 +64,7 @@ import java.util.List;
@Validated @Validated
@Api(value = "OmadaDevice", description = "the OmadaDevice API") @Api(value = "OmadaDevice", description = "the OmadaDevice API")
@FeignClient(name="OmadaDeviceApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaDeviceApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaDeviceApi { public interface OmadaDeviceApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.device.model.AutoCheckUpgradeCreateInfo; import org.wfc.omada.api.device.model.AutoCheckUpgradeCreateInfo;
import org.wfc.omada.api.device.model.InlineObject; import org.wfc.omada.api.device.model.InlineObject;
import org.wfc.omada.api.device.model.ModelFwReleaseNoteReqInfo; import org.wfc.omada.api.device.model.ModelFwReleaseNoteReqInfo;
@@ -51,7 +50,7 @@ import java.util.List;
@Validated @Validated
@Api(value = "OmadaFirmware", description = "the OmadaFirmware API") @Api(value = "OmadaFirmware", description = "the OmadaFirmware API")
@FeignClient(name="OmadaFirmwareApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaFirmwareApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaFirmwareApi { public interface OmadaFirmwareApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.device.model.GatewayGeneralConfig; import org.wfc.omada.api.device.model.GatewayGeneralConfig;
import org.wfc.omada.api.device.model.GatewayPortSettingConfig; import org.wfc.omada.api.device.model.GatewayPortSettingConfig;
import org.wfc.omada.api.device.model.GatewayPortsConfigEntity; import org.wfc.omada.api.device.model.GatewayPortsConfigEntity;
@@ -31,7 +30,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaGateway", description = "the OmadaGateway API") @Api(value = "OmadaGateway", description = "the OmadaGateway API")
@FeignClient(name="OmadaGatewayApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaGatewayApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaGatewayApi { public interface OmadaGatewayApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.device.model.BatchProfileOverride; import org.wfc.omada.api.device.model.BatchProfileOverride;
import org.wfc.omada.api.device.model.EasyManagedSwitchGeneralConfig; import org.wfc.omada.api.device.model.EasyManagedSwitchGeneralConfig;
import org.wfc.omada.api.device.model.OperationResponseEasyManageOverviewInfo; import org.wfc.omada.api.device.model.OperationResponseEasyManageOverviewInfo;
@@ -37,7 +36,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaSwitch", description = "the OmadaSwitch API") @Api(value = "OmadaSwitch", description = "the OmadaSwitch API")
@FeignClient(name="OmadaSwitchApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaSwitchApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaSwitchApi { public interface OmadaSwitchApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.globalsetting.model.DeviceAccessManagementSetting; import org.wfc.omada.api.globalsetting.model.DeviceAccessManagementSetting;
import org.wfc.omada.api.globalsetting.model.OperationResponseDeviceAccessManagementSetting; import org.wfc.omada.api.globalsetting.model.OperationResponseDeviceAccessManagementSetting;
import org.wfc.omada.api.globalsetting.model.OperationResponseWithoutResult; import org.wfc.omada.api.globalsetting.model.OperationResponseWithoutResult;
@@ -23,7 +22,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaDeviceManagementSetting", description = "the OmadaDeviceManagementSetting API") @Api(value = "OmadaDeviceManagementSetting", description = "the OmadaDeviceManagementSetting API")
@FeignClient(name="OmadaDeviceManagementSettingApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaDeviceManagementSettingApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaDeviceManagementSettingApi { public interface OmadaDeviceManagementSettingApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.globalsetting.model.LicenseAutoActiveOpenApiVo; import org.wfc.omada.api.globalsetting.model.LicenseAutoActiveOpenApiVo;
import org.wfc.omada.api.globalsetting.model.LicenseAutoRenewOpenApiVo; import org.wfc.omada.api.globalsetting.model.LicenseAutoRenewOpenApiVo;
import org.wfc.omada.api.globalsetting.model.LicenseBindAvailableNumOpenApiVo; import org.wfc.omada.api.globalsetting.model.LicenseBindAvailableNumOpenApiVo;
@@ -28,7 +27,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaLicense", description = "the OmadaLicense API") @Api(value = "OmadaLicense", description = "the OmadaLicense API")
@FeignClient(name="OmadaLicenseApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaLicenseApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaLicenseApi { public interface OmadaLicenseApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.globalsetting.model.OpenApiWebhookSettingAddVo; import org.wfc.omada.api.globalsetting.model.OpenApiWebhookSettingAddVo;
import org.wfc.omada.api.globalsetting.model.OpenApiWebhookSettingEditVo; import org.wfc.omada.api.globalsetting.model.OpenApiWebhookSettingEditVo;
import org.wfc.omada.api.globalsetting.model.OpenApiWebhookSettingTestVo; import org.wfc.omada.api.globalsetting.model.OpenApiWebhookSettingTestVo;
@@ -28,7 +27,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaWebhookSetting", description = "the OmadaWebhookSetting API") @Api(value = "OmadaWebhookSetting", description = "the OmadaWebhookSetting API")
@FeignClient(name="OmadaWebhookSettingApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaWebhookSettingApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaWebhookSettingApi { public interface OmadaWebhookSettingApi {
/** /**

View File

@@ -13,11 +13,10 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.hotspot.model.ExtendOpenApiVo; import org.wfc.omada.api.hotspot.model.ExtendOpenApiVo;
import org.wfc.omada.api.hotspot.model.OperationResponseGridVoAuthClientOpenApiVo; import org.wfc.omada.api.hotspot.model.OperationResponseGridVoAuthClientOpenApiVo;
import org.wfc.omada.api.hotspot.model.OperationResponseWithoutResult; import org.wfc.omada.api.hotspot.model.OperationResponseWithoutResult;
import org.wfc.omada.config.FeignConfig;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
@@ -25,7 +24,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaAuthorizedClient", description = "the OmadaAuthorizedClient API") @Api(value = "OmadaAuthorizedClient", description = "the OmadaAuthorizedClient API")
@FeignClient(name="OmadaAuthorizedClientApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaAuthorizedClientApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaAuthorizedClientApi { public interface OmadaAuthorizedClientApi {
/** /**
@@ -114,4 +113,12 @@ public interface OmadaAuthorizedClientApi {
method = RequestMethod.GET) method = RequestMethod.GET)
ResponseEntity<OperationResponseGridVoAuthClientOpenApiVo> getHotspotAuthedClients(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 11000.", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.name", required = false) String sortsName,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.mac", required = false) String sortsMac,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.ip", required = false) String sortsIp,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.authType", required = false) String sortsAuthType,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.ssidOrNetwork", required = false) String sortsSsidOrNetwork,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.download", required = false) String sortsDownload,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.upload", required = false) String sortsUpload,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.status", required = false) String sortsStatus,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.start", required = false) String sortsStart,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.end", required = false) String sortsEnd,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.duration", required = false) String sortsDuration,@ApiParam(value = "Fuzzy query parameters, support field client_mac,client_name,voucher.code,local_user.user_name,form_name,auth_admin,ssid_name,network_name") @Valid @RequestParam(value = "searchKey", required = false) String searchKey); ResponseEntity<OperationResponseGridVoAuthClientOpenApiVo> getHotspotAuthedClients(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 11000.", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.name", required = false) String sortsName,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.mac", required = false) String sortsMac,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.ip", required = false) String sortsIp,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.authType", required = false) String sortsAuthType,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.ssidOrNetwork", required = false) String sortsSsidOrNetwork,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.download", required = false) String sortsDownload,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.upload", required = false) String sortsUpload,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.status", required = false) String sortsStatus,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.start", required = false) String sortsStart,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.end", required = false) String sortsEnd,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.duration", required = false) String sortsDuration,@ApiParam(value = "Fuzzy query parameters, support field client_mac,client_name,voucher.code,local_user.user_name,form_name,auth_admin,ssid_name,network_name") @Valid @RequestParam(value = "searchKey", required = false) String searchKey);
@ApiOperation(value = "Get authentication record list", nickname = "getHotspotAuthedClients", notes = "Get all authentication records in a site with the given omadacId, siteId.<br/><br/>The interface requires one of the permissions: <br/>Site Hotspot Manager View Only<br/>Site Insight Manager View Only<br/><br/>The possible error code for the interface in the returned body is one of the following error codes (non generic error codes): <br/>-1005 - Operation forbidden.", response = OperationResponseGridVoAuthClientOpenApiVo.class, tags={ "Omada/Authorized Client","Authorized Client", })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response = OperationResponseGridVoAuthClientOpenApiVo.class) })
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/hotspot/authed-records",
produces = "*/*",
method = RequestMethod.GET)
ResponseEntity<OperationResponseGridVoAuthClientOpenApiVo> getHotspotAuthedClients(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 11000.", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize,@ApiParam(value = "Fuzzy query parameters, support field client_mac,client_name,voucher.code,local_user.user_name,form_name,auth_admin,ssid_name,network_name") @Valid @RequestParam(value = "searchKey", required = false) String searchKey);
} }

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.hotspot.model.CreateFormAuthOpenApiVo; import org.wfc.omada.api.hotspot.model.CreateFormAuthOpenApiVo;
import org.wfc.omada.api.hotspot.model.OperationResponseCreatedResIdOpenApiVo; import org.wfc.omada.api.hotspot.model.OperationResponseCreatedResIdOpenApiVo;
import org.wfc.omada.api.hotspot.model.OperationResponseFormAuthOpenApiVo; import org.wfc.omada.api.hotspot.model.OperationResponseFormAuthOpenApiVo;
@@ -29,7 +28,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaFormAuthData", description = "the OmadaFormAuthData API") @Api(value = "OmadaFormAuthData", description = "the OmadaFormAuthData API")
@FeignClient(name="OmadaFormAuthDataApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaFormAuthDataApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaFormAuthDataApi { public interface OmadaFormAuthDataApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.hotspot.model.CreateLocalUserOpenApiVo; import org.wfc.omada.api.hotspot.model.CreateLocalUserOpenApiVo;
import org.wfc.omada.api.hotspot.model.OperationResponseCreatedResIdOpenApiVo; import org.wfc.omada.api.hotspot.model.OperationResponseCreatedResIdOpenApiVo;
import org.wfc.omada.api.hotspot.model.OperationResponseGridVoLocalUserOpenApiVo; import org.wfc.omada.api.hotspot.model.OperationResponseGridVoLocalUserOpenApiVo;
@@ -27,7 +26,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaLocalUser", description = "the OmadaLocalUser API") @Api(value = "OmadaLocalUser", description = "the OmadaLocalUser API")
@FeignClient(name="OmadaLocalUserApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaLocalUserApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaLocalUserApi { public interface OmadaLocalUserApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.hotspot.model.CreateVoucherGroupOpenApiVo; import org.wfc.omada.api.hotspot.model.CreateVoucherGroupOpenApiVo;
import org.wfc.omada.api.hotspot.model.HotspotSiteSettingOpenApiVo; import org.wfc.omada.api.hotspot.model.HotspotSiteSettingOpenApiVo;
import org.wfc.omada.api.hotspot.model.OperationResponseAllTimeVoucherSummaryOpenApiVo; import org.wfc.omada.api.hotspot.model.OperationResponseAllTimeVoucherSummaryOpenApiVo;
@@ -37,7 +36,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaVoucher", description = "the OmadaVoucher API") @Api(value = "OmadaVoucher", description = "the OmadaVoucher API")
@FeignClient(name="OmadaVoucherApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaVoucherApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaVoucherApi { public interface OmadaVoucherApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.insight.model.DeleteIpsThreat; import org.wfc.omada.api.insight.model.DeleteIpsThreat;
import org.wfc.omada.api.insight.model.IpsOperateThreat; import org.wfc.omada.api.insight.model.IpsOperateThreat;
import org.wfc.omada.api.insight.model.OperationResponseGetIpsThreatDetail; import org.wfc.omada.api.insight.model.OperationResponseGetIpsThreatDetail;
@@ -27,7 +26,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaThreatManagement", description = "the OmadaThreatManagement API") @Api(value = "OmadaThreatManagement", description = "the OmadaThreatManagement API")
@FeignClient(name="OmadaThreatManagementApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaThreatManagementApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaThreatManagementApi { public interface OmadaThreatManagementApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.log.model.AuditLogNotificationSettingEditOpenApiVo; import org.wfc.omada.api.log.model.AuditLogNotificationSettingEditOpenApiVo;
import org.wfc.omada.api.log.model.LogNotificationSettingEditOpenApiV2Vo; import org.wfc.omada.api.log.model.LogNotificationSettingEditOpenApiV2Vo;
import org.wfc.omada.api.log.model.LogNotificationSettingEditOpenApiVo; import org.wfc.omada.api.log.model.LogNotificationSettingEditOpenApiVo;
@@ -29,7 +28,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaLog", description = "the OmadaLog API") @Api(value = "OmadaLog", description = "the OmadaLog API")
@FeignClient(name="OmadaLogApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaLogApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaLogApi { public interface OmadaLogApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.log.model.AuditLogNotificationSettingEditOpenApiVo; import org.wfc.omada.api.log.model.AuditLogNotificationSettingEditOpenApiVo;
import org.wfc.omada.api.log.model.OperationResponseAuditLogNotificationSettingOpenApiVo; import org.wfc.omada.api.log.model.OperationResponseAuditLogNotificationSettingOpenApiVo;
import org.wfc.omada.api.log.model.OperationResponseWithoutResult; import org.wfc.omada.api.log.model.OperationResponseWithoutResult;
@@ -23,7 +22,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaLogTemplate", description = "the OmadaLogTemplate API") @Api(value = "OmadaLogTemplate", description = "the OmadaLogTemplate API")
@FeignClient(name="OmadaLogTemplateApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaLogTemplateApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaLogTemplateApi { public interface OmadaLogTemplateApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.maintenance.model.BackupFileListVo; import org.wfc.omada.api.maintenance.model.BackupFileListVo;
import org.wfc.omada.api.maintenance.model.BackupResultOpenApiVo; import org.wfc.omada.api.maintenance.model.BackupResultOpenApiVo;
import org.wfc.omada.api.maintenance.model.BatchSiteBackupVo; import org.wfc.omada.api.maintenance.model.BatchSiteBackupVo;
@@ -32,7 +31,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaBackupAndRestore", description = "the OmadaBackupAndRestore API") @Api(value = "OmadaBackupAndRestore", description = "the OmadaBackupAndRestore API")
@FeignClient(name="OmadaBackupAndRestoreApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaBackupAndRestoreApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaBackupAndRestoreApi { public interface OmadaBackupAndRestoreApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.maintenance.model.ModifyHistoryRetentionOpenApiVo; import org.wfc.omada.api.maintenance.model.ModifyHistoryRetentionOpenApiVo;
import org.wfc.omada.api.maintenance.model.OperationResponseHistoryRetentionOpenApiVo; import org.wfc.omada.api.maintenance.model.OperationResponseHistoryRetentionOpenApiVo;
import org.wfc.omada.api.maintenance.model.OperationResponseWithoutResult; import org.wfc.omada.api.maintenance.model.OperationResponseWithoutResult;
@@ -23,7 +22,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaHistoryDataRetention", description = "the OmadaHistoryDataRetention API") @Api(value = "OmadaHistoryDataRetention", description = "the OmadaHistoryDataRetention API")
@FeignClient(name="OmadaHistoryDataRetentionApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaHistoryDataRetentionApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaHistoryDataRetentionApi { public interface OmadaHistoryDataRetentionApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.monitor.model.BatchEditTabs; import org.wfc.omada.api.monitor.model.BatchEditTabs;
import org.wfc.omada.api.monitor.model.CreateTabOpenApiVo; import org.wfc.omada.api.monitor.model.CreateTabOpenApiVo;
import org.wfc.omada.api.monitor.model.OperationResponseApChannelStats; import org.wfc.omada.api.monitor.model.OperationResponseApChannelStats;
@@ -42,7 +41,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaDashboard", description = "the OmadaDashboard API") @Api(value = "OmadaDashboard", description = "the OmadaDashboard API")
@FeignClient(name="OmadaDashboardApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaDashboardApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaDashboardApi { public interface OmadaDashboardApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.msp.model.CustomerOpenApiVo; import org.wfc.omada.api.msp.model.CustomerOpenApiVo;
import org.wfc.omada.api.msp.model.OperationResponseCreateCustomerOmadacVo; import org.wfc.omada.api.msp.model.OperationResponseCreateCustomerOmadacVo;
import org.wfc.omada.api.msp.model.OperationResponseCustomerInfoOpenApiVo; import org.wfc.omada.api.msp.model.OperationResponseCustomerInfoOpenApiVo;
@@ -28,7 +27,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaCustomer", description = "the OmadaCustomer API") @Api(value = "OmadaCustomer", description = "the OmadaCustomer API")
@FeignClient(name="OmadaCustomerApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaCustomerApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaCustomerApi { public interface OmadaCustomerApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.msp.model.BatchRequestEntity; import org.wfc.omada.api.msp.model.BatchRequestEntity;
import org.wfc.omada.api.msp.model.OperationResponseBatchResponseEntity; import org.wfc.omada.api.msp.model.OperationResponseBatchResponseEntity;
@@ -22,7 +21,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaMspBatchOpenApi", description = "the OmadaMspBatchOpenApi API") @Api(value = "OmadaMspBatchOpenApi", description = "the OmadaMspBatchOpenApi API")
@FeignClient(name="OmadaMspBatchOpenApiApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaMspBatchOpenApiApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaMspBatchOpenApiApi { public interface OmadaMspBatchOpenApiApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.msp.model.OperationResponseGridVoMspKnownDeviceOpenApiVo; import org.wfc.omada.api.msp.model.OperationResponseGridVoMspKnownDeviceOpenApiVo;
import org.wfc.omada.api.msp.model.OperationResponseGridVoMspUnknownDeviceOpenApiVo; import org.wfc.omada.api.msp.model.OperationResponseGridVoMspUnknownDeviceOpenApiVo;
import org.wfc.omada.api.msp.model.OperationResponseListTagRespOpenApiVo; import org.wfc.omada.api.msp.model.OperationResponseListTagRespOpenApiVo;
@@ -24,7 +23,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaMspDevice", description = "the OmadaMspDevice API") @Api(value = "OmadaMspDevice", description = "the OmadaMspDevice API")
@FeignClient(name="OmadaMspDeviceApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaMspDeviceApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaMspDeviceApi { public interface OmadaMspDeviceApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.msp.model.ModifyHistoryRetentionOpenApiVo; import org.wfc.omada.api.msp.model.ModifyHistoryRetentionOpenApiVo;
import org.wfc.omada.api.msp.model.OperationResponseHistoryRetentionOpenApiVo; import org.wfc.omada.api.msp.model.OperationResponseHistoryRetentionOpenApiVo;
import org.wfc.omada.api.msp.model.OperationResponseWithoutResult; import org.wfc.omada.api.msp.model.OperationResponseWithoutResult;
@@ -23,7 +22,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaMspHistoryDataRetention", description = "the OmadaMspHistoryDataRetention API") @Api(value = "OmadaMspHistoryDataRetention", description = "the OmadaMspHistoryDataRetention API")
@FeignClient(name="OmadaMspHistoryDataRetentionApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaMspHistoryDataRetentionApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaMspHistoryDataRetentionApi { public interface OmadaMspHistoryDataRetentionApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.msp.model.GridVoUsedLicenseDetailOpenApiVo; import org.wfc.omada.api.msp.model.GridVoUsedLicenseDetailOpenApiVo;
import org.wfc.omada.api.msp.model.LicenseAssignmentOpenApiVo; import org.wfc.omada.api.msp.model.LicenseAssignmentOpenApiVo;
import org.wfc.omada.api.msp.model.LicenseAutoActiveOpenApiVo; import org.wfc.omada.api.msp.model.LicenseAutoActiveOpenApiVo;
@@ -30,7 +29,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaMspLicense", description = "the OmadaMspLicense API") @Api(value = "OmadaMspLicense", description = "the OmadaMspLicense API")
@FeignClient(name="OmadaMspLicenseApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaMspLicenseApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaMspLicenseApi { public interface OmadaMspLicenseApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.msp.model.AuditLogNotificationSettingEditOpenApiVo; import org.wfc.omada.api.msp.model.AuditLogNotificationSettingEditOpenApiVo;
import org.wfc.omada.api.msp.model.LogNotificationSettingEditOpenApiV2Vo; import org.wfc.omada.api.msp.model.LogNotificationSettingEditOpenApiV2Vo;
import org.wfc.omada.api.msp.model.LogNotificationSettingEditOpenApiVo; import org.wfc.omada.api.msp.model.LogNotificationSettingEditOpenApiVo;
@@ -29,7 +28,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaMspLog", description = "the OmadaMspLog API") @Api(value = "OmadaMspLog", description = "the OmadaMspLog API")
@FeignClient(name="OmadaMspLogApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaMspLogApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaMspLogApi { public interface OmadaMspLogApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.msp.model.ModifyMspGeneralSettingOpenApiVo; import org.wfc.omada.api.msp.model.ModifyMspGeneralSettingOpenApiVo;
import org.wfc.omada.api.msp.model.MspUiInterfaceOpenApiVo; import org.wfc.omada.api.msp.model.MspUiInterfaceOpenApiVo;
import org.wfc.omada.api.msp.model.OperationResponseMspGeneralSettingOpenApiVo; import org.wfc.omada.api.msp.model.OperationResponseMspGeneralSettingOpenApiVo;
@@ -25,7 +24,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaMspSetting", description = "the OmadaMspSetting API") @Api(value = "OmadaMspSetting", description = "the OmadaMspSetting API")
@FeignClient(name="OmadaMspSettingApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaMspSettingApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaMspSettingApi { public interface OmadaMspSettingApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.msp.model.OperationResponseGridVoSiteSummaryInfo; import org.wfc.omada.api.msp.model.OperationResponseGridVoSiteSummaryInfo;
import org.wfc.omada.api.msp.model.SiteTag; import org.wfc.omada.api.msp.model.SiteTag;
@@ -24,7 +23,7 @@ import java.util.List;
@Validated @Validated
@Api(value = "OmadaMspSite", description = "the OmadaMspSite API") @Api(value = "OmadaMspSite", description = "the OmadaMspSite API")
@FeignClient(name="OmadaMspSiteApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaMspSiteApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaMspSiteApi { public interface OmadaMspSiteApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.msp.model.IdpMetadataOpenApiVo; import org.wfc.omada.api.msp.model.IdpMetadataOpenApiVo;
import org.wfc.omada.api.msp.model.MspExternalUserGroupOpenApiVo; import org.wfc.omada.api.msp.model.MspExternalUserGroupOpenApiVo;
import org.wfc.omada.api.msp.model.OperationResponseGridVoIdpMetadataDetailOpenApiVo; import org.wfc.omada.api.msp.model.OperationResponseGridVoIdpMetadataDetailOpenApiVo;
@@ -29,7 +28,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaMspSso", description = "the OmadaMspSso API") @Api(value = "OmadaMspSso", description = "the OmadaMspSso API")
@FeignClient(name="OmadaMspSsoApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaMspSsoApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaMspSsoApi { public interface OmadaMspSsoApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.msp.model.CreateMspUserVo; import org.wfc.omada.api.msp.model.CreateMspUserVo;
import org.wfc.omada.api.msp.model.DeleteUserVo; import org.wfc.omada.api.msp.model.DeleteUserVo;
import org.wfc.omada.api.msp.model.ModifyMspRoleVo; import org.wfc.omada.api.msp.model.ModifyMspRoleVo;
@@ -35,7 +34,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaMspUserAndRole", description = "the OmadaMspUserAndRole API") @Api(value = "OmadaMspUserAndRole", description = "the OmadaMspUserAndRole API")
@FeignClient(name="OmadaMspUserAndRoleApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaMspUserAndRoleApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaMspUserAndRoleApi { public interface OmadaMspUserAndRoleApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.msp.model.OpenApiWebhookSettingAddVo; import org.wfc.omada.api.msp.model.OpenApiWebhookSettingAddVo;
import org.wfc.omada.api.msp.model.OpenApiWebhookSettingEditVo; import org.wfc.omada.api.msp.model.OpenApiWebhookSettingEditVo;
import org.wfc.omada.api.msp.model.OpenApiWebhookSettingTestVo; import org.wfc.omada.api.msp.model.OpenApiWebhookSettingTestVo;
@@ -28,7 +27,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaMspWebhookSetting", description = "the OmadaMspWebhookSetting API") @Api(value = "OmadaMspWebhookSetting", description = "the OmadaMspWebhookSetting API")
@FeignClient(name="OmadaMspWebhookSettingApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaMspWebhookSettingApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaMspWebhookSettingApi { public interface OmadaMspWebhookSettingApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.organization.model.BatchSiteCopyVo; import org.wfc.omada.api.organization.model.BatchSiteCopyVo;
import org.wfc.omada.api.organization.model.BatchSiteImportVo; import org.wfc.omada.api.organization.model.BatchSiteImportVo;
import org.wfc.omada.api.organization.model.CreateSiteByTemplate; import org.wfc.omada.api.organization.model.CreateSiteByTemplate;
@@ -40,7 +39,7 @@ import java.util.List;
@Validated @Validated
@Api(value = "OmadaSite", description = "the OmadaSite API") @Api(value = "OmadaSite", description = "the OmadaSite API")
@FeignClient(name="OmadaSiteApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaSiteApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaSiteApi { public interface OmadaSiteApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.organization.model.BatchBindDeviceOpenApiVo; import org.wfc.omada.api.organization.model.BatchBindDeviceOpenApiVo;
import org.wfc.omada.api.organization.model.BatchBindDeviceResultOpenApiVo; import org.wfc.omada.api.organization.model.BatchBindDeviceResultOpenApiVo;
import org.wfc.omada.api.organization.model.BatchCopySiteTemplateOpenApiVo; import org.wfc.omada.api.organization.model.BatchCopySiteTemplateOpenApiVo;
@@ -42,7 +41,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaSiteTemplate", description = "the OmadaSiteTemplate API") @Api(value = "OmadaSiteTemplate", description = "the OmadaSiteTemplate API")
@FeignClient(name="OmadaSiteTemplateApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaSiteTemplateApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaSiteTemplateApi { public interface OmadaSiteTemplateApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.DragSortIndexOpenapiVo; import org.wfc.omada.api.sitesetting.model.DragSortIndexOpenapiVo;
import org.wfc.omada.api.sitesetting.model.EapAclConfig; import org.wfc.omada.api.sitesetting.model.EapAclConfig;
import org.wfc.omada.api.sitesetting.model.GatewayAclConfig; import org.wfc.omada.api.sitesetting.model.GatewayAclConfig;
@@ -34,7 +33,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaAcl", description = "the OmadaAcl API") @Api(value = "OmadaAcl", description = "the OmadaAcl API")
@FeignClient(name="OmadaAclApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaAclApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaAclApi { public interface OmadaAclApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.AddFilterEntity; import org.wfc.omada.api.sitesetting.model.AddFilterEntity;
import org.wfc.omada.api.sitesetting.model.AddRuleEntity; import org.wfc.omada.api.sitesetting.model.AddRuleEntity;
import org.wfc.omada.api.sitesetting.model.ClearDpiDataRequest; import org.wfc.omada.api.sitesetting.model.ClearDpiDataRequest;
@@ -39,7 +38,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaApplicationControl", description = "the OmadaApplicationControl API") @Api(value = "OmadaApplicationControl", description = "the OmadaApplicationControl API")
@FeignClient(name="OmadaApplicationControlApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaApplicationControlApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaApplicationControlApi { public interface OmadaApplicationControlApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.AttackDefenseSetting; import org.wfc.omada.api.sitesetting.model.AttackDefenseSetting;
import org.wfc.omada.api.sitesetting.model.OperationResponseAttackDefenseSetting; import org.wfc.omada.api.sitesetting.model.OperationResponseAttackDefenseSetting;
import org.wfc.omada.api.sitesetting.model.OperationResponseWithoutResult; import org.wfc.omada.api.sitesetting.model.OperationResponseWithoutResult;
@@ -23,7 +22,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaAttackDefense", description = "the OmadaAttackDefense API") @Api(value = "OmadaAttackDefense", description = "the OmadaAttackDefense API")
@FeignClient(name="OmadaAttackDefenseApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaAttackDefenseApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaAttackDefenseApi { public interface OmadaAttackDefenseApi {
/** /**

View File

@@ -15,7 +15,6 @@ import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.Dot1xEapOpenApiVo; import org.wfc.omada.api.sitesetting.model.Dot1xEapOpenApiVo;
import org.wfc.omada.api.sitesetting.model.Dot1xSwitchOpenApiVo; import org.wfc.omada.api.sitesetting.model.Dot1xSwitchOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseDot1xEapOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseDot1xEapOpenApiVo;
@@ -39,7 +38,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaAuthentication", description = "the OmadaAuthentication API") @Api(value = "OmadaAuthentication", description = "the OmadaAuthentication API")
@FeignClient(name="OmadaAuthenticationApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaAuthenticationApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaAuthenticationApi { public interface OmadaAuthenticationApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.BandwidthControl; import org.wfc.omada.api.sitesetting.model.BandwidthControl;
import org.wfc.omada.api.sitesetting.model.BandwidthControlRule; import org.wfc.omada.api.sitesetting.model.BandwidthControlRule;
import org.wfc.omada.api.sitesetting.model.OperationResponseBandwidthControl; import org.wfc.omada.api.sitesetting.model.OperationResponseBandwidthControl;
@@ -28,7 +27,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaBandwidthControl", description = "the OmadaBandwidthControl API") @Api(value = "OmadaBandwidthControl", description = "the OmadaBandwidthControl API")
@FeignClient(name="OmadaBandwidthControlApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaBandwidthControlApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaBandwidthControlApi { public interface OmadaBandwidthControlApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.FirewallSetting; import org.wfc.omada.api.sitesetting.model.FirewallSetting;
import org.wfc.omada.api.sitesetting.model.OperationResponseFirewallSetting; import org.wfc.omada.api.sitesetting.model.OperationResponseFirewallSetting;
import org.wfc.omada.api.sitesetting.model.OperationResponseWithoutResult; import org.wfc.omada.api.sitesetting.model.OperationResponseWithoutResult;
@@ -23,7 +22,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaFirewall", description = "the OmadaFirewall API") @Api(value = "OmadaFirewall", description = "the OmadaFirewall API")
@FeignClient(name="OmadaFirewallApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaFirewallApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaFirewallApi { public interface OmadaFirewallApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.ClassRuleOpenApiVo; import org.wfc.omada.api.sitesetting.model.ClassRuleOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoClassRuleDetailOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoClassRuleDetailOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoQosBwcDetailOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoQosBwcDetailOpenApiVo;
@@ -34,7 +33,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaGatewayQoS", description = "the OmadaGatewayQoS API") @Api(value = "OmadaGatewayQoS", description = "the OmadaGatewayQoS API")
@FeignClient(name="OmadaGatewayQoSApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaGatewayQoSApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaGatewayQoSApi { public interface OmadaGatewayQoSApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.IpsInfo; import org.wfc.omada.api.sitesetting.model.IpsInfo;
import org.wfc.omada.api.sitesetting.model.IpsSignatureConfig; import org.wfc.omada.api.sitesetting.model.IpsSignatureConfig;
import org.wfc.omada.api.sitesetting.model.ModifyIpsAllowListEntry; import org.wfc.omada.api.sitesetting.model.ModifyIpsAllowListEntry;
@@ -30,7 +29,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaIdsIps", description = "the OmadaIdsIps API") @Api(value = "OmadaIdsIps", description = "the OmadaIdsIps API")
@FeignClient(name="OmadaIdsIpsApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaIdsIpsApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaIdsIpsApi { public interface OmadaIdsIpsApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.BatchSelectIpMacBindingId; import org.wfc.omada.api.sitesetting.model.BatchSelectIpMacBindingId;
import org.wfc.omada.api.sitesetting.model.IpMacBinding; import org.wfc.omada.api.sitesetting.model.IpMacBinding;
import org.wfc.omada.api.sitesetting.model.IpMacBindingGeneralSetting; import org.wfc.omada.api.sitesetting.model.IpMacBindingGeneralSetting;
@@ -28,7 +27,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaIpMacBinding", description = "the OmadaIpMacBinding API") @Api(value = "OmadaIpMacBinding", description = "the OmadaIpMacBinding API")
@FeignClient(name="OmadaIpMacBindingApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaIpMacBindingApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaIpMacBindingApi { public interface OmadaIpMacBindingApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.MacFiltering; import org.wfc.omada.api.sitesetting.model.MacFiltering;
import org.wfc.omada.api.sitesetting.model.MacFilteringGeneralSetting; import org.wfc.omada.api.sitesetting.model.MacFilteringGeneralSetting;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoMacFiltering; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoMacFiltering;
@@ -27,7 +26,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaMacFiltering", description = "the OmadaMacFiltering API") @Api(value = "OmadaMacFiltering", description = "the OmadaMacFiltering API")
@FeignClient(name="OmadaMacFilteringApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaMacFilteringApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaMacFilteringApi { public interface OmadaMacFilteringApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.AlgSetting; import org.wfc.omada.api.sitesetting.model.AlgSetting;
import org.wfc.omada.api.sitesetting.model.OperationResponseAlgSetting; import org.wfc.omada.api.sitesetting.model.OperationResponseAlgSetting;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoOtoNatInfoOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoOtoNatInfoOpenApiVo;
@@ -29,7 +28,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaNat", description = "the OmadaNat API") @Api(value = "OmadaNat", description = "the OmadaNat API")
@FeignClient(name="OmadaNatApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaNatApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaNatApi { public interface OmadaNatApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoOuiBasedVlanApQueryOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoOuiBasedVlanApQueryOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoOuiBasedVlanSwitchInfoOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoOuiBasedVlanSwitchInfoOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoOuiBasedVlanSwitchQueryOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoOuiBasedVlanSwitchQueryOpenApiVo;
@@ -29,7 +28,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaOuiBasedVlan", description = "the OmadaOuiBasedVlan API") @Api(value = "OmadaOuiBasedVlan", description = "the OmadaOuiBasedVlan API")
@FeignClient(name="OmadaOuiBasedVlanApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaOuiBasedVlanApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaOuiBasedVlanApi { public interface OmadaOuiBasedVlanApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.ApnProfileConfig; import org.wfc.omada.api.sitesetting.model.ApnProfileConfig;
import org.wfc.omada.api.sitesetting.model.BonjourServiceOpenApiVo; import org.wfc.omada.api.sitesetting.model.BonjourServiceOpenApiVo;
import org.wfc.omada.api.sitesetting.model.CreateGroupOpenApiVo; import org.wfc.omada.api.sitesetting.model.CreateGroupOpenApiVo;
@@ -56,7 +55,7 @@ import java.util.List;
@Validated @Validated
@Api(value = "OmadaProfiles", description = "the OmadaProfiles API") @Api(value = "OmadaProfiles", description = "the OmadaProfiles API")
@FeignClient(name="OmadaProfilesApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaProfilesApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaProfilesApi { public interface OmadaProfilesApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoPolicyRoutingInfo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoPolicyRoutingInfo;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoStaticRoutingInfo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoStaticRoutingInfo;
import org.wfc.omada.api.sitesetting.model.OperationResponseStaticRoutingInterfaceResult; import org.wfc.omada.api.sitesetting.model.OperationResponseStaticRoutingInterfaceResult;
@@ -29,7 +28,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaRouting", description = "the OmadaRouting API") @Api(value = "OmadaRouting", description = "the OmadaRouting API")
@FeignClient(name="OmadaRoutingApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaRoutingApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaRoutingApi { public interface OmadaRoutingApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoPoeScheduleQueryOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoPoeScheduleQueryOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoPortScheduleQueryOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoPortScheduleQueryOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseListPoeDeviceDetail; import org.wfc.omada.api.sitesetting.model.OperationResponseListPoeDeviceDetail;
@@ -33,7 +32,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaSchedule", description = "the OmadaSchedule API") @Api(value = "OmadaSchedule", description = "the OmadaSchedule API")
@FeignClient(name="OmadaScheduleApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaScheduleApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaScheduleApi { public interface OmadaScheduleApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.CreateDdnsOpenApiVo; import org.wfc.omada.api.sitesetting.model.CreateDdnsOpenApiVo;
import org.wfc.omada.api.sitesetting.model.CreateDhcpReservationOpenApiVo; import org.wfc.omada.api.sitesetting.model.CreateDhcpReservationOpenApiVo;
import org.wfc.omada.api.sitesetting.model.CreateMdnsRuleOpenApiVo; import org.wfc.omada.api.sitesetting.model.CreateMdnsRuleOpenApiVo;
@@ -43,7 +42,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaService", description = "the OmadaService API") @Api(value = "OmadaService", description = "the OmadaService API")
@FeignClient(name="OmadaServiceApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaServiceApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaServiceApi { public interface OmadaServiceApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoQuerySessionLimitRuleOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoQuerySessionLimitRuleOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseSessionLimitEntity; import org.wfc.omada.api.sitesetting.model.OperationResponseSessionLimitEntity;
import org.wfc.omada.api.sitesetting.model.OperationResponseWithoutResult; import org.wfc.omada.api.sitesetting.model.OperationResponseWithoutResult;
@@ -28,7 +27,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaSessionLimit", description = "the OmadaSessionLimit API") @Api(value = "OmadaSessionLimit", description = "the OmadaSessionLimit API")
@FeignClient(name="OmadaSessionLimitApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaSessionLimitApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaSessionLimitApi { public interface OmadaSessionLimitApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.CorrectSimQuota; import org.wfc.omada.api.sitesetting.model.CorrectSimQuota;
import org.wfc.omada.api.sitesetting.model.OperationResponseSimQuotaSetting; import org.wfc.omada.api.sitesetting.model.OperationResponseSimQuotaSetting;
import org.wfc.omada.api.sitesetting.model.OperationResponseWithoutResult; import org.wfc.omada.api.sitesetting.model.OperationResponseWithoutResult;
@@ -24,7 +23,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaSim", description = "the OmadaSim API") @Api(value = "OmadaSim", description = "the OmadaSim API")
@FeignClient(name="OmadaSimApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaSimApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaSimApi { public interface OmadaSimApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.OperationResponseSiteBandSteeringSetting; import org.wfc.omada.api.sitesetting.model.OperationResponseSiteBandSteeringSetting;
import org.wfc.omada.api.sitesetting.model.OperationResponseSiteBeaconControlSetting; import org.wfc.omada.api.sitesetting.model.OperationResponseSiteBeaconControlSetting;
import org.wfc.omada.api.sitesetting.model.OperationResponseSiteChannelLimitSetting; import org.wfc.omada.api.sitesetting.model.OperationResponseSiteChannelLimitSetting;
@@ -39,7 +38,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaSiteConfiguration", description = "the OmadaSiteConfiguration API") @Api(value = "OmadaSiteConfiguration", description = "the OmadaSiteConfiguration API")
@FeignClient(name="OmadaSiteConfigurationApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaSiteConfigurationApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaSiteConfigurationApi { public interface OmadaSiteConfigurationApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoSslVpnResourceEntity; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoSslVpnResourceEntity;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoSslVpnResourceGroup; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoSslVpnResourceGroup;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoSslVpnUserGroupEntity; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoSslVpnUserGroupEntity;
@@ -40,7 +39,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaSslVpn", description = "the OmadaSslVpn API") @Api(value = "OmadaSslVpn", description = "the OmadaSslVpn API")
@FeignClient(name="OmadaSslVpnApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaSslVpnApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaSslVpnApi { public interface OmadaSslVpnApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.OperationResponseResIdOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseResIdOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseUrlCategoryOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseUrlCategoryOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseUrlFilterGlobalOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseUrlFilterGlobalOpenApiVo;
@@ -30,7 +29,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaUrlFiltering", description = "the OmadaUrlFiltering API") @Api(value = "OmadaUrlFiltering", description = "the OmadaUrlFiltering API")
@FeignClient(name="OmadaUrlFilteringApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaUrlFilteringApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaUrlFilteringApi { public interface OmadaUrlFilteringApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.BatchModifyVoipDeviceSettingEntity; import org.wfc.omada.api.sitesetting.model.BatchModifyVoipDeviceSettingEntity;
import org.wfc.omada.api.sitesetting.model.BindNumberList; import org.wfc.omada.api.sitesetting.model.BindNumberList;
import org.wfc.omada.api.sitesetting.model.ConfirmBindedDevicesEntity; import org.wfc.omada.api.sitesetting.model.ConfirmBindedDevicesEntity;
@@ -67,7 +66,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaVoIp", description = "the OmadaVoIp API") @Api(value = "OmadaVoIp", description = "the OmadaVoIp API")
@FeignClient(name="OmadaVoIpApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaVoIpApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaVoIpApi { public interface OmadaVoIpApi {
/** /**

View File

@@ -15,7 +15,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.ClientToSiteVpnClient; import org.wfc.omada.api.sitesetting.model.ClientToSiteVpnClient;
import org.wfc.omada.api.sitesetting.model.ClientToSiteVpnServer; import org.wfc.omada.api.sitesetting.model.ClientToSiteVpnServer;
import org.wfc.omada.api.sitesetting.model.IPsecFailover; import org.wfc.omada.api.sitesetting.model.IPsecFailover;
@@ -39,7 +38,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaVpn", description = "the OmadaVpn API") @Api(value = "OmadaVpn", description = "the OmadaVpn API")
@FeignClient(name="OmadaVpnApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaVpnApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaVpnApi { public interface OmadaVpnApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.CheckWanLanStatusOpenApiVo; import org.wfc.omada.api.sitesetting.model.CheckWanLanStatusOpenApiVo;
import org.wfc.omada.api.sitesetting.model.CreateVlaNs; import org.wfc.omada.api.sitesetting.model.CreateVlaNs;
import org.wfc.omada.api.sitesetting.model.GridVoLanNetworkVlansOpenApiVo; import org.wfc.omada.api.sitesetting.model.GridVoLanNetworkVlansOpenApiVo;
@@ -54,7 +53,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaWiredNetwork", description = "the OmadaWiredNetwork API") @Api(value = "OmadaWiredNetwork", description = "the OmadaWiredNetwork API")
@FeignClient(name="OmadaWiredNetworkApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaWiredNetworkApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaWiredNetworkApi { public interface OmadaWiredNetworkApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoWireguardDetailOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoWireguardDetailOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoWireguardPeerDetailOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoWireguardPeerDetailOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseResponseDataVoWireguardSummaryOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseResponseDataVoWireguardSummaryOpenApiVo;
@@ -30,7 +29,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaWireguardVpn", description = "the OmadaWireguardVpn API") @Api(value = "OmadaWireguardVpn", description = "the OmadaWireguardVpn API")
@FeignClient(name="OmadaWireguardVpnApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaWireguardVpnApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaWireguardVpnApi { public interface OmadaWireguardVpnApi {
/** /**

View File

@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.OperationResponseWidsConfigOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseWidsConfigOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseWipsConfigOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseWipsConfigOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseWithoutResult; import org.wfc.omada.api.sitesetting.model.OperationResponseWithoutResult;
@@ -25,7 +24,7 @@ import javax.validation.Valid;
@Validated @Validated
@Api(value = "OmadaWirelessIdsIps", description = "the OmadaWirelessIdsIps API") @Api(value = "OmadaWirelessIdsIps", description = "the OmadaWirelessIdsIps API")
@FeignClient(name="OmadaWirelessIdsIpsApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaWirelessIdsIpsApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaWirelessIdsIpsApi { public interface OmadaWirelessIdsIpsApi {
/** /**

View File

@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.wfc.omada.config.FeignConfig; import org.wfc.omada.config.FeignConfig;
import org.wfc.omada.config.FeignHttpsConfig;
import org.wfc.omada.api.sitesetting.model.CreateSsidOpenApiVo; import org.wfc.omada.api.sitesetting.model.CreateSsidOpenApiVo;
import org.wfc.omada.api.sitesetting.model.CreateWlanGroupOpenApiVo; import org.wfc.omada.api.sitesetting.model.CreateWlanGroupOpenApiVo;
import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoSsidOpenApiVo; import org.wfc.omada.api.sitesetting.model.OperationResponseGridVoSsidOpenApiVo;
@@ -37,7 +36,7 @@ import javax.validation.constraints.NotNull;
@Validated @Validated
@Api(value = "OmadaWirelessNetwork", description = "the OmadaWirelessNetwork API") @Api(value = "OmadaWirelessNetwork", description = "the OmadaWirelessNetwork API")
@FeignClient(name="OmadaWirelessNetworkApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class}) @FeignClient(name="OmadaWirelessNetworkApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
public interface OmadaWirelessNetworkApi { public interface OmadaWirelessNetworkApi {
/** /**

View File

@@ -1,55 +0,0 @@
package org.wfc.omada.config;
import feign.Client;
import feign.Feign;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;
import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
/**
* @description: Feign https 配置
* @author: caiyuchao
* @date: 2024-11-21
*/
@Configuration
public class FeignHttpsConfig {
@Bean
@Scope("prototype")
public Feign.Builder feignBuilder() {
return Feign.builder();
}
@Bean
public Client generateClient() {
try {
SSLContext ctx = SSLContext.getInstance("SSL");
X509TrustManager tm = new X509TrustManager() {
@Override
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {
}
@Override
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {
}
@Override
public X509Certificate[] getAcceptedIssuers() {
return null;
}
};
ctx.init(null, new TrustManager[]{tm}, null);
return new Client.Default(ctx.getSocketFactory(), (hostname, session) -> true);
} catch (Exception e) {
return null;
}
}
}

View File

@@ -22,6 +22,11 @@
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId> <artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency> </dependency>
<dependency>
<groupId>io.github.openfeign</groupId>
<artifactId>feign-httpclient</artifactId>
</dependency>
<!-- SpringCloud Loadbalancer --> <!-- SpringCloud Loadbalancer -->
<dependency> <dependency>