From 6084e7b29a0720c7c9fd6358a8ed1f26c28f36a5 Mon Sep 17 00:00:00 2001 From: hiparker Date: Sat, 8 May 2021 09:59:02 +0800 Subject: [PATCH] License --- .../common/annotation/InterfaceCrypto.java | 15 ++++++ .../org/opsli/common/annotation/Limiter.java | 15 ++++++ .../opsli/common/annotation/OptionDict.java | 15 ++++++ .../annotation/RequiresPermissionsCus.java | 15 ++++++ .../opsli/common/annotation/SearchHis.java | 15 ++++++ .../opsli/plugins/oss/conf/LocalConfig.java | 47 ------------------- 6 files changed, 75 insertions(+), 47 deletions(-) delete mode 100644 opsli-base-support/opsli-core/src/main/java/org/opsli/plugins/oss/conf/LocalConfig.java diff --git a/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/InterfaceCrypto.java b/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/InterfaceCrypto.java index 49435e10..faa86472 100644 --- a/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/InterfaceCrypto.java +++ b/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/InterfaceCrypto.java @@ -1,3 +1,18 @@ +/** + * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package org.opsli.common.annotation; diff --git a/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/Limiter.java b/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/Limiter.java index 411a83f5..8cbbdbc9 100644 --- a/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/Limiter.java +++ b/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/Limiter.java @@ -1,3 +1,18 @@ +/** + * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package org.opsli.common.annotation; diff --git a/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/OptionDict.java b/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/OptionDict.java index 8f518927..02ecacad 100644 --- a/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/OptionDict.java +++ b/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/OptionDict.java @@ -1,3 +1,18 @@ +/** + * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package org.opsli.common.annotation; diff --git a/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/RequiresPermissionsCus.java b/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/RequiresPermissionsCus.java index 7614dddb..f2b2a861 100644 --- a/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/RequiresPermissionsCus.java +++ b/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/RequiresPermissionsCus.java @@ -1,3 +1,18 @@ +/** + * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package org.opsli.common.annotation; import java.lang.annotation.ElementType; diff --git a/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/SearchHis.java b/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/SearchHis.java index b87e4bff..0dbd604a 100644 --- a/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/SearchHis.java +++ b/opsli-base-support/opsli-common/src/main/java/org/opsli/common/annotation/SearchHis.java @@ -1,3 +1,18 @@ +/** + * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package org.opsli.common.annotation; import java.lang.annotation.*; diff --git a/opsli-base-support/opsli-core/src/main/java/org/opsli/plugins/oss/conf/LocalConfig.java b/opsli-base-support/opsli-core/src/main/java/org/opsli/plugins/oss/conf/LocalConfig.java deleted file mode 100644 index e4df30b3..00000000 --- a/opsli-base-support/opsli-core/src/main/java/org/opsli/plugins/oss/conf/LocalConfig.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com - *

- * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package org.opsli.plugins.oss.conf; - -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import org.opsli.common.annotation.validation.ValidationArgs; -import org.opsli.common.annotation.validation.ValidationArgsLenMax; -import org.opsli.common.enums.ValiArgsType; - -import java.io.Serializable; - -/** - * 本地存储配置 - * - * @author Parker - */ -@Data -public class LocalConfig implements Serializable { - - private static final long serialVersionUID = 1L; - - /** 域名 */ - @ApiModelProperty(value = "域名") - @ValidationArgs({ValiArgsType.IS_NOT_NULL}) - @ValidationArgsLenMax(100) - private String domain; - - /** 前缀 */ - @ApiModelProperty(value = "前缀") - @ValidationArgsLenMax(100) - private String pathPrefix; - -}