diff --git a/.mvn/settings.xml b/.mvn/settings.xml index c1a2a190d4d8746e64fb54bca6df8b338a9698dd..b4494e1c7bce51fcee9848758fbd8148ae0ad219 100644 --- a/.mvn/settings.xml +++ b/.mvn/settings.xml @@ -1,3 +1,19 @@ + + .mvn/repository diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index 43d9d3970d5ab9c20e3bd710a0c72b8b7f859f89..ce4e0fc52d3a7474718ebe9d172c9d15bdebaa90 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,2 +1,18 @@ +# +# Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. +# +# 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. +# + # distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip distributionUrl=http://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.6.1/apache-maven-3.6.1-bin.zip \ No newline at end of file diff --git a/jitengine-web-api/pom.xml b/jitengine-web-api/pom.xml index 52a51ca1548b8629f911dc4b7fbbfe608b7928d1..20ff38a33df4bf73af7cbe30b707619dddf09f69 100644 --- a/jitengine-web-api/pom.xml +++ b/jitengine-web-api/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/service/JitEngineService.java b/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/service/JitEngineService.java index 2e8566ca4c78fd391924b7cbed313499912e7799..0a6a0f7800d205ff4b8a4b4070fd0c38a1fc1f4e 100644 --- a/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/service/JitEngineService.java +++ b/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/service/JitEngineService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.web.api.service; public interface JitEngineService { diff --git a/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/service/MobileApproveReviewParameter.java b/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/service/MobileApproveReviewParameter.java index 1aa373d8060d86cb4718af56e092ab03bb8a94b1..9a97467bb7f48ac3429888b5cf1f061bab237554 100644 --- a/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/service/MobileApproveReviewParameter.java +++ b/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/service/MobileApproveReviewParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.web.api.service; /** diff --git a/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/service/MobileApproveReviewResponse.java b/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/service/MobileApproveReviewResponse.java index 7e0b93504ab12b005dcfb2a38fa9c6e991034e2a..c49364b39756152c1d6b53485cdb15c28ad745aa 100644 --- a/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/service/MobileApproveReviewResponse.java +++ b/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/service/MobileApproveReviewResponse.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.web.api.service; /** diff --git a/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/webservice/JitEngineWebService.java b/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/webservice/JitEngineWebService.java index 251df21eb29e357daf403c79a55a0cb64330e7ab..f25bae6fac4019ff720c377666e22bd77ce6e3bc 100644 --- a/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/webservice/JitEngineWebService.java +++ b/jitengine-web-api/src/main/java/com/inspur/edp/web/jitengine/web/api/webservice/JitEngineWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.web.api.webservice; import com.inspur.edp.web.jitengine.web.api.service.MobileApproveReviewParameter; diff --git a/jitengine-web-core/pom.xml b/jitengine-web-core/pom.xml index 2c2c459fbd7e04c2b9a6771a771831c5ef3acc1e..799f694e2e51574f5e1c815899d90c8027fc44b2 100644 --- a/jitengine-web-core/pom.xml +++ b/jitengine-web-core/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/config/JitEngineWebConfiguration.java b/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/config/JitEngineWebConfiguration.java index f071bc9893640540f32fc60ec6418c9b90f1ca52..937c8f759e0566b26bd6cbebc9553335d86ce5cb 100644 --- a/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/config/JitEngineWebConfiguration.java +++ b/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/config/JitEngineWebConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.web.core.config; import io.iec.edp.caf.rest.RESTEndpoint; diff --git a/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/service/JitEngineServiceImpl.java b/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/service/JitEngineServiceImpl.java index 4342d445f12d3262510444c5417bcff7511297e2..1e94fe8d905a3419bc6e491ab453dec0710b1377 100644 --- a/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/service/JitEngineServiceImpl.java +++ b/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/service/JitEngineServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.web.core.service; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/service/MobilEApprovePreviewImpl.java b/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/service/MobilEApprovePreviewImpl.java index 8604b796ffcc3b28accc711b69447c18bd8091a8..f95f302c43753aafb21c77c7c58c74e295a32308 100644 --- a/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/service/MobilEApprovePreviewImpl.java +++ b/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/service/MobilEApprovePreviewImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.web.core.service; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/service/MobileApproveDocker.java b/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/service/MobileApproveDocker.java index 2c23ba85978ae5d2306d2eee6cd495e7c606daff..e1c84754fc8182005e6b8dc2a59f9c394ce2fef6 100644 --- a/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/service/MobileApproveDocker.java +++ b/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/service/MobileApproveDocker.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.web.core.service; import com.inspur.edp.web.common.io.FileUtility; diff --git a/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/webservice/JitEngineWebSericeImpl.java b/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/webservice/JitEngineWebSericeImpl.java index 5d0227fa423d34649882b77d93b4b24941d2b962..2ee5585bc1c889a70d7df78c5f4ca4ba5ba5b035 100644 --- a/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/webservice/JitEngineWebSericeImpl.java +++ b/jitengine-web-core/src/main/java/com/inspur/edp/web/jitengine/web/core/webservice/JitEngineWebSericeImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.web.core.webservice; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/mvnw b/mvnw index 5551fde8e7dba1e37a1821e8b26374893e2a9e2e..16c34be7d4d77c446dbdbc4769316a979c40b30b 100644 --- a/mvnw +++ b/mvnw @@ -1,22 +1,19 @@ #!/bin/sh -# ---------------------------------------------------------------------------- -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 +# Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. +# +# 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. # -# 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. -# ---------------------------------------------------------------------------- # ---------------------------------------------------------------------------- # Maven2 Start Up Batch script diff --git a/pom.xml b/pom.xml index 19683ee22d1c9589047edfed59148cdee7ceaeeb..cf939a15f3d74e12d6e8b46fa18196f334647920 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,20 @@ + + 4.0.0 diff --git a/runtime-api/pom.xml b/runtime-api/pom.xml index 99d055dca48c80805fcf5cefc2e9a4d947738d46..baa4d415fa7f125dd4de06700db58e7e461bdfb4 100644 --- a/runtime-api/pom.xml +++ b/runtime-api/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/DeployTargetEnum.java b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/DeployTargetEnum.java index f9e06e74d3d5a1748d8f17fa3c785110928907c4..9f1b8f0d05f77164d34ec87af450acaa9c5aefaa 100644 --- a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/DeployTargetEnum.java +++ b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/DeployTargetEnum.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.api.entity; /** diff --git a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitBuildParameter.java b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitBuildParameter.java index ea1f8058284499e358a45a881fdb2e299d5d03c8..44e0497762c47afad765bb26a8dd230f46a3cacb 100644 --- a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitBuildParameter.java +++ b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitBuildParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.api.entity; import java.util.HashMap; diff --git a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitBuildRefMetadata.java b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitBuildRefMetadata.java index ca7b71a0381eb233e31e6c84c8b5b45ad111f30b..0d9ff9fbd7357731544bd46ea85683b0a4d622b8 100644 --- a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitBuildRefMetadata.java +++ b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitBuildRefMetadata.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.api.entity; /** diff --git a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitBuildResponse.java b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitBuildResponse.java index 8c13cddd8f162bf96285711afe5a7289c4b088a0..292b180f05937d7b58081428020b067b38274019 100644 --- a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitBuildResponse.java +++ b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitBuildResponse.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.api.entity; import java.util.HashMap; diff --git a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitMetadataTypeEnum.java b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitMetadataTypeEnum.java index 9505797ec830b93356e9750d2cd095d0b52e8641..0b46e283ee22450138023fd87714d80c01c513e5 100644 --- a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitMetadataTypeEnum.java +++ b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitMetadataTypeEnum.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.api.entity; /** diff --git a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitRuntimeConstant.java b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitRuntimeConstant.java index a619da8aa20dc9ebb17ead8441eba6d3d94d7de2..d8b5f055a5bd01e79347f35c058fe07cc1d18c34 100644 --- a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitRuntimeConstant.java +++ b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/entity/JitRuntimeConstant.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.api.entity; /** diff --git a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/service/JitBuildService.java b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/service/JitBuildService.java index b15f5d6b8339439755bd7c0e05ac002e7f2713b5..79bb5cc8ba6782bfda252e3f5cfecfaf4739be73 100644 --- a/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/service/JitBuildService.java +++ b/runtime-api/src/main/java/com/inspur/edp/web/jitruntimebuild/api/service/JitBuildService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.api.service; import com.inspur.edp.web.jitruntimebuild.api.entity.JitBuildParameter; diff --git a/runtime-core/pom.xml b/runtime-core/pom.xml index cbbfe27acb39a7268733441119e9e85bb6e7076e..5936091f840c99ddd49be40ec11fe4a824bc123b 100644 --- a/runtime-core/pom.xml +++ b/runtime-core/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/builddeploy/BuildDeployManager.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/builddeploy/BuildDeployManager.java index a68fbbc1695789750fb01644ca03c088cd63d397..bbc78e758af27377218382ad3a40b637fae93aec 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/builddeploy/BuildDeployManager.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/builddeploy/BuildDeployManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.builddeploy; import com.inspur.edp.web.common.io.FileUtility; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/buildparametergenerator/JitBuildParameterGenerator.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/buildparametergenerator/JitBuildParameterGenerator.java index 622b0e2ce4bcafb33ec2b567ea6d9eb8ab720f72..bc18fdf89fbc302b5b5c7efaa5c1e16106a49045 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/buildparametergenerator/JitBuildParameterGenerator.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/buildparametergenerator/JitBuildParameterGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.buildparametergenerator; import com.inspur.edp.web.common.io.FileUtility; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/buildparametervalidator/JitBuildParameterValidator.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/buildparametervalidator/JitBuildParameterValidator.java index 412876f7371ccc7a1c1e4b7a43c219302c167e9a..2428cba1e0be243eacea447b3600a4b6fe245bad 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/buildparametervalidator/JitBuildParameterValidator.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/buildparametervalidator/JitBuildParameterValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.buildparametervalidator; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/config/JitBuildConfiguration.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/config/JitBuildConfiguration.java index 3ef0717f6c9ccb4d97b2e29297ae6eb688d9e406..46138c478f7711e6aaf42be3055130180ebda2ad 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/config/JitBuildConfiguration.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/config/JitBuildConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.config; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/constant/FormJsonFileSuffixConstant.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/constant/FormJsonFileSuffixConstant.java index 639bb18329a2bee19f8975ca64bcf1b1497f1579..0c65a323bdd95b2490a67b679bf4241e563f987c 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/constant/FormJsonFileSuffixConstant.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/constant/FormJsonFileSuffixConstant.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.constant; import com.inspur.edp.web.common.io.FileUtility; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/AbstractFormJsonFileGenerator.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/AbstractFormJsonFileGenerator.java index 88769ee96c58cc8b229ae9d016d55d0f7bf8a3c6..702853d53c738b54d9908e18bfe772e1c28b3f20 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/AbstractFormJsonFileGenerator.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/AbstractFormJsonFileGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/CommandJsonFileGenerator.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/CommandJsonFileGenerator.java index e9f68ac8aa41520af0e15443f0c606fa39b1bbe1..038d15be612c61697908eaf99db95f39d57b11e9 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/CommandJsonFileGenerator.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/CommandJsonFileGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/EapiJsonFileGenerator.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/EapiJsonFileGenerator.java index 3873b25c1816a2d9dff0ee087e0ba586388ff503..4f2602e5a13b7f2c79bc58ecb22cfd3e702744f0 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/EapiJsonFileGenerator.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/EapiJsonFileGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormJsonFileManager.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormJsonFileManager.java index 948c60384b3c86c91fc672603e4662991f36d0ad..ecb276f812658a02c94688dd71371bc0d7d4f087 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormJsonFileManager.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormJsonFileManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormModuleWithBuildParameter.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormModuleWithBuildParameter.java index 55ac550af54ae9c7803b66f57beb271400c0cbc6..163fa5084c8dd942a4354713d77e8cfb153759bf 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormModuleWithBuildParameter.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormModuleWithBuildParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator; import com.inspur.edp.web.common.serialize.SerializeUtility; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormModuleWithBuildParameterManager.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormModuleWithBuildParameterManager.java index 9bed1438f941b11f8cd94c4fd11cb077323e7e3a..b8b5004ef434836aedf9b7ac126c7a85f9b6df4b 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormModuleWithBuildParameterManager.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormModuleWithBuildParameterManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator; import com.inspur.edp.web.common.serialize.SerializeUtility; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormRouteJsonFileGenerator.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormRouteJsonFileGenerator.java index a031f79f7628e43d647ad69b2261da67e0034d6d..5455230ba89dea7be523bd71918b7b93c5f4a35a 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormRouteJsonFileGenerator.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormRouteJsonFileGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator; import com.inspur.edp.web.common.JITEngineConstants; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormRuntimeMetadataEntity.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormRuntimeMetadataEntity.java index 5e2fe2f479050eaa5e9860f439bf167b080c5672..471675f460157f1a1b29ca61ff1669ff0786dba1 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormRuntimeMetadataEntity.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FormRuntimeMetadataEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator; import com.fasterxml.jackson.databind.JsonNode; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FrmJsonFileGenerator.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FrmJsonFileGenerator.java index 1eac227eb27eb73d0757a1d11ed63a6786af7dfd..cfb83e7bb80799a6d0ecdbb0c4bcc5d5e9271bc9 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FrmJsonFileGenerator.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/FrmJsonFileGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator; import com.inspur.edp.cdp.web.component.metadata.define.WebComponentMetadata; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/JsonFileGeneratorFactory.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/JsonFileGeneratorFactory.java index 7fccd906109bda77c4268c6448d95654050f7171..53ee50fa0c5c5e89d73aa61aec2cca278562c3ff 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/JsonFileGeneratorFactory.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/JsonFileGeneratorFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/JsonFileGeneratorInterface.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/JsonFileGeneratorInterface.java index dd3ec246d609933fe23e41ff25b7686a174f3dc3..78e0a85f93d4eebbefc9a0abd3b6b55f530ace35 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/JsonFileGeneratorInterface.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/JsonFileGeneratorInterface.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator; public interface JsonFileGeneratorInterface { diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/ResourceJsonFileGenerator.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/ResourceJsonFileGenerator.java index 455e7ac0f0978bbb2eb486f27734ef8f141bb8e6..e470bd56d07cc1f94bbf82f2beae3b6e8c0aae92 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/ResourceJsonFileGenerator.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/ResourceJsonFileGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/StateMachineJsonFileGenerator.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/StateMachineJsonFileGenerator.java index 7eda0ede99c9154e072c326d7f26114a0c5e32bd..b459f477ba848a807c4fb17b764fbad9f5ff82fa 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/StateMachineJsonFileGenerator.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/StateMachineJsonFileGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/formroute/FormRouteEntity.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/formroute/FormRouteEntity.java index 502a707bf18af14004cb7e3e7bac1ac7a1f8e051..ad47c6663ece98e696f2d7b5cc1cf5e30a2aff80 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/formroute/FormRouteEntity.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/formroute/FormRouteEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator.formroute; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/formroute/FormRoutePageEntity.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/formroute/FormRoutePageEntity.java index b1bee8bc888e38de5f54423d9176c81d9db82082..93fea0fd2948cb997ea062f687635d261b5b2344 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/formroute/FormRoutePageEntity.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/formroute/FormRoutePageEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator.formroute; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/formroute/FormRouteProjectEntity.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/formroute/FormRouteProjectEntity.java index b4c0c68ba74bb71a8b04ff41c75991ce52f820d2..82795ac65cca0720b197097b489f066ef60bfb90 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/formroute/FormRouteProjectEntity.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/formjsonfilegenerator/formroute/FormRouteProjectEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.formjsonfilegenerator.formroute; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/i18n/GeneratedI18nResourceList.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/i18n/GeneratedI18nResourceList.java index 737b3d4aa2064200612180302015f72d53841025..a1e07210f052e169c1613c32068edace4061d460 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/i18n/GeneratedI18nResourceList.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/i18n/GeneratedI18nResourceList.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.i18n; import com.inspur.edp.web.jitengine.i18nresource.GeneratedI8nResource; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/i18n/GeneratedI8nResource.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/i18n/GeneratedI8nResource.java index 18ee0b32ed0945b984f155326f8a0c25eab67373..80a780786d5469be508aa32917cc0358df227542 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/i18n/GeneratedI8nResource.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/i18n/GeneratedI8nResource.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.i18n; /** diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/service/JitBuildServiceImp.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/service/JitBuildServiceImp.java index c18a54961ca4701885c90a2daa54f414d2f8aec8..0486cbdcde833d5c2d42ccd3c51c9695468557bc 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/service/JitBuildServiceImp.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/service/JitBuildServiceImp.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.service; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/sourcecodemetadata/SourceCodeMetadataManager.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/sourcecodemetadata/SourceCodeMetadataManager.java index 5d21e60cbb75afb938a55dae85e2f5512179006f..4605601477ae69c985a790352af0bbf82287756a 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/sourcecodemetadata/SourceCodeMetadataManager.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/sourcecodemetadata/SourceCodeMetadataManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.sourcecodemetadata; import com.inspur.edp.web.common.io.FileUtility; diff --git a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/utility/JitBuildUtility.java b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/utility/JitBuildUtility.java index a8f5532f5f7b57f70c41249f79a97c58dc10ee04..d650336bfd8d5ed18c6a2b572936388b19df140c 100644 --- a/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/utility/JitBuildUtility.java +++ b/runtime-core/src/main/java/com/inspur/edp/web/jitruntimebuild/core/utility/JitBuildUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.core.utility; import com.inspur.edp.web.common.io.FileUtility; diff --git a/runtime-scriptcache-api/pom.xml b/runtime-scriptcache-api/pom.xml index 532483d5083c6e46a351bc93864fdd17b7433d69..43d1e2033338674569635cfc8a6777cf0451984b 100644 --- a/runtime-scriptcache-api/pom.xml +++ b/runtime-scriptcache-api/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/FormProjectCache.java b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/FormProjectCache.java index 51d6d8b2b811ad3c771b9d9904ba6edb0368f42d..0623fac3c96da2e849cf01a11b8dc3de8cf6ba26 100644 --- a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/FormProjectCache.java +++ b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/FormProjectCache.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.api.entity; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/FormScriptCache.java b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/FormScriptCache.java index e67315b6effddf30ac629a1303eb23e2937bb44b..9fa7927219bbbcff8c88554dd5fa9a1109b83f6c 100644 --- a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/FormScriptCache.java +++ b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/FormScriptCache.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.api.entity; diff --git a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/FormScriptCacheContent.java b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/FormScriptCacheContent.java index 81c03dee7cec5ddf2526e2b4e6ed327e870e786e..cfbd2d56fa1f52868bf8a0e6f6a29549aaed0751 100644 --- a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/FormScriptCacheContent.java +++ b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/FormScriptCacheContent.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.api.entity; import com.inspur.edp.web.common.converter.WebEntityConverter; diff --git a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/PublishScriptRequest.java b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/PublishScriptRequest.java index c60a47ba5b3cc77ab77b5a652e351186131810fc..77bb91250a3d52f83bf94adc967b90ea4f404b99 100644 --- a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/PublishScriptRequest.java +++ b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/PublishScriptRequest.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.api.entity; /** diff --git a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/ScriptCacheCheckVersionRequest.java b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/ScriptCacheCheckVersionRequest.java index af5961e609430d6f4bbebb6aeb171eb24b61f998..91b21b79f35fca6c2cc1a989c50c4c5bf742a88c 100644 --- a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/ScriptCacheCheckVersionRequest.java +++ b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/ScriptCacheCheckVersionRequest.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.api.entity; /** diff --git a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/ScriptCacheResponse.java b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/ScriptCacheResponse.java index a5293e0954d7637e7bef89dd6b626f12ae87dc70..cbcee60d7ca06819d8765d4cefe1e6808efdddc3 100644 --- a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/ScriptCacheResponse.java +++ b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/entity/ScriptCacheResponse.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.api.entity; /** diff --git a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/service/ScriptCacheService.java b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/service/ScriptCacheService.java index 0406a848e00e314819ec449bff384d744b2d9ef1..46debcc4ede46baafcc6388358d1336f6d54baed 100644 --- a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/service/ScriptCacheService.java +++ b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/service/ScriptCacheService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.api.service; import com.inspur.edp.web.jitruntimebuild.scriptcache.api.entity.PublishScriptRequest; diff --git a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/webservice/ScriptCacheWebService.java b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/webservice/ScriptCacheWebService.java index 31229a73296d8d4be0addee02509a8bde2e745e9..4e498c55a609231eb81f7c6d9f3b8630bd66bf55 100644 --- a/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/webservice/ScriptCacheWebService.java +++ b/runtime-scriptcache-api/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/api/webservice/ScriptCacheWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.api.webservice; import com.inspur.edp.web.jitruntimebuild.scriptcache.api.entity.ScriptCacheCheckVersionRequest; diff --git a/runtime-scriptcache-api/src/main/resources/log4j2.properties b/runtime-scriptcache-api/src/main/resources/log4j2.properties index 328db356d706c27e990381f2f84139734e667a17..16dbeda725d0aa0bb334eb5508c7015449137bb4 100644 --- a/runtime-scriptcache-api/src/main/resources/log4j2.properties +++ b/runtime-scriptcache-api/src/main/resources/log4j2.properties @@ -1,3 +1,19 @@ +# +# Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. +# +# 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. +# + appender.out.type = Console appender.out.name = out diff --git a/runtime-scriptcache/pom.xml b/runtime-scriptcache/pom.xml index a2434c8f6134483b962a4f7f6617b4ea572fe2a9..93f2f5e609d44a4345391a9f08ac456c4d27f5f8 100644 --- a/runtime-scriptcache/pom.xml +++ b/runtime-scriptcache/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/config/ScriptCacheConfiguration.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/config/ScriptCacheConfiguration.java index 18f22b58c47d75c5f8c059d0b8ce5c88d17f86f4..45af3c4f2b25dc0e6ed7963652daa0092262dec9 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/config/ScriptCacheConfiguration.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/config/ScriptCacheConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.config; import com.inspur.edp.web.jitruntimebuild.scriptcache.domain.manager.FormProjectCacheManager; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/constants/ScriptCacheDBTableConstant.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/constants/ScriptCacheDBTableConstant.java index 9b34833a2574a4b29a64f7f03ed556bd666a9d09..bdad43a901c18915bfa102da05d05296300a4fb6 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/constants/ScriptCacheDBTableConstant.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/constants/ScriptCacheDBTableConstant.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.constants; /** diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/entity/FormProjectCacheEntity.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/entity/FormProjectCacheEntity.java index 63022b90d206213e29ae71c1ca246c07b952dd07..98fc11f03a782269631d08e329cb70de4cc25110 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/entity/FormProjectCacheEntity.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/entity/FormProjectCacheEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.domain.entity; import com.inspur.edp.web.common.converter.WebEntityConverter; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/entity/FormScriptCacheContentEntity.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/entity/FormScriptCacheContentEntity.java index a7b11c7b66d774b258e6a79317a2c9f4052c1a4d..d002316aead06784252f832dea1a1dc46228836c 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/entity/FormScriptCacheContentEntity.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/entity/FormScriptCacheContentEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.domain.entity; import com.inspur.edp.web.common.converter.WebEntityConverter; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/entity/FormScriptCacheEntity.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/entity/FormScriptCacheEntity.java index 53d3ca57ff30c087259d07bc59651ea21d45482d..d790dac3829e2b2f2273df141650150dc598c275 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/entity/FormScriptCacheEntity.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/entity/FormScriptCacheEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.domain.entity; import com.inspur.edp.web.common.converter.WebEntityConverter; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/manager/FormProjectCacheManager.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/manager/FormProjectCacheManager.java index 984e5755c51aaf81ae508f8bd8098fb0e1cc2c38..d148ebd9bde98ef7b841ebde9092047173d9e950 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/manager/FormProjectCacheManager.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/manager/FormProjectCacheManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.domain.manager; import com.inspur.edp.web.jitruntimebuild.scriptcache.api.entity.FormProjectCache; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/manager/FormScriptCacheContentManager.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/manager/FormScriptCacheContentManager.java index 8fda1270753cdeec2b076237cdfc07d62e154b92..2d1665c9da3bad43b607852f5317ae491a7afe56 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/manager/FormScriptCacheContentManager.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/manager/FormScriptCacheContentManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.domain.manager; import com.inspur.edp.web.jitruntimebuild.scriptcache.api.entity.FormScriptCacheContent; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/manager/FormScriptCacheManager.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/manager/FormScriptCacheManager.java index d46b2691d9b808e817a231c8ddc146c7d8a34514..35fb5dd86741829e44b84b370e4cd2351636026a 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/manager/FormScriptCacheManager.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/manager/FormScriptCacheManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.domain.manager; import com.inspur.edp.web.common.io.FileUtility; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/repository/FormProjectCacheRepository.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/repository/FormProjectCacheRepository.java index baf8c2863a67af78951ddb6701dde92729b8be9e..75ba34c1d203d6b5788b7e95943ec2cdb3509787 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/repository/FormProjectCacheRepository.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/repository/FormProjectCacheRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.domain.repository; import com.inspur.edp.web.jitruntimebuild.scriptcache.domain.entity.FormProjectCacheEntity; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/repository/FormScriptCacheContentRepository.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/repository/FormScriptCacheContentRepository.java index cc8072c6b0a015ade0bcaa49681369adb9711747..2dc7f1e8ebb1fe95e2794ff81bedd72b61a5ce11 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/repository/FormScriptCacheContentRepository.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/repository/FormScriptCacheContentRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.domain.repository; import com.inspur.edp.web.jitruntimebuild.scriptcache.domain.entity.FormScriptCacheContentEntity; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/repository/FormScriptCacheRepository.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/repository/FormScriptCacheRepository.java index 26d07c5692475eff5ed330aeb6d4c9240b4bc12b..b02b2220e3549e335d10b75f85c4ca8457eee128 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/repository/FormScriptCacheRepository.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/domain/repository/FormScriptCacheRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.domain.repository; import com.inspur.edp.web.jitruntimebuild.scriptcache.domain.entity.FormScriptCacheEntity; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerFileOperation.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerFileOperation.java index ea1ef6a21965fd1774019971d1dcd1c2282588bf..04b66b3dcf26fa0a45d263be877ff318f0543a52 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerFileOperation.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerFileOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.localserver; import com.inspur.edp.web.common.io.FileUtility; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerPathGenerator.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerPathGenerator.java index eb7bed1dc52918665685381e9664f3e75fce96fb..8209a1cef0a92781f71c87d70cb31322dc9e2f28 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerPathGenerator.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerPathGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.localserver; import com.inspur.edp.web.common.io.FileUtility; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerProjectVersion.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerProjectVersion.java index 3b39d3dc8890f769463a87cae177cc76458bd7ae..50bf527dc042eb26f5c5468c87ed8a606cff3394 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerProjectVersion.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerProjectVersion.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.localserver; import java.util.ArrayList; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerScriptVersion.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerScriptVersion.java index 0794240c5f7cc8235255dae0b8fd59667522bf2c..f46eddba900c5fb929d161af550748b432ec0b3a 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerScriptVersion.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerScriptVersion.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.localserver; /** diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerVersionFileContent.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerVersionFileContent.java index 1c9db7e467ac574cd006187ec44596cb2fb8fcf7..4ce36c5a50eea8f98d7045ce577bc62f9f7fdd08 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerVersionFileContent.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerVersionFileContent.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.localserver; import java.util.ArrayList; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerVersionFileOperation.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerVersionFileOperation.java index e36fbee44277a514932e39a34a0c95b89c87d831..3295edfdc2c4f9954fc449f14c37fb668ec02a60 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerVersionFileOperation.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerVersionFileOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.localserver; import com.inspur.edp.web.common.io.FileUtility; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerVersionManager.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerVersionManager.java index 395e503f49e5c935b59ab16793d4ece2bc841c58..2666cbb81ca5af544ec2120d58b836d527386d0f 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerVersionManager.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/LocalServerVersionManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.localserver; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/rpc/LocalServerVersionRpcService.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/rpc/LocalServerVersionRpcService.java index da9930fe5831f078396a7791e9e6eea55636801d..5f756f8deb58df9eb81954fb94385afcdcab7d4c 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/rpc/LocalServerVersionRpcService.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/rpc/LocalServerVersionRpcService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.localserver.rpc; import com.inspur.edp.web.jitruntimebuild.scriptcache.api.entity.FormProjectCache; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/rpc/LocalServerVersionRpcServiceImpl.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/rpc/LocalServerVersionRpcServiceImpl.java index e30a6a0549a354451d3d4a8279cbfa2210e15909..d250c23f6acabd4a29ce3e27703f740ed6bfdf69 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/rpc/LocalServerVersionRpcServiceImpl.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/localserver/rpc/LocalServerVersionRpcServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.localserver.rpc; import com.inspur.edp.web.jitruntimebuild.scriptcache.api.entity.FormProjectCache; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/manager/CustomizationCacheServiceInstanceManager.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/manager/CustomizationCacheServiceInstanceManager.java index c6884a948253c07132e19760bc7df0f105c52a96..eb668a87838dc488143569f96218cba3cc13bb7c 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/manager/CustomizationCacheServiceInstanceManager.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/manager/CustomizationCacheServiceInstanceManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.manager; import com.inspur.edp.lcm.rtcustomization.cache.api.service.ICustomizationCacheService; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/manager/ScriptCacheVersionManager.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/manager/ScriptCacheVersionManager.java index c228df4439669a7bba6c5bb73abf4a8876f722b2..12728d387e9268b23d7eafbe2c8dde24dff2f602 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/manager/ScriptCacheVersionManager.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/manager/ScriptCacheVersionManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.manager; import com.inspur.edp.web.common.io.FileUtility; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/service/ScriptCacheServiceImpl.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/service/ScriptCacheServiceImpl.java index 0dd72ac14b090fdaf2590fb007b9198033eb5166..ab102a45b7d35cccc570a375aac5a103a71c244c 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/service/ScriptCacheServiceImpl.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/service/ScriptCacheServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.service; import com.inspur.edp.lcm.rtcustomization.cache.api.entity.CustomizationGlobalVersion; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/utility/ScriptCacheContentEncrypt.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/utility/ScriptCacheContentEncrypt.java index d02c1c0190580f2428984c52cf5ca5504d29785b..a6efb2db076c148cddc36a269595739680f9c0c1 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/utility/ScriptCacheContentEncrypt.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/utility/ScriptCacheContentEncrypt.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.utility; import com.inspur.edp.web.common.encrypt.EncryptConstant; diff --git a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/webservice/ScriptCacheWebServiceImpl.java b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/webservice/ScriptCacheWebServiceImpl.java index 6987941dd7b7672334111ac2040f0d43812e4449..5141c991b7a960cdce937d0e1ba225517e018641 100644 --- a/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/webservice/ScriptCacheWebServiceImpl.java +++ b/runtime-scriptcache/src/main/java/com/inspur/edp/web/jitruntimebuild/scriptcache/webservice/ScriptCacheWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitruntimebuild.scriptcache.webservice; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/runtime-scriptcache/src/main/resources/log4j2.properties b/runtime-scriptcache/src/main/resources/log4j2.properties index 328db356d706c27e990381f2f84139734e667a17..16dbeda725d0aa0bb334eb5508c7015449137bb4 100644 --- a/runtime-scriptcache/src/main/resources/log4j2.properties +++ b/runtime-scriptcache/src/main/resources/log4j2.properties @@ -1,3 +1,19 @@ +# +# Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. +# +# 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. +# + appender.out.type = Console appender.out.name = out diff --git a/toout.bat b/toout.bat index f620c72afb9694b747b8565b9ea643dd11a32b7d..7a2db5f2958597f31ae7ae5a85980dbafbd4e9de 100644 --- a/toout.bat +++ b/toout.bat @@ -1,3 +1,19 @@ +# +# Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. +# +# 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. +# + @echo off for /f "tokens=*" %%i in ('CALL .\xpath0.1.bat pom.xml "/project/properties/custom.version"') do set version=%%i diff --git a/web-appconfig-api/pom.xml b/web-appconfig-api/pom.xml index 75fc31c768e0b633ef8e929ff141d6a4728c404f..95e40dadb179e4f149bc54b075eced36e1102fcb 100644 --- a/web-appconfig-api/pom.xml +++ b/web-appconfig-api/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-appconfig-api/src/main/java/com/inspur/edp/web/appconfig/api/entity/GspAppConfig.java b/web-appconfig-api/src/main/java/com/inspur/edp/web/appconfig/api/entity/GspAppConfig.java index 387f49b8a68cfaa95257e2deeef18a59f2fb411f..2ea79daa8611fddee89054752a8f180d20aa47a8 100644 --- a/web-appconfig-api/src/main/java/com/inspur/edp/web/appconfig/api/entity/GspAppConfig.java +++ b/web-appconfig-api/src/main/java/com/inspur/edp/web/appconfig/api/entity/GspAppConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.appconfig.api.entity; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/web-appconfig-api/src/main/java/com/inspur/edp/web/appconfig/api/webservice/AppConfigWebService.java b/web-appconfig-api/src/main/java/com/inspur/edp/web/appconfig/api/webservice/AppConfigWebService.java index f3305f632098858a2de4b9dcebe0424059013afd..a154af8251379e1e1cb57291ae1d8dd01c8bfd58 100644 --- a/web-appconfig-api/src/main/java/com/inspur/edp/web/appconfig/api/webservice/AppConfigWebService.java +++ b/web-appconfig-api/src/main/java/com/inspur/edp/web/appconfig/api/webservice/AppConfigWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.appconfig.api.webservice; diff --git a/web-appconfig-core/pom.xml b/web-appconfig-core/pom.xml index 07329a2615076cab2e5e5f650dc2beaff7b51e4b..bea00faf33a275e59da42509e8f0fa611857f49c 100644 --- a/web-appconfig-core/pom.xml +++ b/web-appconfig-core/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/appconfig/AppConfigFileManager.java b/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/appconfig/AppConfigFileManager.java index bb65fb47bdf7a99ff8bcbf530a4080f43e38efbe..d619040342cf6d4ff42b2a1a12056d20c6b758ec 100644 --- a/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/appconfig/AppConfigFileManager.java +++ b/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/appconfig/AppConfigFileManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.appconfig.core.appconfig; import com.inspur.edp.web.appconfig.api.entity.GspAppConfig; diff --git a/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/appconfig/AppConfigFilePathGenerator.java b/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/appconfig/AppConfigFilePathGenerator.java index a7f9a74cbd781490382ef89c4a58e52d7c620464..8641730b8eab2b6033fa77d0ff8f0cc82cc3dbc0 100644 --- a/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/appconfig/AppConfigFilePathGenerator.java +++ b/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/appconfig/AppConfigFilePathGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.appconfig.core.appconfig; import com.inspur.edp.web.appconfig.core.constants.GspAppConfigConstants; diff --git a/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/config/AppConfigConfiguration.java b/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/config/AppConfigConfiguration.java index e168f07ece349b91e5338dfa19736764dd517df3..0f939422216d965c8d167556c001cd333bc489f5 100644 --- a/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/config/AppConfigConfiguration.java +++ b/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/config/AppConfigConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.appconfig.core.config; import com.inspur.edp.web.appconfig.core.webservice.AppConfigWebServiceImpl; diff --git a/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/constants/GspAppConfigConstants.java b/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/constants/GspAppConfigConstants.java index f8d84109f22cedb04de1baeb4ad10eafa2b6ef21..8eb9bfa924d5c12b5c8c320a5ffd4c6590ab8081 100644 --- a/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/constants/GspAppConfigConstants.java +++ b/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/constants/GspAppConfigConstants.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.appconfig.core.constants; /** diff --git a/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/service/GspAppConfigService.java b/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/service/GspAppConfigService.java index 495600ea533f9a3945f7ff1d5370f76bd8689eba..e8623729bb3b44ace78896f2d6e87c6a662caf40 100644 --- a/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/service/GspAppConfigService.java +++ b/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/service/GspAppConfigService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.appconfig.core.service; import com.inspur.edp.lcm.metadata.api.entity.MetadataProject; diff --git a/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/webservice/AppConfigWebServiceImpl.java b/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/webservice/AppConfigWebServiceImpl.java index eb0ed01c96790e39d822fd71eb515549f1968b70..aa249651cbff1f3f6d102315a42d6f424a91e03e 100644 --- a/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/webservice/AppConfigWebServiceImpl.java +++ b/web-appconfig-core/src/main/java/com/inspur/edp/web/appconfig/core/webservice/AppConfigWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.appconfig.core.webservice; import com.inspur.edp.web.appconfig.api.entity.GspAppConfig; diff --git a/web-approval-format-api/pom.xml b/web-approval-format-api/pom.xml index 8ab327455cbc15b0d1e9c6afc944fe3e273e1e16..fc988d4cc730c0014caae1af6aef47cb02dd7182 100644 --- a/web-approval-format-api/pom.xml +++ b/web-approval-format-api/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormUpdateRequestBody.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormUpdateRequestBody.java index 3ae3ebe42a9c9ccd34d18969cd104759c9ac4a06..c71e3c974ab0b8c91a9fac6bae10a69e02613bc5 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormUpdateRequestBody.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormUpdateRequestBody.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; import com.inspur.edp.web.formmetadata.metadata.FormMetadataContent; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormat.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormat.java index 9140da6a45485ca4328cf011e03b632a8b8c8f24..119e2f6d1cf95c70cf9f871b5d2d872a0122ef4a 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormat.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormat.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatCreateRequestBody.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatCreateRequestBody.java index 5268dc7b5a21594d5dc962c8b22c44c47c429a39..7b30bb990dcee60b7f27c015e539232c0e28876c 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatCreateRequestBody.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatCreateRequestBody.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatCreateResponseBody.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatCreateResponseBody.java index 1bb1724b75a3b2661416d866bd106b6e3006e534..b97ab0bcd86ca1c9a56e1de844a9bb76e5b4b75b 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatCreateResponseBody.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatCreateResponseBody.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatDimensionUpdateRequestBody.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatDimensionUpdateRequestBody.java index cc9eb5fd6b81d20b8093a987dda17807d8aa4ae6..3b004f81410ff4f259d93c0ae4e8230915a18055 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatDimensionUpdateRequestBody.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatDimensionUpdateRequestBody.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatEnum.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatEnum.java index aedabe58d7b153faadae132708bea5032ed2f469..aca481ebab5891f976e5d88283307d3913d4a217 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatEnum.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatEnum.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; /** diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatForestByDimension.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatForestByDimension.java index 3a54226bd883d82f0c96ba62209654bf87f24a61..68bb268008f7e98bef718ffc85edf17f6792a424 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatForestByDimension.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatForestByDimension.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatQueryResponseBody.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatQueryResponseBody.java index 5dfd7e1720a5f5f90bb3132c56b85d605b67e24b..c7abd6a91c27e856988edf949e382e0dbea6f600 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatQueryResponseBody.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatQueryResponseBody.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatTreeNode.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatTreeNode.java index d27b3e9556315111ca7e2189a231febe8d458616..70d3301f3a3acadf7464a95dc6f6bc54ae36314d 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatTreeNode.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatTreeNode.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatUpdateRequestBody.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatUpdateRequestBody.java index e12516e4e8a0d717a4fa3ca60810f5bed53369ef..04c49160ca1effc324628ab879757cc050f3edbf 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatUpdateRequestBody.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalFormatUpdateRequestBody.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalViewObjectUpdateRequestBody.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalViewObjectUpdateRequestBody.java index 455d61e92b653f6b31d61a2f961213c6cae2be20..d649033273f3a221a95b3c375bf9d2290f095ade 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalViewObjectUpdateRequestBody.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApprovalViewObjectUpdateRequestBody.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; import com.inspur.edp.formserver.viewmodel.GspViewModel; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApproveFormatPreviewParameter.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApproveFormatPreviewParameter.java index d27e9b7c78b9a1a14aa432eec89b85c5bf04ea76..a0b9f694507a94298ec6bebf1a50f0ac4de179db 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApproveFormatPreviewParameter.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/ApproveFormatPreviewParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/HelpMetadataSimpleContent.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/HelpMetadataSimpleContent.java index 7221808a41c4834882c4f461d6063f6d426ac97f..b06f6da0ee6194595cd263ac07f4b99c8aa70253 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/HelpMetadataSimpleContent.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/HelpMetadataSimpleContent.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/HelpProviderResult.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/HelpProviderResult.java index d6d6464e12f7faa536fef4e02363fd8e97194be4..6c85464264b1fa922a971d0645cd0a447cb78b26 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/HelpProviderResult.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/HelpProviderResult.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity; import com.inspur.edp.web.help.api.LookupResult; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/ComplexField.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/ComplexField.java index aa4f96501d99a4840fdf8769922218de122e9634..f502172a220b9695d9b938068160dd19a5f2e6ed 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/ComplexField.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/ComplexField.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/Entity.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/Entity.java index b6f26071d1553c967063f3995235f07ab217d5fa..f055b12acca1c587795fbc6fe6079650f3797fbc 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/Entity.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/Entity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema; import com.inspur.edp.web.approvalformat.api.entity.schema.type.EntityType; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/Field.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/Field.java index 37f61a1769430a912697afc727aec8731756fdfe..6cfda020bb09eafae06bf36817bae50aa370a5a5 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/Field.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/Field.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema; import com.inspur.edp.web.approvalformat.api.entity.schema.type.FieldType; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/FormSchema.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/FormSchema.java index 4109fb1794433aa243ef4b4c848624ca357642c7..29022e5c1c9d384a4fd3acccdaeaf8828093b350 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/FormSchema.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/FormSchema.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/SimpleField.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/SimpleField.java index d588ae6566fe0300d3083f726a23a5a52a1dd2e7..26d1cf0ac84caa00413b0c2b4c786372c2807533 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/SimpleField.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/SimpleField.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema; import com.inspur.edp.web.approvalformat.api.entity.schema.editor.FieldEditor; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/CheckBox.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/CheckBox.java index a2d72624691d606e212f2d7b6e8ffb2791ea1bbf..3e2451ea1285ccf7f71a65c5962a1e9178872ab0 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/CheckBox.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/CheckBox.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.editor; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/DateBox.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/DateBox.java index ee56d5cd93cd8b9693367b15a167fa69f9f5da14..a781bebfec763ad554fce598ab8234ffc573846f 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/DateBox.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/DateBox.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.editor; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/EnumField.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/EnumField.java index 14d7d81ffedbea4fb52142365d91584e01778d68..e5a8354ca50c95005e98d6cd9baabc736888f8fe 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/EnumField.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/EnumField.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.editor; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/FieldEditor.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/FieldEditor.java index f65e9c08830e49c9d0d3c1d7455b099dab77cc89..58e5a695ef09066b01883d26211c10fac7e65da8 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/FieldEditor.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/FieldEditor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.editor; /** diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/LanguageTextBox.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/LanguageTextBox.java index 04cbbac8696427ccef3d02a85b6cd8c8e0b29c7e..52f074519f59049acdc41c74365ca5026b5c393a 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/LanguageTextBox.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/LanguageTextBox.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.editor; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/MultiTextBox.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/MultiTextBox.java index 7e9aead45f14aec7b94c4b1ed51260e222d1a54a..d534248b48f9314bdb2b0d0e6b039e85ac08dcae 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/MultiTextBox.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/MultiTextBox.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.editor; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/NumericBox.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/NumericBox.java index 3174c878b79be1a60cca7ff5fe7e97b6ed1e6160..1c24b222e134b0135ebe274f934f547538dd4d15 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/NumericBox.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/NumericBox.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.editor; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/TextBox.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/TextBox.java index 443746c030a085651e33c9872230ba0418910bbc..95747d192f2c6b7439be34ca8d4be8c3c58081be 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/TextBox.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/editor/TextBox.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.editor; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/BooleanType.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/BooleanType.java index b777374503039ee7ddd2d75b97bde26cc1d3e8e5..d33175aa8797d7d90f4954c7818f2e29ed81f067 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/BooleanType.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/BooleanType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.type; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/DateType.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/DateType.java index c51302f49c414a8024ae6bfea71ba18fd27eb2c0..aece74e55cb921ea0c968fd625cecc5d0b024aff 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/DateType.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/DateType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.type; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/DynamicObjectType.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/DynamicObjectType.java index 539d9613cf761c4df15b23bf85ee07d4d397d16a..d4b7dfab8c966a34588d2ec4ea51cf3440226185 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/DynamicObjectType.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/DynamicObjectType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.type; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/EntityType.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/EntityType.java index 27be278f0eed3a01bb5dbe439355656f8f83ca47..6af5f73b12f638880fd233479e09ac740e0c2f8d 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/EntityType.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/EntityType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.type; import com.inspur.edp.web.approvalformat.api.entity.schema.Entity; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/EnumItem.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/EnumItem.java index bd900b990c7871f6539da8ac48845a18244bfad6..d437c5371ba511e40748cfb18c4329643b9a7ef4 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/EnumItem.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/EnumItem.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.type; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/EnumType.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/EnumType.java index f2dbe91d81937f17c5a2c0cd71da267b6221b9cd..20cd039c3d2811c361d73ccd762e68c6fd2d84e2 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/EnumType.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/EnumType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.type; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/FieldType.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/FieldType.java index aea532ad418c532dd076fe309d7d9da90fd356b5..f6bf85c9cddedef065fde385da8a1f3e34a71a0d 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/FieldType.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/FieldType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.type; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/HierarchyType.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/HierarchyType.java index b8756936d158536a12d98144322adae72a8f58c8..760b1cc7fc183c6bad22fcc8fc26d4852073a69e 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/HierarchyType.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/HierarchyType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.type; import com.inspur.edp.web.approvalformat.api.entity.schema.Field; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/NumericType.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/NumericType.java index dbf0804fd7c76d56673cb6381a07931b8bb618a3..3a819571396d5f95939209e5ba918940582a3478 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/NumericType.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/NumericType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.type; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/ObjectType.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/ObjectType.java index 86b8857dd789761f9e9d08243a5c148a20165b7d..bba70716c359fbaa26410e7a534bc33278dcedf4 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/ObjectType.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/ObjectType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.type; import com.inspur.edp.web.approvalformat.api.entity.schema.Field; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/StringType.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/StringType.java index 2b85c5076ad658679766ae26289462bb589fe780..da96a3a81ebc64e94d0d3e78d1fe3ac739935f76 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/StringType.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/StringType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.type; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/TextType.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/TextType.java index 3b1a77ff386e79c9bba49f679d97de195bb9c32c..46a6fc8c9fd4454a8b1b6ce7ca5f31026f1e6795 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/TextType.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/entity/schema/type/TextType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.entity.schema.type; import lombok.Data; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/rpcservice/IApprovalFormatRpcService.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/rpcservice/IApprovalFormatRpcService.java index cfa71e8e841ecd947430e1ae189e1e9e991306f8..79a8cc13c067832dcacf05be689179ef4707627b 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/rpcservice/IApprovalFormatRpcService.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/rpcservice/IApprovalFormatRpcService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.rpcservice; import com.inspur.edp.cef.entity.entity.IEntityData; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/ApprovalFormMetadataService.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/ApprovalFormMetadataService.java index e212c09922be635affde0ac3166dbc968f510e76..b2c70548ccf4ceff59f8bc74c3a921da2d1a27e2 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/ApprovalFormMetadataService.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/ApprovalFormMetadataService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.service; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/ApprovalFormatService.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/ApprovalFormatService.java index 937de23f0005b460ee33e533048b04ce96995468..f07804c57a63c256df1a8b4a5288758152a90311 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/ApprovalFormatService.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/ApprovalFormatService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.service; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/BusinessEntityService.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/BusinessEntityService.java index e5424408b61f53939d3c870e605d261e447416f7..c32077fba4db51a47493c134f857eb053671d600 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/BusinessEntityService.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/BusinessEntityService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.service; import com.inspur.edp.bef.bizentity.GspBusinessEntity; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/DimensionService.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/DimensionService.java index 041b05d387ae7fe4f0422608c3d47c7c8ce10d77..28df559a160ca1526bf145ebceb615f6a8d7016c 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/DimensionService.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/DimensionService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.service; import com.inspur.edp.bcc.billcategory.entity.dimension.BillCategoryDimension; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/IRuntimeMetadataService.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/IRuntimeMetadataService.java index 24692986840e8131ff79894d53f2993964aa04a1..4c89e9fe9d495506b8f37330238dd42f36465a5d 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/IRuntimeMetadataService.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/service/IRuntimeMetadataService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.service; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/ApprovalFormMetadataWebService.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/ApprovalFormMetadataWebService.java index df691039438f8a12e365342758bc87b6fb27e5ea..f8433e1c56f29caf637c14c24237333bf12fbd55 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/ApprovalFormMetadataWebService.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/ApprovalFormMetadataWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.webservice; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/ApprovalFormatWebService.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/ApprovalFormatWebService.java index 49501767a40e03faeee48141bf792a8c2a8d1860..3a48efa77a64fd3f1199449baf8e0d188c5dac0c 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/ApprovalFormatWebService.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/ApprovalFormatWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.webservice; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/BusinessEntityWebService.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/BusinessEntityWebService.java index 339ded107e9ddfddc1f81b34f8b1988a14a8f669..ed530cbe4c90962a07a467482c86bb6eb3881167 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/BusinessEntityWebService.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/BusinessEntityWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.webservice; import com.inspur.edp.bef.bizentity.GspBusinessEntity; diff --git a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/DimensionWebService.java b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/DimensionWebService.java index 7a825cc06274efc2450b20b2c2526069b2476a93..0b1616123e5cf070067a231b5f5f69f9d62d501e 100644 --- a/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/DimensionWebService.java +++ b/web-approval-format-api/src/main/java/com/inspur/edp/web/approvalformat/api/webservice/DimensionWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.api.webservice; import com.inspur.edp.bcc.billcategory.entity.dimension.BillCategoryDimension; diff --git a/web-approval-format-core/pom.xml b/web-approval-format-core/pom.xml index 7d2e1a732340b87c7aceb23414e892facb6451fc..699389ec833fd5a70b2f989894cd5d4697334030 100644 --- a/web-approval-format-core/pom.xml +++ b/web-approval-format-core/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/config/ApprovalFormatConfiguration.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/config/ApprovalFormatConfiguration.java index 31cb7a5ea8d14694a8eb4757f2ca2cdd1e92c03e..0e6efc2d370ded9da5d1292c5e07c35677d7567f 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/config/ApprovalFormatConfiguration.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/config/ApprovalFormatConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.config; import com.inspur.edp.web.approvalformat.api.rpcservice.IApprovalFormatRpcService; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/converter/ApprovalFormatConverter.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/converter/ApprovalFormatConverter.java index e1dea3a7724c63efdf9259ae0775e926eeeacd32..b23a7b7e7c9ee520955bc08d159c62dbe0bfbd1d 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/converter/ApprovalFormatConverter.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/converter/ApprovalFormatConverter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.domain.converter; import com.inspur.edp.web.approvalformat.api.entity.ApprovalFormat; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/entity/ApprovalFormatDO.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/entity/ApprovalFormatDO.java index 08ef12edd85eb3a797f19ff2a065fbe4626167c6..906c94b3cacd38cff4fdd9c5bd2189c649c664ae 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/entity/ApprovalFormatDO.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/entity/ApprovalFormatDO.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.domain.entity; import lombok.Data; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/manager/ApprovalFormatManager.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/manager/ApprovalFormatManager.java index 74e64b622f565221162557311efe27f45980a9a2..5e2b6c8a7156d27083a4fdcc949587526bef623f 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/manager/ApprovalFormatManager.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/manager/ApprovalFormatManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.domain.manager; import com.inspur.edp.web.approvalformat.api.entity.ApprovalFormat; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/repository/ApprovalFormatRepository.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/repository/ApprovalFormatRepository.java index 34b51bce48355b8de29c24e4e001138c90d02ab4..5fc0f9238f18cf25f141a9b6b87f8f513f45e49c 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/repository/ApprovalFormatRepository.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/domain/repository/ApprovalFormatRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.domain.repository; import com.inspur.edp.web.approvalformat.core.domain.entity.ApprovalFormatDO; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/rpcservice/ApprovalFormatRpcServiceImpl.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/rpcservice/ApprovalFormatRpcServiceImpl.java index 39232368b92b9ef6a40df616760c5d479510a99e..49d1e0aeba79855e8d29437289c27a03cd0efa5e 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/rpcservice/ApprovalFormatRpcServiceImpl.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/rpcservice/ApprovalFormatRpcServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.rpcservice; import com.inspur.edp.bef.api.lcp.ILcpFactory; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/ApprovalFormMetadataServiceImpl.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/ApprovalFormMetadataServiceImpl.java index 14831bec7c9b8746d5c3c10e4d0f98eb313db3d8..5b5a10df3b962389a78230da24ea4962ffc5314e 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/ApprovalFormMetadataServiceImpl.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/ApprovalFormMetadataServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.service; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/ApprovalFormatServiceImpl.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/ApprovalFormatServiceImpl.java index d005d5be928d8734b70eba70204c578338f53bd2..aaa5ab977f990b4fe8b35b9e586cd26cd810a56d 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/ApprovalFormatServiceImpl.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/ApprovalFormatServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.service; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/BusinessEntityServiceImpl.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/BusinessEntityServiceImpl.java index 4886539405c33353268c605cf7ab6a9c5df521d6..ceb064e6846ef5864d180f12547e3fd9cfa9cca5 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/BusinessEntityServiceImpl.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/BusinessEntityServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.service; import com.inspur.edp.bef.bizentity.GspBusinessEntity; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/DimensionServiceImpl.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/DimensionServiceImpl.java index d72ccc42e65cecf2ed0078d2a598bd16d704dbc2..cb2864f550fb966105f220db257605f25217ff77 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/DimensionServiceImpl.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/DimensionServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.service; import com.inspur.edp.bcc.billcategory.api.BillCategoryService; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/RuntimeMetadataServiceImpl.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/RuntimeMetadataServiceImpl.java index 012da83692cdfaf03a501ea97235c004bfb1db9c..8d17f4a8dfcbbc8d51b39d098dc38cc4c48d8672 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/RuntimeMetadataServiceImpl.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/service/RuntimeMetadataServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.service; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormSchemaUtil.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormSchemaUtil.java index b2f08698e449a68198ebe118d94e3807ef1c8261..1decc62f44418279a986b457052029d9b0a0204b 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormSchemaUtil.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormSchemaUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.util; import com.inspur.edp.cef.designtime.api.IGspCommonField; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormUtil.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormUtil.java index dc826c4caad4acd95c504bd5100a11891e852802..c0dda73b0d2b67692583b946cccd5368a4583aa5 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormUtil.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.util; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormatPermission.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormatPermission.java index 48892fb8080b644eb4dfdae66f3d95a9333da8d3..11d3170b31d08704a8d306f5f6e931828ff57a35 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormatPermission.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormatPermission.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.util; import io.iec.edp.caf.commons.utils.SpringBeanUtils; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormatTreeUtil.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormatTreeUtil.java index 47cdc5575d4fd59dc23d1f9e17b937176954f782..93f1dacbe92cb9562723a4dbffc5b969762b7274 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormatTreeUtil.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormatTreeUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.util; import com.inspur.edp.lcm.metadata.api.entity.MetadataHeader; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormatUtil.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormatUtil.java index 6f282689ef5ed3866b2f6d8eb143e6082c18a972..2e8797412e379f9884b54eebf09f053600cc103c 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormatUtil.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApprovalFormatUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.util; import com.fasterxml.jackson.databind.node.ObjectNode; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApproveFormatPreviewUtil.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApproveFormatPreviewUtil.java index b42bf90fca94d70f9cb51209f443da70a3d62170..370584a110f00aac8ef17cb770ef38df30bc11d8 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApproveFormatPreviewUtil.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/ApproveFormatPreviewUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.util; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/FieldUtil.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/FieldUtil.java index 1ed43494c6654094da5d64450027c034ee24f8a3..d69e70bd72a5c6dbcbcd95577e3ae3a5d593cd10 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/FieldUtil.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/FieldUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.util; import com.inspur.edp.cef.designtime.api.IGspCommonField; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/HelpProviderUtil.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/HelpProviderUtil.java index 6ee1956bba014737328370687c795c6a09b78ff4..a6bb87cb5f52e35e8119a56db6f22276a8fcf3f4 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/HelpProviderUtil.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/HelpProviderUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.util; import com.inspur.edp.web.approvalformat.api.entity.HelpMetadataSimpleContent; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/TypeBuildingContext.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/TypeBuildingContext.java index dcbe37f17be28f287c1773330c68cacc9ef470f2..0565db3132dd65f3bf2a677c5774fbdc332bd215 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/TypeBuildingContext.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/util/TypeBuildingContext.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.util; import com.inspur.edp.cef.designtime.api.IGspCommonField; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/ApprovalFormMetadataWebServiceImpl.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/ApprovalFormMetadataWebServiceImpl.java index a263589f999bd7e5f6364e505310587ce7f62243..b8c5a4e4850b8754a1a0705e36e20c35a5706201 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/ApprovalFormMetadataWebServiceImpl.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/ApprovalFormMetadataWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.webservice; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/ApprovalFormatWebServiceImpl.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/ApprovalFormatWebServiceImpl.java index 65e3b062e2bd9d7e677d090547e0f19bc885b3bc..e3eb40e92c5d7658b98087e076549905e7598bd4 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/ApprovalFormatWebServiceImpl.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/ApprovalFormatWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.webservice; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/BusinessEntityWebServiceImpl.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/BusinessEntityWebServiceImpl.java index 27d2cd8d13b92fb95cf54ef669bdd6e863fb147e..a6f8177d7fb1f8818308250930067d8e852cb04f 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/BusinessEntityWebServiceImpl.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/BusinessEntityWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.webservice; import com.inspur.edp.bef.bizentity.GspBusinessEntity; diff --git a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/DimensionWebServiceImpl.java b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/DimensionWebServiceImpl.java index afcb6e4c70b09078f1c40e549ee3e272d06411f1..9a6856de1037892be76fec32705672fcfa56e1d3 100644 --- a/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/DimensionWebServiceImpl.java +++ b/web-approval-format-core/src/main/java/com/inspur/edp/web/approvalformat/core/webservice/DimensionWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.approvalformat.core.webservice; import com.inspur.edp.bcc.billcategory.entity.dimension.BillCategoryDimension; diff --git a/web-approval-format-rpc/pom.xml b/web-approval-format-rpc/pom.xml index 3faf14a49ba196d04833ca3f966c97293a779fcf..a2a35c4f4e44cdf98c14c4e9a38f8dac90988319 100644 --- a/web-approval-format-rpc/pom.xml +++ b/web-approval-format-rpc/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-common/pom.xml b/web-common/pom.xml index bf41dfa6add3f7d057dc4cc055feeee73c81bcb3..6651ad179a1c7ed09cdacd8aae8e326b2abfdcb1 100644 --- a/web-common/pom.xml +++ b/web-common/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-common/src/main/java/com/inspur/edp/web/common/GSPException.java b/web-common/src/main/java/com/inspur/edp/web/common/GSPException.java index d5eee595c568986acc0b24996b2aefa0177aa534..f30e1798c5489e3eea0bff8350f00a7adb8098ea 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/GSPException.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/GSPException.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common; import io.iec.edp.caf.commons.exception.CAFRuntimeException; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/GspProjectUtil.java b/web-common/src/main/java/com/inspur/edp/web/common/GspProjectUtil.java index 02077ad32e7adb9b905e08892318890c493c1861..68bb14e628adec9a1f345b1f186ae3f62ed5e8a8 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/GspProjectUtil.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/GspProjectUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common; import com.inspur.edp.lcm.metadata.api.entity.GspProject; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/JITEngineConstants.java b/web-common/src/main/java/com/inspur/edp/web/common/JITEngineConstants.java index 0eebb57ab45541b21430c6246c097571bc43e318..ab09718847e12a092a04dfb005d06e5512a97091 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/JITEngineConstants.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/JITEngineConstants.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common; /** diff --git a/web-common/src/main/java/com/inspur/edp/web/common/constant/FrontendProjectConstant.java b/web-common/src/main/java/com/inspur/edp/web/common/constant/FrontendProjectConstant.java index f4ed68942b1a5f199af5be9e7974350a938dbafb..dadbaf78a9057d9f1bb24f5916b08231c6540ec5 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/constant/FrontendProjectConstant.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/constant/FrontendProjectConstant.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.constant; /** diff --git a/web-common/src/main/java/com/inspur/edp/web/common/converter/WebEntityConverter.java b/web-common/src/main/java/com/inspur/edp/web/common/converter/WebEntityConverter.java index 643ba7fcae81a329a4dc0420874f832ec67bf428..6adff902ea1778d5110f3b796dc9f17aff530e9f 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/converter/WebEntityConverter.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/converter/WebEntityConverter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.converter; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/core/EnumValueParsable.java b/web-common/src/main/java/com/inspur/edp/web/common/core/EnumValueParsable.java index 3149dd971a7bb209db2549195c7c5db3d3d74726..82f257226f2ea24193ebc82416eb0588f2b2efd6 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/core/EnumValueParsable.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/core/EnumValueParsable.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.core; import java.text.MessageFormat; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/encrypt/EncryptConstant.java b/web-common/src/main/java/com/inspur/edp/web/common/encrypt/EncryptConstant.java index 06708e29b976afcc6d258c33fe1b03a1f2e47189..725d17fea8debe0f30ccbbbd1cbf91251fd2c2f8 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/encrypt/EncryptConstant.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/encrypt/EncryptConstant.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.encrypt; /** diff --git a/web-common/src/main/java/com/inspur/edp/web/common/encrypt/EncryptUtility.java b/web-common/src/main/java/com/inspur/edp/web/common/encrypt/EncryptUtility.java index 80e4bb1b1a124d87394a94a12a3c2ec6a21c336c..3a2a12a4565392a620a70a32ace732cabbff7433 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/encrypt/EncryptUtility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/encrypt/EncryptUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.encrypt; import com.inspur.edp.web.common.logger.WebLogger; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/entity/NodeJsCommandEnum.java b/web-common/src/main/java/com/inspur/edp/web/common/entity/NodeJsCommandEnum.java index f02244dd81a11629355c2dc4ed19edc10d7a5fbc..6651f00f6593f7de04811c34c1a92b346e9c8db2 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/entity/NodeJsCommandEnum.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/entity/NodeJsCommandEnum.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.entity; /** diff --git a/web-common/src/main/java/com/inspur/edp/web/common/entity/ResultCode.java b/web-common/src/main/java/com/inspur/edp/web/common/entity/ResultCode.java index ac3b9f9913b7c78e3b022f80913cba36c00832c5..84f2809e05626fc4aebfcc81859b1bf3b744d491 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/entity/ResultCode.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/entity/ResultCode.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.entity; /** diff --git a/web-common/src/main/java/com/inspur/edp/web/common/entity/ResultMessage.java b/web-common/src/main/java/com/inspur/edp/web/common/entity/ResultMessage.java index 5b1b9e792ba56fe29a829b140bc359fed426d801..9268e60c604a0f71b2c27556f65c6fc0af8f496f 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/entity/ResultMessage.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/entity/ResultMessage.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.entity; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/entity/ResultMessageData.java b/web-common/src/main/java/com/inspur/edp/web/common/entity/ResultMessageData.java index 3304192a0b144385fd16f72685530c2ca8cfd91c..b87ee0d5f7967f796a3e3c8bd3f37275f59dee06 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/entity/ResultMessageData.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/entity/ResultMessageData.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.entity; import java.io.Serializable; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/entity/TerminalType.java b/web-common/src/main/java/com/inspur/edp/web/common/entity/TerminalType.java index fef0af57b332e3c93d304d8322b9122887b868f5..279d08d1941bbdeaa298abdb5aff982e202857f3 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/entity/TerminalType.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/entity/TerminalType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.entity; import com.inspur.edp.web.common.constant.FrontendProjectConstant; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/environment/EnvironmentException.java b/web-common/src/main/java/com/inspur/edp/web/common/environment/EnvironmentException.java index d7d85e676175011dc3f832dd76182b82d5b8650d..438ab709934740c8331f61d40e3bfa76696f2463 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/environment/EnvironmentException.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/environment/EnvironmentException.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.environment; import io.iec.edp.caf.commons.exception.ExceptionLevel; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/environment/ExecuteEnvironment.java b/web-common/src/main/java/com/inspur/edp/web/common/environment/ExecuteEnvironment.java index bebfcb95454aa4a49931414f9dc180f2029f2839..c8cced940366eda7ef65c4a7ca6d47f7b6b7a49c 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/environment/ExecuteEnvironment.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/environment/ExecuteEnvironment.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.environment; /** diff --git a/web-common/src/main/java/com/inspur/edp/web/common/environment/checker/ExecuteEnvironmentCheckResult.java b/web-common/src/main/java/com/inspur/edp/web/common/environment/checker/ExecuteEnvironmentCheckResult.java index fca9dbd1d669f5e16c175ddade4d79f259463679..fae4ed460449472e6c704ce8986f8aa11d35e438 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/environment/checker/ExecuteEnvironmentCheckResult.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/environment/checker/ExecuteEnvironmentCheckResult.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.environment.checker; /** diff --git a/web-common/src/main/java/com/inspur/edp/web/common/environment/checker/ExecuteEnvironmentChecker.java b/web-common/src/main/java/com/inspur/edp/web/common/environment/checker/ExecuteEnvironmentChecker.java index 5fe3211c529cae67fd54ec7ebaa956dd854b74ee..385aba19473d782fb7b27259fc948f31dbaad736 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/environment/checker/ExecuteEnvironmentChecker.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/environment/checker/ExecuteEnvironmentChecker.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.environment.checker; import com.inspur.edp.web.common.environment.EnvironmentException; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/io/FileUtility.java b/web-common/src/main/java/com/inspur/edp/web/common/io/FileUtility.java index 6320f2bdee323a9b166128f72d072788a11e81ae..3aaed1f8b5d7455d5bf55d287b2c0160024725e0 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/io/FileUtility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/io/FileUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.io; import com.inspur.edp.web.common.logger.WebLogger; @@ -472,6 +488,28 @@ public class FileUtility { return file.isAbsolute(); } + /** + * 获取对应的文件名称 + * 如果传递的路径末尾不是文件名称,那么使用最末尾的字符内容 + * + * @param file + * @return + */ + public static String getFileName(File file) { + return file.getName(); + } + + /** + * 获取对应文件路径的文件名称参数 + * + * @param filePath + * @return + */ + public static String getFileName(String filePath) { + return getFileName(new File(filePath)); + } + + /** * 路径转换,获取平台无关的路径 * diff --git a/web-common/src/main/java/com/inspur/edp/web/common/io/NodeJsCommandResult.java b/web-common/src/main/java/com/inspur/edp/web/common/io/NodeJsCommandResult.java index 80b3b3644be5b9f772b7b9b56e10a779990f7efb..42baa764e4d99b932328945184cb7c6725673f96 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/io/NodeJsCommandResult.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/io/NodeJsCommandResult.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.io; import lombok.Data; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/io/NodejsFunctionUtility.java b/web-common/src/main/java/com/inspur/edp/web/common/io/NodejsFunctionUtility.java index e40f7efcd43afa3e9fb3db6240693c176b302cc4..2df73c989433d7e4adc61536182c5d80c746c06d 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/io/NodejsFunctionUtility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/io/NodejsFunctionUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.io; import com.inspur.edp.web.common.JITEngineConstants; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/logger/WebLogger.java b/web-common/src/main/java/com/inspur/edp/web/common/logger/WebLogger.java index a082c1ee28e34e34ed1d7c05acc1593e43d5b642..569833a4222e5b88e9eae26004690de83549357b 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/logger/WebLogger.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/logger/WebLogger.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.logger; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/metadata/MetadataGetterParameter.java b/web-common/src/main/java/com/inspur/edp/web/common/metadata/MetadataGetterParameter.java new file mode 100644 index 0000000000000000000000000000000000000000..fe189ed5832a920b930830d4ed543488380d784c --- /dev/null +++ b/web-common/src/main/java/com/inspur/edp/web/common/metadata/MetadataGetterParameter.java @@ -0,0 +1,137 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.metadata; + +import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; +import lombok.Data; +import lombok.Getter; +import lombok.Setter; + +public class MetadataGetterParameter { + private MetadataGetterParameter(String targetMetadataId, String spacePath) { + this.targetMetadataId = targetMetadataId; + this.targetMetadataSpacePath = spacePath; + } + + + /** + * 构造对应的参数实例 + * + * @param targetMetadataId + * @param spacePath + * @return + */ + public static MetadataGetterParameter getNewInstance(String targetMetadataId, String spacePath) { + return new MetadataGetterParameter(targetMetadataId, spacePath); + } + + /** + * 引用目标元数据的元数据id + */ + @Getter + @Setter + private String sourceMetadataId; + + /** + * 引用目标元数据的元数据code + */ + @Getter + @Setter + private String sourceMetadataCode; + + /** + * 源数据 元数据类型 + */ + @Getter + @Setter + private MetadataTypeEnum sourceMetadataType = MetadataTypeEnum.Frm; + + /** + * 引用目标元数据的元数据path + */ + @Getter + @Setter + private String sourceMetadataPath; + + /** + * 源metadata nameSpace + */ + @Getter + @Setter + private String sourceMetadataNameSpace; + + /** + * 目标元数据的元数据uri + */ + @Getter + private String targetMetadataId; + + /** + * 目标元数据 类型 + */ + @Getter + @Setter + private MetadataTypeEnum targetMetadataType; + + /** + * 目标元数据的 path + */ + @Getter + private String targetMetadataSpacePath; + + /** + * 元数据找不到自定义异常提示 应对的是sourceMetadataCode + */ + @Getter + @Setter + private String targetMetadataNotFoundMessage; + + /** + * 仅包含目标元数据的id + * + * @return + */ + public WebMetadataUri getTargetMetadataUri() { + return new WebMetadataUri(this.getTargetMetadataId()); + } + + /** + * 构造source MetadataUri参数 + * + * @return + */ + public WebMetadataUri getSourceMetadataUri() { + if (this.getSourceMetadataType() == null) { + this.setSourceMetadataType(MetadataTypeEnum.Frm); + } + return new WebMetadataUri(this.getSourceMetadataId(), this.getSourceMetadataCode(), this.getSourceMetadataType().getCode(), this.getSourceMetadataNameSpace()); + } + + /** + * 通过设置sourceMetadata 进行参数整体赋值 + * + * @param gspMetadata + * @param sourceMetadataType + */ + public void setSourceMetadata(GspMetadata gspMetadata, MetadataTypeEnum sourceMetadataType) { + this.sourceMetadataId = gspMetadata.getHeader().getId(); + this.sourceMetadataPath = gspMetadata.getRelativePath(); + this.sourceMetadataNameSpace = gspMetadata.getHeader().getNameSpace(); + this.sourceMetadataCode = gspMetadata.getHeader().getCode(); + this.sourceMetadataType = sourceMetadataType; + } +} diff --git a/web-common/src/main/java/com/inspur/edp/web/common/metadata/MetadataTypeEnum.java b/web-common/src/main/java/com/inspur/edp/web/common/metadata/MetadataTypeEnum.java new file mode 100644 index 0000000000000000000000000000000000000000..77f1b3bdc549d6ba9a6277ec2dd4556a87388986 --- /dev/null +++ b/web-common/src/main/java/com/inspur/edp/web/common/metadata/MetadataTypeEnum.java @@ -0,0 +1,103 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.metadata; + +/** + * 定义元数据类型枚举参数 + * + * @author guozhiqi + */ +public enum MetadataTypeEnum { + /** + * 表单元数据 + */ + Frm { + @Override + public String getCode() { + return "Form"; + } + }, + /** + * eapi 元数据 + */ + Eapi { + @Override + public String getCode() { + return "Eapi"; + } + }, + /** + * 资源元数据 + */ + Resource { + @Override + public String getCode() { + return "Resource"; + } + }, + /** + * 状态机元数据 + */ + StateMachine { + @Override + public String getCode() { + return "StateMachine"; + } + }, + /** + * 命令元数据 + */ + Command { + @Override + public String getCode() { + return "Command"; + } + }, + /** + * 页面流 + */ + Route { + @Override + public String getCode() { + return "PageFlow"; + } + }, + Component { + @Override + public String getCode() { + return "Component"; + } + }, + ViewModel { + @Override + public String getCode() { + return "ViewModel"; + } + }; + + /** + * 获取对应元数据的code + * + * @return + */ + public abstract String getCode(); + + @Override + public String toString() { + return this.getCode(); + } +} diff --git a/web-common/src/main/java/com/inspur/edp/web/common/metadata/MetadataUtility.java b/web-common/src/main/java/com/inspur/edp/web/common/metadata/MetadataUtility.java index e9f873dfdc0488c53c89fd3108c12e324b754116..f2ce5692abe789e0958c62c5b77aa20f5167ee4e 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/metadata/MetadataUtility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/metadata/MetadataUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.metadata; @@ -136,10 +152,6 @@ public final class MetadataUtility { return this.getMetadataService().loadMetadata(metadataFileName, metadataPath); } - public GspMetadata getMetadataWithIdAndPath(String metadataId, String spacePath) { - return this.getMetadataService().getRefMetadata(spacePath, metadataId); - } - /** * 判断指定路径 指定文件名称元数据是否存在 * @@ -185,12 +197,25 @@ public final class MetadataUtility { if (executeEnvironment.equals(ExecuteEnvironment.Design)) { // 设计时元数据获取 - return this.getRefCommonService().getRefMetadata(new MetadataURI(metadataId), null, null); + return this.getMetadataInDesign(new MetadataURI(metadataId), null, null); } else { return this.getCustomizationService().getMetadata(metadataId); } } + + /** + * @param metadataGetterParameter + * @return + */ + public GspMetadata getMetadataInDesign(MetadataGetterParameter metadataGetterParameter) { + return this.getMetadataInDesign(metadataGetterParameter.getTargetMetadataUri(), metadataGetterParameter.getSourceMetadataUri(), metadataGetterParameter.getTargetMetadataSpacePath()); + } + + public GspMetadata getMetadataInDesign(MetadataURI targetMetadataUri, MetadataURI sourceMetadataUri, String projectPath) { + return this.getRefCommonService().getRefMetadata(targetMetadataUri, sourceMetadataUri, projectPath); + } + /** * 运行时获取元数据接口方法 * 作为公共方法 会在别处进行使用 定义后不允许更改 @@ -203,16 +228,25 @@ public final class MetadataUtility { } - public void createMetadata(GspMetadata metadata) { + /** + * 创建表单元数据 如果已经存在 不进行创建,否则进行元数据的创建 + * + * @param metadata 待保存元数据 + */ + public void createMetadataIfNotExists(GspMetadata metadata) { MetadataService metadataService = SpringBeanUtils.getBean(MetadataService.class); - metadataService.createMetadata(metadata.getRelativePath(), metadata); + // 元数据文件不存在时进行创建 + if (!metadataService.isMetadataExist(metadata.getRelativePath(), metadata.getHeader().getFileName())) { + metadataService.createMetadata(metadata.getRelativePath(), metadata); + } } /** * 删除对应的元数据物理文件 - * @param metadataPath 元数据所属路径 - * @param metadataFileName 元数据对应的文件名称 + * + * @param metadataPath 元数据所属路径 + * @param metadataFileName 元数据对应的文件名称 */ public void deleteMetadataInDisk(String metadataPath, String metadataFileName) { if (StringUtility.isNullOrEmpty(metadataFileName)) { @@ -320,6 +354,12 @@ public final class MetadataUtility { return currentProject.getMetadataProjectName().toLowerCase(); } + /** + * 元数据保存 如果元数据已经存在,则先进行删除旧的元数据文件 + * + * @param metadata + * @param deleteIfExists + */ public void saveMetadata(GspMetadata metadata) { MetadataService metadataService = SpringBeanUtils.getBean(MetadataService.class); metadataService.saveMetadata(metadata, Paths.get(metadata.getRelativePath()).resolve(metadata.getHeader().getFileName()).toString()); @@ -355,7 +395,8 @@ public final class MetadataUtility { return componentMetadataCollection; } - private void getReferenceWebComponentMetadata(GspMetadata commandMetadata, HashMap cmpList, List items, HashMap componentCacheList, AfterGetReferenceWebComponentMetadata afterGetReferenceWebComponentMetadata, Object... parameterArray) { + private void getReferenceWebComponentMetadata(GspMetadata commandMetadata, HashMap cmpList, List items, + HashMap componentCacheList, AfterGetReferenceWebComponentMetadata afterGetReferenceWebComponentMetadata, Object... parameterArray) { WebCommandsMetadata commandMetadataContent = null; try { commandMetadataContent = (WebCommandsMetadata) commandMetadata.getContent(); @@ -381,7 +422,8 @@ public final class MetadataUtility { } - private void getReferenceWebComponentCommandItemList(GspMetadata commandMetadata, List commandItemList, HashMap componentMetadataCollection, HashMap componentCacheList, AfterGetReferenceWebComponentMetadata afterGetReferenceWebComponentMetadata, Object... parameterArray) { + private void getReferenceWebComponentCommandItemList(GspMetadata commandMetadata, List commandItemList, HashMap componentMetadataCollection, + HashMap componentCacheList, AfterGetReferenceWebComponentMetadata afterGetReferenceWebComponentMetadata, Object... parameterArray) { if (commandItemList == null || commandItemList.size() == 0) { return; } @@ -390,7 +432,15 @@ public final class MetadataUtility { switch (item.getItemType()) { case MethodRefer: CmpMethodRefering methodReferingItem = (CmpMethodRefering) item; - GspMetadata webComponentMetadata = getMetadataWithIdAndPath(methodReferingItem.getComponentId(), commandMetadata.getRelativePath()); + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(methodReferingItem.getComponentId(), commandMetadata.getRelativePath()); + metadataGetterParameter.setSourceMetadataId(commandMetadata.getHeader().getId()); + metadataGetterParameter.setSourceMetadataType(MetadataTypeEnum.Command); + metadataGetterParameter.setSourceMetadataCode(commandMetadata.getHeader().getCode()); + metadataGetterParameter.setSourceMetadataPath(commandMetadata.getRelativePath()); + metadataGetterParameter.setSourceMetadataNameSpace(commandMetadata.getHeader().getNameSpace()); + metadataGetterParameter.setTargetMetadataType(MetadataTypeEnum.Component); + + GspMetadata webComponentMetadata = getMetadataInDesign(metadataGetterParameter); if (!componentMetadataCollection.containsKey(methodReferingItem.getComponentId())) { if (componentCacheList != null && componentCacheList.containsKey(methodReferingItem.getComponentId())) { @@ -423,25 +473,6 @@ public final class MetadataUtility { } } - public String getTypeScriptFileName(GspMetadata weComponentMetadata) { - // 最理想的方式:路径来自webcmp构件路径,名称来自path(即元数据的Source属性) - // 先用webcmp的文件名构造,后续可以考虑调整 - - String path = weComponentMetadata.getRelativePath(); - String cmpFileName = weComponentMetadata.getHeader().getFileName(); - // 后缀为.webcmp - int suffixIndex = cmpFileName.lastIndexOf(".webcmp"); - String fileName; - if (suffixIndex > 0 && suffixIndex + 7 == cmpFileName.length()) { - fileName = cmpFileName.substring(0, suffixIndex); - } else if (cmpFileName.contains(weComponentMetadata.getHeader().getCode())) { - fileName = cmpFileName; - } else { - throw new RuntimeException("获取ts文件名出错,web构件上获取的文件名不对。"); - } - return String.format("%1$s/%2$s.ts", path, fileName); - } - /** * 获取开发期的根路径 * diff --git a/web-common/src/main/java/com/inspur/edp/web/common/metadata/WebMetadataUri.java b/web-common/src/main/java/com/inspur/edp/web/common/metadata/WebMetadataUri.java new file mode 100644 index 0000000000000000000000000000000000000000..39948345a95b8f90be3491c51c81cc5904ac8b44 --- /dev/null +++ b/web-common/src/main/java/com/inspur/edp/web/common/metadata/WebMetadataUri.java @@ -0,0 +1,54 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.metadata; + +import com.inspur.edp.lcm.metadata.api.entity.uri.MetadataURI; +import com.inspur.edp.web.common.utility.StringUtility; +import lombok.Data; + +/** + * 继承 MetadataUri 主要目的是重写其中的输出方法 + * + * @author guozhiqi + */ +@Data +public class WebMetadataUri extends MetadataURI { + /** + * 元数据找不到自定义异常 使用此 覆盖父类 + */ + private String customMetadataNotFoundMessage; + + public WebMetadataUri() { + super(); + } + + public WebMetadataUri(String id) { + super(id); + } + + public WebMetadataUri(String id, String code, String type, String nameSpace) { + super(id, code, type, nameSpace); + } + + @Override + public String getURIDesc() { + if (!StringUtility.isNullOrEmpty(this.getCustomMetadataNotFoundMessage())) { + return this.getCustomMetadataNotFoundMessage(); + } + return super.getURIDesc(); + } +} diff --git a/web-common/src/main/java/com/inspur/edp/web/common/serialize/MyPropertyNamingStrategy.java b/web-common/src/main/java/com/inspur/edp/web/common/serialize/MyPropertyNamingStrategy.java index 7e44459b2200850c9799e484fda2cc65499f915d..37b81df2e1755cceb3b73ef302d63cc2d932ba4f 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/serialize/MyPropertyNamingStrategy.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/serialize/MyPropertyNamingStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.serialize; import com.fasterxml.jackson.databind.cfg.MapperConfig; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/serialize/SerializeUtility.java b/web-common/src/main/java/com/inspur/edp/web/common/serialize/SerializeUtility.java index ff616e18dd1737fd4c918e7e999ab2f3cfdc4021..38099df64d9da8874f91a8e18753dbf482d01a9c 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/serialize/SerializeUtility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/serialize/SerializeUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.serialize; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/utility/Base64Utility.java b/web-common/src/main/java/com/inspur/edp/web/common/utility/Base64Utility.java index ed261fb6db2e9bf20760779f986028acd12c5c75..3a5adc0bd77bb2eebb20d0437bf380b85cddeef9 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/utility/Base64Utility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/utility/Base64Utility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.utility; import java.io.UnsupportedEncodingException; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/utility/CommandExecuteInterceptor.java b/web-common/src/main/java/com/inspur/edp/web/common/utility/CommandExecuteInterceptor.java index 028c4ca874f0b13f1befdaf18268cc7c5e8cafc7..2c1e3ffe0b13681df32f0465bb6692c7cd284b2e 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/utility/CommandExecuteInterceptor.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/utility/CommandExecuteInterceptor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.utility; import com.inspur.edp.web.common.logger.WebLogger; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/utility/CommandExecuteResult.java b/web-common/src/main/java/com/inspur/edp/web/common/utility/CommandExecuteResult.java index a279b03c175c0f01ded539f96bad0bc012e7242b..e85e53c1f2a27a5353094a07a2e3a296179caf9e 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/utility/CommandExecuteResult.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/utility/CommandExecuteResult.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.utility; /** diff --git a/web-common/src/main/java/com/inspur/edp/web/common/utility/CommandLineUtility.java b/web-common/src/main/java/com/inspur/edp/web/common/utility/CommandLineUtility.java index 2e607faaace7441bbf646ec138a12944557786d0..5b92932ddfed450dc7e1d7056f0cd2488bd15dd1 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/utility/CommandLineUtility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/utility/CommandLineUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.utility; import com.inspur.edp.web.common.logger.WebLogger; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/utility/CommonUtility.java b/web-common/src/main/java/com/inspur/edp/web/common/utility/CommonUtility.java index 0f80a68b717e459793fbf9927778921a05367811..681ec70363cc8c32a645b8d7bf74db8253b8c1c1 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/utility/CommonUtility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/utility/CommonUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.utility; import java.lang.management.ManagementFactory; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/utility/EqualsUtility.java b/web-common/src/main/java/com/inspur/edp/web/common/utility/EqualsUtility.java index c91940df4d92d9881cdb262c6820de3034827490..4753a5abb81754f41bfdd01d99d795a49f2702f8 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/utility/EqualsUtility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/utility/EqualsUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.utility; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/utility/ListUtility.java b/web-common/src/main/java/com/inspur/edp/web/common/utility/ListUtility.java index 6c30bf125d657d6ca0e62309490f2feb93fb85f3..17366d210c1367bf58a0185b1c85f13045611a41 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/utility/ListUtility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/utility/ListUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.utility; import java.util.List; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/utility/LoggerLevelEnum.java b/web-common/src/main/java/com/inspur/edp/web/common/utility/LoggerLevelEnum.java index 1ad135b291bd55ccfd3e6316687ffe2592d53160..00671a4bbabb841095cac8f8373b5426670c9840 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/utility/LoggerLevelEnum.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/utility/LoggerLevelEnum.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.utility; /** diff --git a/web-common/src/main/java/com/inspur/edp/web/common/utility/LoggerUtility.java b/web-common/src/main/java/com/inspur/edp/web/common/utility/LoggerUtility.java index 8895e0b336c5e2d7b3a07fc8de1f4ffb9c32e646..0a241048d5f33646e5fb98dc7d348a9779f96193 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/utility/LoggerUtility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/utility/LoggerUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.utility; import com.inspur.edp.web.common.logger.WebLogger; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/utility/OperatingSystemUtility.java b/web-common/src/main/java/com/inspur/edp/web/common/utility/OperatingSystemUtility.java index b60040de501487f616ce29a1413038fd35399bda..29e17a2b5de9af182eb00e6288524419030314b0 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/utility/OperatingSystemUtility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/utility/OperatingSystemUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.utility; import org.apache.commons.lang3.SystemUtils; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/utility/RandomUtility.java b/web-common/src/main/java/com/inspur/edp/web/common/utility/RandomUtility.java index c77ec6f743e1c43702a88d489331fbb4284754ab..f8c623e13b7af228a5c0bfb8ad3b5db37b3d5c6c 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/utility/RandomUtility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/utility/RandomUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.utility; import java.util.UUID; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/utility/StringUtility.java b/web-common/src/main/java/com/inspur/edp/web/common/utility/StringUtility.java index 3f81c55bea2c1495a087eb08597eea4d90497b30..85343bcb5c0c72aec9097f6cc640b947fa75d101 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/utility/StringUtility.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/utility/StringUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.utility; import org.apache.commons.lang3.StringUtils; diff --git a/web-common/src/main/java/com/inspur/edp/web/common/utility/WebThreadUncaughtExceptionHandler.java b/web-common/src/main/java/com/inspur/edp/web/common/utility/WebThreadUncaughtExceptionHandler.java index 18ade45b9b917efdd8e6bad35b586262eba90a47..4802da5fa5c0712561f7ff7f00ed9f53e11ed6f3 100644 --- a/web-common/src/main/java/com/inspur/edp/web/common/utility/WebThreadUncaughtExceptionHandler.java +++ b/web-common/src/main/java/com/inspur/edp/web/common/utility/WebThreadUncaughtExceptionHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.common.utility; import com.inspur.edp.web.common.logger.WebLogger; diff --git a/web-designschema-api/pom.xml b/web-designschema-api/pom.xml index a330b6d5e6e58803582380bda17296a798ad7b0c..07158120cd43f88e17058a7f64aac3599830ec76 100644 --- a/web-designschema-api/pom.xml +++ b/web-designschema-api/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-designschema-api/src/main/java/com/inspur/edp/web/designschema/api/entity/DesignSchemaCreateEntity.java b/web-designschema-api/src/main/java/com/inspur/edp/web/designschema/api/entity/DesignSchemaCreateEntity.java index cf97b21d33a44e934515cec31c7e0958598f4b5e..1c753bbd8ab35f01940c9439352752a8b85c7b89 100644 --- a/web-designschema-api/src/main/java/com/inspur/edp/web/designschema/api/entity/DesignSchemaCreateEntity.java +++ b/web-designschema-api/src/main/java/com/inspur/edp/web/designschema/api/entity/DesignSchemaCreateEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.api.entity; /** diff --git a/web-designschema-api/src/main/java/com/inspur/edp/web/designschema/api/webservice/DesignSchemaWebService.java b/web-designschema-api/src/main/java/com/inspur/edp/web/designschema/api/webservice/DesignSchemaWebService.java index 35ff91174194255fd891e4b0499370a26dfcb4d5..88dfc72359240e868985831761578a0cc99a509e 100644 --- a/web-designschema-api/src/main/java/com/inspur/edp/web/designschema/api/webservice/DesignSchemaWebService.java +++ b/web-designschema-api/src/main/java/com/inspur/edp/web/designschema/api/webservice/DesignSchemaWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.api.webservice; import com.alibaba.fastjson.JSONObject; diff --git a/web-designschema/pom.xml b/web-designschema/pom.xml index 32ccdfb138c4587ec149921e57c5dee85131be30..66fb792a202ed066c479f302c0b3f34b45d69e17 100644 --- a/web-designschema/pom.xml +++ b/web-designschema/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/config/DesignSchemaConfiguration.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/config/DesignSchemaConfiguration.java index dc7d934be7d1ad25a759b646905b8f73e0d15f24..381fffbf45f770bd7934acebca8aa3434b298ba2 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/config/DesignSchemaConfiguration.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/config/DesignSchemaConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.config; import com.inspur.edp.web.designschema.webservice.DesignSchemaWebServiceImpl; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/ComplexField.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/ComplexField.java index df53e1a60331081ea66d6e6f2e3dcaad820dd3c3..518b082a1734bdd1e71e20a4c19ed0335cc7d1a7 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/ComplexField.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/ComplexField.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/DynamicField.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/DynamicField.java index 846d31b41a140d184540fa061e00b599fb7fad7c..ae4c609912fdadc69b618c116ddd433ff04494f5 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/DynamicField.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/DynamicField.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Entity.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Entity.java index edb0925c809063b4bf577d23fac6c81be69a37da..b5c23e87cd3bb12e753a22ae82f7ecb382add4b2 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Entity.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Entity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements; import com.inspur.edp.web.designschema.elements.type.EntityType; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Field.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Field.java index 899efdbde6aeb2ac52f21cd025866e58c909d36d..420f104d2288e19ef5b230357a32b8ff20c2998a 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Field.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Field.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements; import com.inspur.edp.web.designschema.elements.type.FieldType; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Schema.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Schema.java index 49bc10fe44492536b0ed3bf0734c073aab94cb54..85f8395c829e5391f9ac11e26be64a564933c5e5 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Schema.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Schema.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/SimpleField.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/SimpleField.java index 7f3eb45db476e031ec3917985938387b080e606a..b1d6be1c525a7725ccfcdbe016128f0d02b5e271 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/SimpleField.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/SimpleField.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements; import com.inspur.edp.web.designschema.elements.editor.DefaultEditor; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Variable.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Variable.java index dfaa1b4ee45ea64e63726aaf2901f2a8acf24cc9..6177e107293fa3aa392895cc9ecb7c5f4db8377c 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Variable.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/Variable.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/CheckBox.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/CheckBox.java index ab2c6a2c8473d6337bf7cc211d14beba5ccfb53b..830e6efdffa2604c0b8c68d6f00d12a8585bf7f6 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/CheckBox.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/CheckBox.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.editor; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/DataSource.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/DataSource.java index e362f79858897aa4de079a029e176bd122f996d9..c323bd11d1c18866f16094625498449234c561d1 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/DataSource.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/DataSource.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.editor; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/DateBox.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/DateBox.java index 214042a2975dde74e079f57cf3ab189a5a8918dd..42647391b64427126acf4364081f3e35ce637787 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/DateBox.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/DateBox.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.editor; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/DefaultEditor.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/DefaultEditor.java index 0d9c9037902dce4e3f0329e303997194df9779af..78419aca3907ead6b8136c3ceab8a992346453c8 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/DefaultEditor.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/DefaultEditor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.editor; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/EnumField.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/EnumField.java index e61e3ac496e4e90d752f1634969df20d1ff0c236..a6086cbad5f2c4aa2b4efdfb685da38e527b478b 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/EnumField.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/EnumField.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.editor; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/FieldEditor.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/FieldEditor.java index 93c2fd5f57824f2c4814dfba2e5b7b6cf3a178c3..a98d81de2358b88ee11b8a972a98d68fd006d56e 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/FieldEditor.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/FieldEditor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.editor; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/LanguageTextBox.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/LanguageTextBox.java index 1b470d5d07bbf5678fff51d774efd0ebcd1d4b22..aa3eea43e6b065d02b1f589302c1e1fd584775d5 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/LanguageTextBox.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/LanguageTextBox.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.editor; public class LanguageTextBox extends FieldEditor { diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/LookupEdit.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/LookupEdit.java index cd49e56ee4da12bb23c7b899099d5753a71bfdc1..aa53dd219037b7c5a5c9abc7ed59f018b72e4958 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/LookupEdit.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/LookupEdit.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.editor; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/MultiTextBox.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/MultiTextBox.java index 406c822638f4e1c9d79bec8de719615842ed6291..378ed7a214f94f7a4b4273971a519616a1e2aafb 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/MultiTextBox.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/MultiTextBox.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.editor; public class MultiTextBox extends FieldEditor { diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/NumericBox.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/NumericBox.java index 8d5b1b95bc8dd4938759508f766180d8fb5922a1..107f542b4b7883628c96272fa0530bae00225105 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/NumericBox.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/NumericBox.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.editor; public class NumericBox extends FieldEditor { diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/RadioGroup.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/RadioGroup.java index 38eaab598a82d7f93a312c96619ab4fa3393a2ed..d24a0c44a467709d995e091c839de33da025d9ca 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/RadioGroup.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/RadioGroup.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.editor; public class RadioGroup extends FieldEditor { diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/SwitchField.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/SwitchField.java index d6ebb8b0ea14251b9a852283580e3ee738bbfb72..4d45c13957afe29358e9e23746c60d5a559cb7d2 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/SwitchField.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/SwitchField.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.editor; public class SwitchField extends FieldEditor { diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/TextBox.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/TextBox.java index 1cdc6e343d26b3e37a9b0410e8b87ddffd2934e4..aa5c01c7ebd7b5684e5dec8d605e4e5570e24624 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/TextBox.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/editor/TextBox.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.editor; public class TextBox extends FieldEditor { diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/BigNumericType.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/BigNumericType.java index 7680cc463086bf5e801f63118511e3851730eea8..76c32f7b0c4225dd634ea6d1dbdeb67cdb058d4f 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/BigNumericType.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/BigNumericType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/BooleanType.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/BooleanType.java index 21a7ddbf7a02cfcf25a2b9d1580e0e98eba7416b..2dfaf606dddfe7eaacedd114eeb16225c21ecf15 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/BooleanType.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/BooleanType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/DateTimeType.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/DateTimeType.java index 0b4211027ae2419d84c44b0a4a12b7e6dea6f267..dc89b9b8759b0e387add0762334208e15e420a38 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/DateTimeType.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/DateTimeType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/DateType.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/DateType.java index c7abe6604bb210ee32bc54307a6f2a3e38db14d1..fd188396d5263a33992161ba3bccacb64409e887 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/DateType.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/DateType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/DynamicObjectType.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/DynamicObjectType.java index 3137b9773985785d948a6005742213df884091e1..529f446eb3b8f95f3148967b3b0bea22f59f62d9 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/DynamicObjectType.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/DynamicObjectType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/EntityType.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/EntityType.java index 28ba294a63d285754f74376c4972bbc867f7f9bb..9e47f93222f0504e28fa8fd74ed3cb28d0895ff7 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/EntityType.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/EntityType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; import com.inspur.edp.web.designschema.elements.Entity; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/EnumItem.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/EnumItem.java index c34ff69f99f56148c36eb692dae4acaa16d14c20..3a934830e3f23250a8024922827646c22aa09ef6 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/EnumItem.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/EnumItem.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/EnumType.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/EnumType.java index 346f85c7eeeb8ab6be0c6bd82a67d2fbe5a0fe16..cef1e7e463e245ebd26d96bec6cfe451d4b4cfea 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/EnumType.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/EnumType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; import java.util.ArrayList; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/FieldType.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/FieldType.java index ff817053cec6ba18a8b65aa3bf7c7d761c272252..d805dba240ca44722ecdb9aef76bdd87862ac4ee 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/FieldType.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/FieldType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; /** diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/HierarchyType.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/HierarchyType.java index c19889fe28a6386dfb4d053550909ec2af657b58..260442d6e1c307051b6e71725ead0ccd554030a5 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/HierarchyType.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/HierarchyType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; public class HierarchyType extends ObjectType { diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/NumericType.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/NumericType.java index 2473c54e2dd9577f0de257b30a9bcca9f6776ddb..4b525bf5792ecb3dccf0f3cbe1f1a96723c9ecdf 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/NumericType.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/NumericType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; public class NumericType extends FieldType { diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/ObjectType.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/ObjectType.java index e18eec926dada703e2ec37693f292d6273591069..5edd7a3d10d2ce2bf459f3854a8fbe439a6024b1 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/ObjectType.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/ObjectType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; import com.inspur.edp.web.designschema.elements.Field; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/StringType.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/StringType.java index bf07cb5103545fddce4c4b56d60b73460b96de71..e906f0a412622ff8ae1eaecc3ea7a6cf0713c2a2 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/StringType.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/StringType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; public class StringType extends FieldType { diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/TextType.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/TextType.java index 3480e714220850aa94074ec5b5d48e053a8d12cd..392ebebe949757ab086c8648727f2a46805b7d76 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/TextType.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/elements/type/TextType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.elements.type; public class TextType extends FieldType { diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/EntityBuilder.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/EntityBuilder.java index 01fcc8693272b17872c9fee26277f773d9d7a223..7ef61a64900746f14d1d088c039b326dbcddc6b9 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/EntityBuilder.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/EntityBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.generator; import com.inspur.edp.das.commonmodel.IGspCommonObject; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/FieldBuilder.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/FieldBuilder.java index 5067733ca3887d9e8a09eafe2e78c214ea1d31e4..5cf30dd0072105c6a4f5602e82702d7a53f59da5 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/FieldBuilder.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/FieldBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.generator; import com.inspur.edp.bef.bizentity.GspBizEntityElement; @@ -15,6 +31,9 @@ import com.inspur.edp.metadata.rtcustomization.api.CustomizationService; import com.inspur.edp.udt.designtime.api.entity.SimpleDataTypeDef; import com.inspur.edp.udt.designtime.api.nocode.BusinessField; import com.inspur.edp.udt.designtime.api.nocode.IBusinessFieldService; +import com.inspur.edp.web.common.environment.ExecuteEnvironment; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; +import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.common.utility.StringUtility; import com.inspur.edp.web.designschema.elements.ComplexField; import com.inspur.edp.web.designschema.elements.Field; @@ -620,11 +639,11 @@ public class FieldBuilder { private GspMetadata getMetadata(String id, boolean isRuntime) { if (isRuntime) { - CustomizationService customizationService = SpringBeanUtils.getBean(CustomizationService.class); - return customizationService.getMetadata(id); + return MetadataUtility.getInstance().getMetadataWithEnvironment(id, ExecuteEnvironment.Runtime, false); } else { - RefCommonService refMetadataService = SpringBeanUtils.getBean(RefCommonService.class); - return refMetadataService.getRefMetadata(id); + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(id, null); + metadataGetterParameter.setTargetMetadataNotFoundMessage("更新表单schema,关联字段元数据找不到,请修正。对应字段元数据id为:" + id); + return MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); } } } diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/FieldTypeBuilder.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/FieldTypeBuilder.java index 3d44b983201806f38df5c4dbc1da94a292d01b2f..01774fc7d8feca8dd2691e7f4f254449bf65f439 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/FieldTypeBuilder.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/FieldTypeBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.generator; import com.inspur.edp.cef.designtime.api.collection.GspAssociationCollection; @@ -5,13 +21,14 @@ import com.inspur.edp.cef.designtime.api.element.GspAssociation; import com.inspur.edp.cef.designtime.api.element.GspElementObjectType; import com.inspur.edp.cef.designtime.api.element.GspEnumValue; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; -import com.inspur.edp.lcm.metadata.api.service.RefCommonService; import com.inspur.edp.metadata.rtcustomization.api.CustomizationService; import com.inspur.edp.udt.designtime.api.entity.ComplexDataTypeDef; import com.inspur.edp.udt.designtime.api.entity.SimpleDataTypeDef; import com.inspur.edp.udt.designtime.api.entity.UnifiedDataTypeDef; import com.inspur.edp.udt.designtime.api.nocode.BusinessField; import com.inspur.edp.udt.designtime.api.nocode.IBusinessFieldService; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; +import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.designschema.elements.Field; import com.inspur.edp.web.designschema.elements.SimpleField; import com.inspur.edp.web.designschema.elements.type.*; @@ -213,8 +230,9 @@ public class FieldTypeBuilder { CustomizationService customizationService = SpringBeanUtils.getBean(CustomizationService.class); typeMetadata = customizationService.getMetadata(uri); } else { - RefCommonService refMetadataService = SpringBeanUtils.getBean(RefCommonService.class); - typeMetadata = refMetadataService.getRefMetadata(uri); + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(uri, null); + metadataGetterParameter.setTargetMetadataNotFoundMessage("更新表单Schema,获取UDT字段元数据失败,元数据不存在。对应元数据id为:" + uri); + typeMetadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); } if (typeMetadata == null) { throw new RuntimeException(String.format("未获取到id为'%1$s'的统一数据类型(UDT)元数据。", uri)); diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/SchemaBuilder.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/SchemaBuilder.java index 36b92f6b2cdb28c06331abb80498a18227f6440e..fc9b9bc7b987282cfe2753070e42c14a1364a0e7 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/SchemaBuilder.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/SchemaBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.generator; import com.inspur.edp.formserver.viewmodel.GspViewModel; @@ -7,6 +23,9 @@ import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; +/** + * @author guozhiqi + */ public class SchemaBuilder { public final Schema build(GspViewModel model) { return this.buildWithScene(model, ""); diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/TypeBuildingContext.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/TypeBuildingContext.java index f6822fb7682b91afb92b9a44cb488b09760d9ad0..9f934561d409ed6b85d7d7520cb5b33b7208d0e3 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/TypeBuildingContext.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/TypeBuildingContext.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.generator; import com.inspur.edp.cef.designtime.api.IGspCommonField; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/UdtExtBuildingContext.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/UdtExtBuildingContext.java index a2c36fa1c07cd5ec0a414e2e056cb9c25a16be2b..13d95aa8d2530f873db8fe3c997a991d2cbb3b68 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/UdtExtBuildingContext.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/UdtExtBuildingContext.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.generator; import com.inspur.edp.web.designschema.udtextensiondef.FormUdtExtension; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/UdtFieldTreeNode.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/UdtFieldTreeNode.java index c554099164e7fdfb5ace47ba5122d77ebaafb64b..b0bfc925880f274f805b3200843ebfc50202ff39 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/UdtFieldTreeNode.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/UdtFieldTreeNode.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.generator; import com.inspur.edp.web.designschema.elements.Field; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/VariableBuilder.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/VariableBuilder.java index 4a39dff056113b19eb8c58f19fc2f4089f23377a..b266c0d13430688773364996a63d4ab862dff3ce 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/VariableBuilder.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/VariableBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.generator; import com.inspur.edp.cef.designtime.api.variable.CommonVariableEntity; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/VariableTypeBuilder.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/VariableTypeBuilder.java index 74a996c051c3d231cdccfc134fc1f0cac759d0d0..bf68790667f8d87ea13ca061baaae1851f00c424 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/VariableTypeBuilder.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/generator/VariableTypeBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.generator; import com.inspur.edp.cef.designtime.api.IGspCommonField; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/BaseDesignSchemaChangeHandler.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/BaseDesignSchemaChangeHandler.java index 073183d315fc0bed20387006bb4687fda3cd5bab..4e01f9b30029f9428762f3ec834b9ddc5e93bd16 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/BaseDesignSchemaChangeHandler.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/BaseDesignSchemaChangeHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.synchronization; import com.fasterxml.jackson.core.type.TypeReference; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/DesignSchemaChangeListener.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/DesignSchemaChangeListener.java index 315e668ca383c86b296c07b474caebaa10418400..34d7b3945a736da773ed3588d7b54d201d28beb6 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/DesignSchemaChangeListener.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/DesignSchemaChangeListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.synchronization; import com.inspur.edp.lcm.metadata.spi.event.MetadataEventArgs; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/FormMetadataUpdate.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/FormMetadataUpdate.java index fca7dfb91c1282fc75690917381c921b3c94e666..7cef47cb09fee7b79b300d6668bfdaa2c4f217af 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/FormMetadataUpdate.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/FormMetadataUpdate.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.synchronization; import com.fasterxml.jackson.core.type.TypeReference; @@ -5,7 +21,10 @@ import com.fasterxml.jackson.databind.JsonNode; import com.inspur.edp.formserver.viewmodel.GspViewModel; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; import com.inspur.edp.lcm.metadata.api.service.MetadataService; -import com.inspur.edp.lcm.metadata.api.service.RefCommonService; +import com.inspur.edp.web.common.environment.ExecuteEnvironment; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; +import com.inspur.edp.web.common.metadata.MetadataTypeEnum; +import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.common.serialize.SerializeUtility; import com.inspur.edp.web.designschema.elements.Schema; import com.inspur.edp.web.formmetadata.metadata.FormMetadataContent; @@ -39,8 +58,10 @@ public class FormMetadataUpdate { Synchronizer synchronizer = new Synchronizer(); for (Schema schema : schemaList) { if ("vo".equals(schema.getSourceType())) { - RefCommonService metadataService = SpringBeanUtils.getBean(RefCommonService.class); - GspMetadata metadata = metadataService.getRefMetadata(schema.getId()); + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(schema.getId(), null); + metadataGetterParameter.setTargetMetadataNotFoundMessage("根据表单元数据获取VO元数据为空,请检查表单元数据module>schemas>id 是否正确,此参数对应VO元数据id参数"); + GspMetadata metadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); + GspViewModel viewObject = (GspViewModel) ((metadata.getContent() instanceof GspViewModel) ? metadata.getContent() : null); metadata.setContent(synchronizer.synchronize(formObject, schema, viewObject)); MetadataService service = SpringBeanUtils.getBean(MetadataService.class); diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/LookupConfig.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/LookupConfig.java index 2f82e2ae2793c01ec4bcb6b7d4268a5e606fe555..eb9c2fbc4931e86b9af404767fe22f38c0d2e910 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/LookupConfig.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/LookupConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.synchronization; public class LookupConfig { diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/NocodeDesignSchemaChangeListener.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/NocodeDesignSchemaChangeListener.java index 959b1a79d2c8673f4907a7dc767cbe287101de8e..aa40d47d68896334fc1c775c1b6be9cc95d45320 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/NocodeDesignSchemaChangeListener.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/NocodeDesignSchemaChangeListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.synchronization; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/Synchronizer.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/Synchronizer.java index c877599a08a8d30191b3e9680558a35cab3277a2..83f998063c7a768634a64d7e14354cfc59dac79c 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/Synchronizer.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/synchronization/Synchronizer.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.synchronization; import com.alibaba.fastjson.JSONArray; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/udtextensiondef/FormUdtExtension.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/udtextensiondef/FormUdtExtension.java index 1fa0c7fc484667de415a5840ae53e7431c7790c8..3966b9336e53ebbfdc6e4064e619d6ed8989d7f9 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/udtextensiondef/FormUdtExtension.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/udtextensiondef/FormUdtExtension.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.udtextensiondef; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/udtextensiondef/FormUdtExtensionDeserializer.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/udtextensiondef/FormUdtExtensionDeserializer.java index e8b1daaed7f32da9f303e56a7857d227c4c15f23..eff29cefe07ea4efdf58507c0ec6d17e3d072bc5 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/udtextensiondef/FormUdtExtensionDeserializer.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/udtextensiondef/FormUdtExtensionDeserializer.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.udtextensiondef; import com.fasterxml.jackson.core.JsonParser; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/udtextensiondef/FormUdtExtensionSerializer.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/udtextensiondef/FormUdtExtensionSerializer.java index cbf8c32fd4e604be684394c14afe9a1414cb2cc7..81c07eddf099449b7a60b8a8db15913f107f211c 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/udtextensiondef/FormUdtExtensionSerializer.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/udtextensiondef/FormUdtExtensionSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.udtextensiondef; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/utils/StringUtils.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/utils/StringUtils.java index 46fb03bc7b6533cb283f14b61d3b70b61a4a3a82..50cf1a133b8e6e6c89448b05b2e2273a5f510799 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/utils/StringUtils.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/utils/StringUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.utils; import com.fasterxml.jackson.databind.node.TextNode; diff --git a/web-designschema/src/main/java/com/inspur/edp/web/designschema/webservice/DesignSchemaWebServiceImpl.java b/web-designschema/src/main/java/com/inspur/edp/web/designschema/webservice/DesignSchemaWebServiceImpl.java index dbec1151919dc5e53e6a915eedba84aece07b5c7..c98a13d4660af7cb8ed1d2d573c29d612a5393c1 100644 --- a/web-designschema/src/main/java/com/inspur/edp/web/designschema/webservice/DesignSchemaWebServiceImpl.java +++ b/web-designschema/src/main/java/com/inspur/edp/web/designschema/webservice/DesignSchemaWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.designschema.webservice; import com.alibaba.fastjson.JSONObject; diff --git a/web-form-jitengine/pom.xml b/web-form-jitengine/pom.xml index 2b621dddf9a9cf68fe07dfb05a5d2b7f6c9d9712..5a76ea7396e57919d7f91dd031d803b110ffa5a9 100644 --- a/web-form-jitengine/pom.xml +++ b/web-form-jitengine/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/JITEngineManager.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/JITEngineManager.java index d902081cacecbcdc234cd9286505674a28ed38ef..ad94aecd58223caefd6ae36140a63bbb115e81a6 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/JITEngineManager.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/JITEngineManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine; import com.inspur.edp.cdp.web.component.metadata.define.WebComponentMetadata; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/NpmInstallBeforeGenerate.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/NpmInstallBeforeGenerate.java index 449dd326eb2174ceaa13fdb3b9128bb489c362fd..c19798a95bfc6acfc3bd5110605dda4cfaf6031e 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/NpmInstallBeforeGenerate.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/NpmInstallBeforeGenerate.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/ProjectCompileContext.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/ProjectCompileContext.java index 35d0aa9bb92ef954f9b47210dc968380442663e7..91b31b4218c59fca7a0a476fb53aa8282b767410 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/ProjectCompileContext.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/ProjectCompileContext.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine; import com.inspur.edp.web.common.JITEngineConstants; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/babelgrnerate/GenerateForBabel.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/babelgrnerate/GenerateForBabel.java index cae6f07bd640cbff2ac26ac332b9797fff042bcf..9e96a5bd1571bce22bb260d2e43d4a75806d8398 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/babelgrnerate/GenerateForBabel.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/babelgrnerate/GenerateForBabel.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.babelgrnerate; import com.inspur.edp.lcm.metadata.api.entity.GspProject; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/constant/JitConstant.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/constant/JitConstant.java index b3534542670d4f0b80f6c3709cae61217cf98c5e..f6db408ff2d9af1bc50862c3bd1450d172543433 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/constant/JitConstant.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/constant/JitConstant.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.constant; /** diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/dynamicform/DynamicFormMetaFileNameGenerator.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/dynamicform/DynamicFormMetaFileNameGenerator.java index c5a306acb65acc73b4f2cfe44afeca4377757a23..c188e91b832617aa56f513f194db5a17bfc30db2 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/dynamicform/DynamicFormMetaFileNameGenerator.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/dynamicform/DynamicFormMetaFileNameGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.dynamicform; /** diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/dynamicform/DynamicFormModuleOperation.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/dynamicform/DynamicFormModuleOperation.java index 7387295ff9ac8328b6d2c18ce55118c963d31e2f..7404a17ffe46bd0891ed3d52b45f6621a37d1a3a 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/dynamicform/DynamicFormModuleOperation.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/dynamicform/DynamicFormModuleOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.dynamicform; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/DesignExpressionValue.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/DesignExpressionValue.java index 30df0d369bc6304abe6a7813f65c2106f549eeda..7b16ad68627fb88449165337c5954e0f2d0a66a7 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/DesignExpressionValue.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/DesignExpressionValue.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; /** diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormFieldExpression.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormFieldExpression.java index 2f9128ef7ab52905332d1298680e3a37c922d2bd..a337068d4d18856aaf8108f706f51a1e4a37f35f 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormFieldExpression.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormFieldExpression.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormFieldJsonEntity.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormFieldJsonEntity.java index f2f6706b2a1fe3430755ea9df30159b4c9283fcd..b63d91abd08b32a1b3fceee8183f8eb7224cd3bb 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormFieldJsonEntity.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormFieldJsonEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormGenerator.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormGenerator.java index 6a7ccbab644a688ea4efe84ba8bc192d3a5e5535..3e089fdd98483452007c8e09f901e40cd22d6769 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormGenerator.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; import com.inspur.edp.web.common.serialize.SerializeUtility; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormJsonEntity.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormJsonEntity.java index 09c53d629cc7d8b0912b832162ca3e34e0cd1472..049f6aec2a93d96d31a81413d44f20a1160ab213 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormJsonEntity.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionFormJsonEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifest.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifest.java index 436fefdfcdb748b644b016bba7a5c7f327f4517e..42e3ded3e7bc532d8694998b06a639a7a48aa994 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifest.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifest.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; import java.util.ArrayList; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifestJsonEntity.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifestJsonEntity.java index 2ebb3b2c14527771064bd36f7aede5c1d50b9bc3..6d17eceae44be24faa5c80a05b0ee7f0223f4566 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifestJsonEntity.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifestJsonEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifestJsonItemEntity.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifestJsonItemEntity.java index c680998d9f4a8a8c05e04b8c05d38b5271b86386..3351d61345b1815d0eac67e9e844a831b25fcfd5 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifestJsonItemEntity.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifestJsonItemEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifestManager.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifestManager.java index 8ea27cf9f90568b4f58b8f1fedec820f1beeb02d..83cff0cec0a4f624b7d51e8b8b30c3ea7548664d 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifestManager.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ExpressionManifestManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/FieldInfo.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/FieldInfo.java index 0b2fd0ab3172d07d549eeb829b1972fc3d20f9f5..940f2ac175d96b460591edfef202318ec65d85e1 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/FieldInfo.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/FieldInfo.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; /** diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleExpressionStatement.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleExpressionStatement.java index 157d12bc172a089cc9ce322fe32148fd2d41d984..241aadbd1cb97f3bbde0b3f7c5ce364327b8646b 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleExpressionStatement.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleExpressionStatement.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleFormExpressionFieldItem.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleFormExpressionFieldItem.java index f5498c5d7e0e3abf5bd8cd8d86256b4c0738021b..e867896de0d8edc1bd30c44b22641da840871c66 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleFormExpressionFieldItem.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleFormExpressionFieldItem.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleFormExpressionItem.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleFormExpressionItem.java index 8aaa248a710d631582e1cc00626766186ecce486..69e9d4fa52d69858bd6a784a8301b56969fd1527 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleFormExpressionItem.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleFormExpressionItem.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleFormExpressions.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleFormExpressions.java index 1303bc13ff47479f88d665a85bb7bf1afdcd38e4..fdc10b57a828963b742f9c4e0ac5ed9a3a7e5cae 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleFormExpressions.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleFormExpressions.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; import java.util.ArrayList; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleSchemaEntities.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleSchemaEntities.java index b68c38665f29a8c5494f8e0a1326d0415ecd8667..def78429dc87fd14614e68f8209b1b8ed6e8664f 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleSchemaEntities.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleSchemaEntities.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; /** diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleSchemaEntityType.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleSchemaEntityType.java index bae430be9264e343a93345856287283efb95553a..f90806deffce63244842a906287f32536e48f59d 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleSchemaEntityType.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/ModuleSchemaEntityType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions; import java.util.HashMap; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/DefaultFunctionExpressionParser.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/DefaultFunctionExpressionParser.java index a3ac477c4d1db5543abe120ffc8d6729a28afc8e..506bce113baeb858ed4c225618ba837dbff6d943 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/DefaultFunctionExpressionParser.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/DefaultFunctionExpressionParser.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions.parser; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/EntityExpressionParser.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/EntityExpressionParser.java index fbbef6028c434ded34cc50b665bc33b764b77c45..f1b785384c93225fa057d65dd7e2f6388e4714e9 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/EntityExpressionParser.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/EntityExpressionParser.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions.parser; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/ExpressionParserManager.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/ExpressionParserManager.java index 26cc1bf4fda4f39ed23926745d16aad832632644..48f8eeba896c2ce505fa99d96e4458248640595b 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/ExpressionParserManager.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/ExpressionParserManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions.parser; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/FieldsExpressionParser.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/FieldsExpressionParser.java index f8176147145753069f08eaf801ac80a80ac1be8d..cfbbb9798d234c153fe4bd5a526ba1fde2b784af 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/FieldsExpressionParser.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/parser/FieldsExpressionParser.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions.parser; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/utility/ExpressionUtility.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/utility/ExpressionUtility.java index 7fafbe58a4cd25427a441c3be5a3e8a27bdb7a51..fd43716196a0b4f927dc8af834dcf4ba7a93e13c 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/utility/ExpressionUtility.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/utility/ExpressionUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions.utility; import com.fasterxml.jackson.core.type.TypeReference; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/utility/FieldByIDAndVMIDResult.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/utility/FieldByIDAndVMIDResult.java index 65409db56def1b6c656fa0df84c9b11ecccb16cf..e9634658fad978f0573e5494a9cf6e704d485ffe 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/utility/FieldByIDAndVMIDResult.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/utility/FieldByIDAndVMIDResult.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions.utility; import com.inspur.edp.web.jitengine.expressions.ModuleSchemaEntities; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/utility/TableFieldsInfo.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/utility/TableFieldsInfo.java index 907b5192dde7e06ca6dd30e393ba89269c6e83d3..21b56a7d4ea12ffae55f18a1a46cab480231adac 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/utility/TableFieldsInfo.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/expressions/utility/TableFieldsInfo.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.expressions.utility; import com.inspur.edp.web.jitengine.expressions.ModuleSchemaEntities; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/i18nresource/GenerateResourceManager.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/i18nresource/GenerateResourceManager.java index 12aab95e103965aefde10128ab55d6fec6e82695..e717c34271a4b48f85bda44d8a6db2f1d5f7bec1 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/i18nresource/GenerateResourceManager.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/i18nresource/GenerateResourceManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.i18nresource; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/i18nresource/GeneratedI18nResourceList.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/i18nresource/GeneratedI18nResourceList.java index f7c80dfa4b3174d11f7633d1406fcd054b460de3..02e2393b34e829483a013133d56d6a9c31655a4e 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/i18nresource/GeneratedI18nResourceList.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/i18nresource/GeneratedI18nResourceList.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.i18nresource; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/i18nresource/GeneratedI8nResource.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/i18nresource/GeneratedI8nResource.java index 34a8a860e0b01418cb503bceb475b51261f2da3d..af0ccc15164fb591521153191e3d8c3e432cc971 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/i18nresource/GeneratedI8nResource.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/i18nresource/GeneratedI8nResource.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.i18nresource; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/CommandServiceAnalysis.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/CommandServiceAnalysis.java index c6e2883d5cc8d0bf32eddbe705da21abaa8a3027..6e13ff9e417a9204ba009e65cdfdd33c1ce2a4ea 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/CommandServiceAnalysis.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/CommandServiceAnalysis.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadataanalysis; import com.inspur.edp.web.common.environment.ExecuteEnvironment; @@ -23,6 +39,7 @@ import java.util.Map; public class CommandServiceAnalysis { /** * 解析表单元数据中的命令服务 + * * @param json * @param path * @param targetFormServiceBasePath @@ -39,7 +56,7 @@ public class CommandServiceAnalysis { HashMap serviceFileList = new HashMap<>(16); for (HashMap o : json.getModule().getServiceRefs()) { if ("0".equals(o.get("isCommon").toString())) { - String fileName = o.get("path").toString().substring(o.get("path").toString().lastIndexOf("/") + 1); + String fileName = FileUtility.getFileName(o.get("path").toString()); String contents = CommandServiceManager.getTypescriptFileContent(path, "", o, ExecuteEnvironment.Design, false); if (StringUtility.isNullOrEmpty(contents)) { return; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/CommandsAnalysis.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/CommandsAnalysis.java index 49ccf103a8b28c8cb3b433b52cbe19979b7d4bcb..f8fe238ad6c0bfc82261d5f0fa4da3b7d9e6b8e4 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/CommandsAnalysis.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/CommandsAnalysis.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadataanalysis; import com.inspur.edp.cdp.web.component.metadata.define.WebComponentMetadata; @@ -175,10 +191,6 @@ public class CommandsAnalysis { while (iter.hasNext()) { HashMap.Entry entry = (HashMap.Entry) iter.next(); - if (json.getModule().getServiceRefs() == null) { - json.getModule().setServiceRefs(new ArrayList<>()); - } - HashMap serviceRef = new HashMap<>(); WebComponentMetadata component = (WebComponentMetadata) entry.getValue(); if (component == null) { @@ -204,16 +216,16 @@ public class CommandsAnalysis { } } - private boolean hasServiceReference(List> serviceReferenceList, WebComponentMetadata component) throws Exception { + private boolean hasServiceReference(List> serviceReferenceList, WebComponentMetadata component) { boolean flag = false; for (HashMap serviceRef : serviceReferenceList) { if (serviceRef.containsKey("name") && serviceRef.containsKey("path")) { if (serviceRef.get("name") == null) { - throw new Exception("标识为'{" + serviceRef.get("cmpId") + "'的服务构件name属性不允许为null。"); + throw new RuntimeException("标识为'{" + serviceRef.get("cmpId") + "'的服务构件name属性不允许为null。"); } if (serviceRef.get("path") == null) { - throw new Exception("标识为'" + serviceRef.get("cmpId") + "'的服务构件path属性不允许为null。"); + throw new RuntimeException("标识为'" + serviceRef.get("cmpId") + "'的服务构件path属性不允许为null。"); } if (serviceRef.get("name").toString().equals(component.getClassName()) && diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/EapiAnalysis.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/EapiAnalysis.java index 88bbf2a56bce9d475907a24fa4d9bb0722c7cf91..473d427cb85d8bb9ad14874a1abb27217b467b6a 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/EapiAnalysis.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/EapiAnalysis.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadataanalysis; import com.fasterxml.jackson.databind.PropertyNamingStrategy; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/FormAnalysis.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/FormAnalysis.java index a5eaac89206cd1fb75d4defaa32a91a0d85ffe76..67b896ad65f17a42c009291debba564fdae7c46b 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/FormAnalysis.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/FormAnalysis.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadataanalysis; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/StateMachineAnalysis.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/StateMachineAnalysis.java index 7ddb9898996b8fe7078edb7eabc7407a6173a287..91bcd4eb45704f0237000fbdfee83926b67783b1 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/StateMachineAnalysis.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/StateMachineAnalysis.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadataanalysis; import com.inspur.edp.lcm.metadata.api.IMetadataContent; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/TsBuildConfigJsonGenerator.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/TsBuildConfigJsonGenerator.java index 94672d1531dea94722e25562452fc32d046b4564..a7395c6947dc9766c911649f4e03ff8d3931e958 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/TsBuildConfigJsonGenerator.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/TsBuildConfigJsonGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadataanalysis; public class TsBuildConfigJsonGenerator { diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/form/FormComponentParser.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/form/FormComponentParser.java index cfd9aeda4f5507d45244e9aceb2ca48ac75e7874..cb538b5464035b9594405962e07befa5663d0d5f 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/form/FormComponentParser.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataanalysis/form/FormComponentParser.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadataanalysis.form; import com.inspur.edp.web.common.JITEngineConstants; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/BaseMetaDataManager.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/BaseMetaDataManager.java index 36ab9af74a3cf8175a5f571a4a6aafc0f1e9c8d4..1a52aab41eb2778e5c68aff354584bcd319e89dd 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/BaseMetaDataManager.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/BaseMetaDataManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadatamanager; import com.fasterxml.jackson.databind.PropertyNamingStrategy; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/CommandExtendProperty.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/CommandExtendProperty.java index abf8c5b7d4d4ba037efee4a5774ee2f8980cd882..7d86276868ea7e7baf056c55320fea1f5953b18c 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/CommandExtendProperty.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/CommandExtendProperty.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadatamanager; /** diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/CommandServiceManager.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/CommandServiceManager.java index eeb995f2ec665b941ab85c0e1d7aec7cf5f92ed6..c4364e671a4d416fd4e9555bcb0fb378a2b1ea37 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/CommandServiceManager.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/CommandServiceManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadatamanager; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/CommandsMetadataManager.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/CommandsMetadataManager.java index a359f6516975c89931b2659ea9217fb88de74020..ad9706889fe89b416a44ac83ad1fd756decfb97d 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/CommandsMetadataManager.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/CommandsMetadataManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadatamanager; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/ComponentMetadataManager.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/ComponentMetadataManager.java index 0e450248b75d1e86c29d5c3a5e2def31f35207d5..37b0d678a4a405dbf78b4c0216db37d0d5359e9f 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/ComponentMetadataManager.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/ComponentMetadataManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadatamanager; import com.inspur.edp.cdp.web.component.metadata.define.WebComponentMetadata; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/EapiMetadataManager.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/EapiMetadataManager.java index 2fe66a0bb330a33eb774971417c16fb47960116e..83fb816b9db7c467162a53b88f9dae0a3bae07e9 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/EapiMetadataManager.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/EapiMetadataManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadatamanager; import com.inspur.edp.lcm.metadata.api.IMetadataContent; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/FormMetadataManager.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/FormMetadataManager.java index 9853fef5d940d058623df489f03e8e1c13c7d325..21fa144db42ef04a8e309a704188c62c7fc7fd0d 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/FormMetadataManager.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/FormMetadataManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadatamanager; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/StateMachineMetadataManager.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/StateMachineMetadataManager.java index 014a4190be5de443f3d2e5ce17ec645558b10719..8af6360ada7f8effa49ecca3550d336b643b9e6e 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/StateMachineMetadataManager.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/StateMachineMetadataManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadatamanager; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/app/AppMetadataManager.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/app/AppMetadataManager.java index 6481744319af0606005b864bd156e385dbc0994f..d9e5dfbcf8c89ba78722e204f205130dcd618768 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/app/AppMetadataManager.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamanager/app/AppMetadataManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadatamanager.app; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamodel/app/AppConfig.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamodel/app/AppConfig.java index 0137717de61a089f15d89ea14f02145d30a97b10..16181c2fcebe4025042d8720d5f2fe095478131c 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamodel/app/AppConfig.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamodel/app/AppConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadatamodel.app; import java.util.ArrayList; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamodel/app/form/AnalysisExternalComponentResult.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamodel/app/form/AnalysisExternalComponentResult.java index 71e07338b20767b9608ae8ef477bb319bc84885a..cd54d6d8b9c1ec9d10a241f007e4a63733575da5 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamodel/app/form/AnalysisExternalComponentResult.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadatamodel/app/form/AnalysisExternalComponentResult.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadatamodel.app.form; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataparser/commandservice/CommandServiceAnalysis.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataparser/commandservice/CommandServiceAnalysis.java index f45f6d1a59d6ea5e9ebaf46850939b38f68c5cab..eb0c0482cb6f6d0197f8751812b20cea4f60c25e 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataparser/commandservice/CommandServiceAnalysis.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/metadataparser/commandservice/CommandServiceAnalysis.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.metadataparser.commandservice; import com.inspur.edp.web.common.environment.ExecuteEnvironment; @@ -23,7 +39,7 @@ public class CommandServiceAnalysis { String code = json.getModule().getCode(); for (HashMap serviceRefsObject : json.getModule().getServiceRefs()) { if (serviceRefsObject.get("isCommon").toString().equals("0")) { - String fileName = serviceRefsObject.get("path").toString().substring(serviceRefsObject.get("path").toString().lastIndexOf("/") + 1); + String fileName = FileUtility.getFileName(serviceRefsObject.get("path").toString()); String contents = CommandServiceManager.getTypescriptFileContent(path, webDevPath, serviceRefsObject, executeEnvironment, isUpdradeTool); if (StringUtility.isNullOrEmpty(contents)) { diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/sourcecode/SourceCodeInFormManager.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/sourcecode/SourceCodeInFormManager.java index 6b8b9002cad66b4e877e5537da1b7e5586c420db..591bf8263100b7891b6f3e667f846130d6bd62d2 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/sourcecode/SourceCodeInFormManager.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/sourcecode/SourceCodeInFormManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.sourcecode; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/sourcecode/SourceCodeInFormRef.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/sourcecode/SourceCodeInFormRef.java index cfa58bad43aeb015a3cecb40331f67eca33fb5ca..6975989d37e73d11e9b2979b31f16dd46bea9026 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/sourcecode/SourceCodeInFormRef.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/sourcecode/SourceCodeInFormRef.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.sourcecode; /** diff --git a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/utility/PathUtility.java b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/utility/PathUtility.java index 734f9016b091c56c019699fb9ed282463c05f2d3..5bcecddf8ce6c3345e5ceb50ae7df0269cdf9e6c 100644 --- a/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/utility/PathUtility.java +++ b/web-form-jitengine/src/main/java/com/inspur/edp/web/jitengine/utility/PathUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.jitengine.utility; diff --git a/web-form-jitengine/src/test/java/com/inspur/edp/web/jitengine/metadataanalysis/CommandServiceAnalysisTest.java b/web-form-jitengine/src/test/java/com/inspur/edp/web/jitengine/metadataanalysis/CommandServiceAnalysisTest.java new file mode 100644 index 0000000000000000000000000000000000000000..faef2e3831e1bf783aade993c69d7437e7487667 --- /dev/null +++ b/web-form-jitengine/src/test/java/com/inspur/edp/web/jitengine/metadataanalysis/CommandServiceAnalysisTest.java @@ -0,0 +1,41 @@ +package com.inspur.edp.web.jitengine.metadataanalysis; + +import com.inspur.edp.web.common.io.FileUtility; +import org.junit.Test; + +import java.io.File; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.HashMap; + +import static org.junit.Assert.*; + +public class CommandServiceAnalysisTest { + + @Test + public void test() { + Path path = Paths.get("dd\\dsds\\dsdsd\\dsdsdddddd"); + File file = new File("dd\\dsdsd\\dsdsdsds\\gfdgdfgdfgdfgdfg"); + assertEquals("gfdgdfgdfgdfgdfg", file.getName()); + + HashMap hashMap = new HashMap<>(); + hashMap.put("path", "nohhhh\\fdfd\\fffff"); + + String extensionResult = hashMap.get("path").toString().substring(hashMap.get("path").toString().lastIndexOf("/") + 1); + assertEquals(extensionResult, "nohhhh\\fdfd\\fffff"); + + String fileNameResult = FileUtility.getFileName("nohhhh\\fdfd\\fffff"); + assertEquals(fileNameResult, "fffff"); + + + File extensionFile = new File("fff/fff.txt"); + + } + + @Test + public void testFileExtension() { + String result = "dd/ddd/dddddd.txt"; + String strExtension = FileUtility.getFileExtension(result); + System.out.println(strExtension); + } +} \ No newline at end of file diff --git a/web-form-metadata-api/pom.xml b/web-form-metadata-api/pom.xml index b434f66bce3edffbbcd9711532a59380c59609e2..01201010e38e29e3ee18695c86c51a466b34d2ba 100644 --- a/web-form-metadata-api/pom.xml +++ b/web-form-metadata-api/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/FormMetadataCommonService.java b/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/FormMetadataCommonService.java index bf236659d91a88fdeb8a679eeb7ddb91f583a869..446060be216eca88c2710006b32621a0bfd4eb53 100644 --- a/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/FormMetadataCommonService.java +++ b/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/FormMetadataCommonService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.api; import com.inspur.edp.web.formmetadata.api.entity.FormSuInfoEntity; diff --git a/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/FormMetadataWebService.java b/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/FormMetadataWebService.java index bd082f4883387fb93bd30d6e842a3aab8d22e10d..ff0a7e53efe01f866cf24fada1eeb5daad4c1f2a 100644 --- a/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/FormMetadataWebService.java +++ b/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/FormMetadataWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.api; import com.inspur.edp.web.common.entity.ResultMessage; diff --git a/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/entity/FormSuInfoEntity.java b/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/entity/FormSuInfoEntity.java index 8beec1120eaea439d06325f818e621e0edeabdb7..339147bf38fdfcb3327996fe9fb8b349e6bd0523 100644 --- a/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/entity/FormSuInfoEntity.java +++ b/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/entity/FormSuInfoEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.api.entity; import lombok.Data; diff --git a/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/entity/ReplicateFormRequestBody.java b/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/entity/ReplicateFormRequestBody.java index c88463ba4f8e96391666e38f7628f2caef613c61..d58ef9e77a0b028de350bdd3f757c47aff97af10 100644 --- a/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/entity/ReplicateFormRequestBody.java +++ b/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/entity/ReplicateFormRequestBody.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.api.entity; import java.io.Serializable; diff --git a/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/entity/SuInfoWithBizobjIdEntity.java b/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/entity/SuInfoWithBizobjIdEntity.java index 2e6c11a98de4f45640f3e9e49a2c02cecdcd2806..eb5248382853be3f88e22a084f42c61f61893678 100644 --- a/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/entity/SuInfoWithBizobjIdEntity.java +++ b/web-form-metadata-api/src/main/java/com/inspur/edp/web/formmetadata/api/entity/SuInfoWithBizobjIdEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.api.entity; import lombok.Data; diff --git a/web-form-metadata/pom.xml b/web-form-metadata/pom.xml index 93e8256de959af30da0e227c278226bd5a63e471..5850bb4dcaaa65ca8bb4c15f13b6f2c89e55c76e 100644 --- a/web-form-metadata/pom.xml +++ b/web-form-metadata/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/config/FormMetadataConfiguration.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/config/FormMetadataConfiguration.java index cb80d4c69c2325f94a59a5c65dcda6dd6cce2211..0c5a8169c066b2251eacf8822f4e531c28ecaa4f 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/config/FormMetadataConfiguration.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/config/FormMetadataConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.config; import com.inspur.edp.web.formmetadata.api.FormMetadataCommonService; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/constant/ReplicationConstant.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/constant/ReplicationConstant.java index f47d25644ee25b72539ffca45dd8821a778bdb6d..3ed13e75ae5f351f1defb48c000ee222d98f4dd6 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/constant/ReplicationConstant.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/constant/ReplicationConstant.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.constant; public class ReplicationConstant { diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/entity/FormRelateViewModelEntity.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/entity/FormRelateViewModelEntity.java index 672f7bd82eb1a5681b54885d2ce06cf96415cb4a..b555d2e7faf4f73a12039abf6278787d6a1f86b6 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/entity/FormRelateViewModelEntity.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/entity/FormRelateViewModelEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.entity; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/entity/ResourceMetadataType.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/entity/ResourceMetadataType.java new file mode 100644 index 0000000000000000000000000000000000000000..e42b857bd097da9c478640c3b2555de9f0080d41 --- /dev/null +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/entity/ResourceMetadataType.java @@ -0,0 +1,93 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.entity; + +/** + * 资源元数据类型 + * + * @author guozhiqi + */ +public enum ResourceMetadataType { + /** + * 简体中文 + */ + ZH_CH { + @Override + public String getSuffix() { + return ".res"; + } + + @Override + public String getSuffixWithoutResExtension() { + return ""; + } + }, + /** + * 英文 + */ + EN { + @Override + public String getSuffix() { + return ".en.lres"; + } + + @Override + public String getSuffixWithoutResExtension() { + return ".en"; + } + }, + /** + * 繁体中文 + */ + ZH_CHT { + @Override + public String getSuffix() { + return ".zh-CHT.lres"; + } + + @Override + public String getSuffixWithoutResExtension() { + return ".zh-CHT"; + } + }; + + /** + * 获取对应的元数据文件名称后缀 + * + * @return + */ + public abstract String getSuffix(); + + /** + * 获取不包含res后缀的名称 + * + * @return + */ + public abstract String getSuffixWithoutResExtension(); + + /** + * 构造对应的资源元数据的实际文件名称 + * + * @param fileNameWithoutExtension + * @return + */ + public String getFileName(String fileNameWithoutExtension) { + return fileNameWithoutExtension + this.getSuffix(); + } + + +} diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/event/FormMetadataSaveEventListener.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/event/FormMetadataSaveEventListener.java index 173e5d40c33c4bc938bfc160c7bce3198a58aafc..4cb0f4b788a0d61af9daa9df9a0b0234cbdb0097 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/event/FormMetadataSaveEventListener.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/event/FormMetadataSaveEventListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.event; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; @@ -8,8 +24,11 @@ import com.inspur.edp.lcm.metadata.spi.event.MetadataEventListener; import com.inspur.edp.web.common.entity.TerminalType; import com.inspur.edp.web.common.io.FileUtility; import com.inspur.edp.web.common.logger.WebLogger; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; +import com.inspur.edp.web.common.metadata.MetadataTypeEnum; import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.common.serialize.SerializeUtility; +import com.inspur.edp.web.formmetadata.entity.ResourceMetadataType; import com.inspur.edp.web.formmetadata.metadata.FormMetadataContent; import com.inspur.edp.web.formmetadata.metadata.formdom.FormDOM; import com.inspur.edp.web.formmetadata.service.FormMetataService; @@ -19,7 +38,11 @@ import java.io.File; import java.util.ArrayList; import java.util.List; +/** + * @author guozhiqi + */ public class FormMetadataSaveEventListener implements MetadataEventListener { + /** * 元数据保存前事件 */ @@ -82,7 +105,7 @@ public class FormMetadataSaveEventListener implements MetadataEventListener { String formMetadataStr = ((FormMetadataContent) metadataEventArgs.getMetadata().getContent()).getContents().toString(); FormDOM formDOM = SerializeUtility.getInstance().deserialize(formMetadataStr, FormDOM.class); if (formDOM.getModule().getSchemas() != null && formDOM.getModule().getSchemas().size() > 0) { - deleteRelateEapiMetadata(projectPath, formDOM); + deleteRelateEapiMetadata(projectPath, formDOM, metadataEventArgs.getMetadata()); } // 获取待删除的命令元数据 命令构件 ts文件 @@ -140,34 +163,11 @@ public class FormMetadataSaveEventListener implements MetadataEventListener { // 如果删除的是webcmp 那么在删除之后将对应的ts文件进行删除 if ("WebComponent".equals(metadataEventArgs.getMetadata().getHeader().getType())) { - String tsFileName = metadataEventArgs.getMetadata().getHeader().getCode() + ".ts"; - String tsFilePath = metadataEventArgs.getMetadata().getRelativePath(); - String tsFileNameAndPath = FileUtility.combine(tsFilePath, tsFileName); - try { - FileUtility.deleteFile(tsFileNameAndPath); - } catch (Exception ex) { - WebLogger.Instance.error(ex.getMessage() + ex.getStackTrace()); - } + deleteTsFileAfterWebComponentDeleted(metadataEventArgs); } if (TerminalType.PC.getMetadataType().equals(metadataEventArgs.getMetadata().getHeader().getType())) { - try { - // 获取表单元数据的文件名称 - String metaDataCode = metadataEventArgs.getMetadata().getHeader().getCode(); - String formMetadataRelativePath = metadataEventArgs.getMetadata().getRelativePath(); - - //获取待删除的文件列表 仅删除当前目录下 - List relativeMetadataDeleteList = generateDeleteList(metaDataCode, new File(formMetadataRelativePath)); - relativeMetadataDeleteList.forEach(t -> { - File deleteFileInfo = new File(FileUtility.combine(formMetadataRelativePath, t)); - if (deleteFileInfo.exists()) { - // 执行元数据删除 - MetadataUtility.getInstance().getMetadataService().deleteMetadata(formMetadataRelativePath, t); - } - }); - } catch (Exception ex) { - WebLogger.Instance.error(ex); - } + deleteRelateMetadataAfterFormMetadataDeleted(metadataEventArgs); } // 如果是帮助元数据的删除 那么将其关联的res也要对应的删除 @@ -180,43 +180,102 @@ public class FormMetadataSaveEventListener implements MetadataEventListener { } } + /** + * 表单元数据删除后关联元数据删除 + * + * @param metadataEventArgs + */ + private void deleteRelateMetadataAfterFormMetadataDeleted(MetadataEventArgs metadataEventArgs) { + try { + // 获取表单元数据的文件名称 + String metaDataCode = metadataEventArgs.getMetadata().getHeader().getCode(); + String formMetadataRelativePath = metadataEventArgs.getMetadata().getRelativePath(); + + //获取待删除的文件列表 仅删除当前目录下 + List relativeMetadataDeleteList = generateDeleteList(metaDataCode, new File(formMetadataRelativePath)); + relativeMetadataDeleteList.forEach(t -> { + File deleteFileInfo = new File(FileUtility.combine(formMetadataRelativePath, t)); + if (deleteFileInfo.exists()) { + // 执行元数据删除 + MetadataUtility.getInstance().getMetadataService().deleteMetadata(formMetadataRelativePath, t); + } + }); + } catch (Exception ex) { + WebLogger.Instance.error(ex); + } + } + + /** + * WebComponent 删除后删除对应的ts文件 + * + * @param metadataEventArgs + */ + private void deleteTsFileAfterWebComponentDeleted(MetadataEventArgs metadataEventArgs) { + String tsFileName = metadataEventArgs.getMetadata().getHeader().getCode() + ".ts"; + String tsFilePath = metadataEventArgs.getMetadata().getRelativePath(); + String tsFileNameAndPath = FileUtility.combine(tsFilePath, tsFileName); + try { + FileUtility.deleteFile(tsFileNameAndPath); + } catch (Exception ex) { + WebLogger.Instance.error(ex.getMessage() + ex.getStackTrace()); + } + } + /** * 删除帮助关联的元数据 * * @param metadataEventArgs */ - private static void deleteRelateHelpMetadata(MetadataEventArgs metadataEventArgs) { + private void deleteRelateHelpMetadata(MetadataEventArgs metadataEventArgs) { String fileName = metadataEventArgs.getMetadata().getHeader().getFileName(); String name = metadataEventArgs.getMetadata().getHeader().getName(); String relativePath = metadataEventArgs.getMetadata().getRelativePath(); String projectRelativePath = MetadataUtility.getInstance().getMetadataProjectPath(relativePath); - String suffixRes = ".res"; - String suffixEnRes = ".en.lres"; - String suffixZhChtRes = ".zh-CHT.lres"; - String relateResource = fileName + suffixRes; + String relateResource = ResourceMetadataType.ZH_CH.getFileName(fileName); MetadataUtility.getInstance().getMetadataService().deleteMetadata(relativePath, relateResource); - String relateEnResource = fileName + suffixEnRes; + String relateEnResource = ResourceMetadataType.EN.getFileName(fileName); MetadataUtility.getInstance().getMetadataService().deleteMetadata(relativePath, relateEnResource); - String relateZh_CHTResource = fileName + suffixZhChtRes; + String relateZh_CHTResource = ResourceMetadataType.ZH_CHT.getFileName(fileName); MetadataUtility.getInstance().getMetadataService().deleteMetadata(relativePath, relateZh_CHTResource); + // 删除帮助eapi String eapiName = name + "_hlp.eapi"; - String eapiFilePath=FileUtility.combine(projectRelativePath,"eapi"); + String eapiFilePath = FileUtility.combine(projectRelativePath, "eapi"); MetadataUtility.getInstance().getMetadataService().deleteMetadata(eapiFilePath, eapiName); + // 删除导航帮助 nav eapi + String navEapiName = name + "_hlp_nav.eapi"; + String navEapiFilePath = FileUtility.combine(projectRelativePath, "eapi"); + MetadataUtility.getInstance().getMetadataService().deleteMetadata(navEapiFilePath, navEapiName); + + // 删除导航帮助 nav + String relateNavVO = name + "_hlp_nav.vo"; + deleteHelpVoAndRelateMetadata(relateNavVO, relativePath); + + // 删除普通帮助 String relateVO = name + "_hlp.vo"; + deleteHelpVoAndRelateMetadata(relateVO, relativePath); + } + + /** + * 删除帮助及其关联资源元数据 + * + * @param relateVO + * @param relativePath + */ + private void deleteHelpVoAndRelateMetadata(String relateVO, String relativePath) { MetadataUtility.getInstance().getMetadataService().deleteMetadata(relativePath, relateVO); - String relateVORes = relateVO + suffixRes; + String relateVORes = ResourceMetadataType.ZH_CH.getFileName(relateVO); MetadataUtility.getInstance().getMetadataService().deleteMetadata(relativePath, relateVORes); - String relateVOEnRes = relateVO + suffixEnRes; + String relateVOEnRes = ResourceMetadataType.EN.getFileName(relateVO); MetadataUtility.getInstance().getMetadataService().deleteMetadata(relativePath, relateVOEnRes); - String relateVOZHCHTRes = relateVO + suffixZhChtRes; + String relateVOZHCHTRes = ResourceMetadataType.ZH_CHT.getFileName(relateVO); MetadataUtility.getInstance().getMetadataService().deleteMetadata(relativePath, relateVOZHCHTRes); } @@ -226,11 +285,14 @@ public class FormMetadataSaveEventListener implements MetadataEventListener { * @param projectPath * @param formDOM */ - private void deleteRelateEapiMetadata(String projectPath, FormDOM formDOM) { + private void deleteRelateEapiMetadata(String projectPath, FormDOM formDOM, GspMetadata sourceFormMetadata) { Object objEapiId = formDOM.getModule().getSchemas().get(0).get("eapiId"); if (objEapiId != null) { String strEapiId = objEapiId.toString(); - GspMetadata eapiMetadata = MetadataUtility.getInstance().getMetadataWithIdAndPath(strEapiId, projectPath); + + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(strEapiId, projectPath); + metadataGetterParameter.setSourceMetadata(sourceFormMetadata, MetadataTypeEnum.Frm); + GspMetadata eapiMetadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); if (eapiMetadata != null) { // eapi 单独删除 MetadataUtility.getInstance().getMetadataService().deleteMetadata(eapiMetadata.getRelativePath(), eapiMetadata.getHeader().getFileName()); @@ -245,9 +307,9 @@ public class FormMetadataSaveEventListener implements MetadataEventListener { String frmXiaPrefix = metaDataCode + "_frm"; // 表单关联资源文件 - deleteList.add(frmDotPrefix + ".en.lres"); - deleteList.add(frmDotPrefix + ".res"); - deleteList.add(frmDotPrefix + ".zh-CHT.lres"); + deleteList.add(frmDotPrefix + ResourceMetadataType.EN.getSuffix()); + deleteList.add(frmDotPrefix + ResourceMetadataType.ZH_CH.getSuffix()); + deleteList.add(frmDotPrefix + ResourceMetadataType.ZH_CHT.getSuffix()); // 表单元数据json文件 deleteList.add(frmXiaPrefix + ".json"); @@ -265,6 +327,5 @@ public class FormMetadataSaveEventListener implements MetadataEventListener { return deleteList; } - } diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/event/WebCommandMetadataDelete.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/event/WebCommandMetadataDelete.java index b5659e240a29ff22e84d0b89f4baf9daecb6b555..ed6a2bc9ec6b322a1e619c2070bfb997fc63c07c 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/event/WebCommandMetadataDelete.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/event/WebCommandMetadataDelete.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.event; import com.google.common.base.Strings; @@ -7,6 +23,7 @@ import com.inspur.edp.lcm.metadata.api.entity.MetadataProject; import com.inspur.edp.web.command.component.metadata.*; import com.inspur.edp.web.common.environment.ExecuteEnvironment; import com.inspur.edp.web.common.logger.WebLogger; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.common.utility.StringUtility; import com.inspur.edp.web.formmetadata.metadata.formdom.FormDOM; @@ -109,7 +126,9 @@ class WebCommandMetadataDelete { } private WebCommandsMetadata getWebCommands(String id) { - GspMetadata webCommandMetadata = MetadataUtility.getInstance().getMetadataWithEnvironment(id, ExecuteEnvironment.Design, false); + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(id, null); + metadataGetterParameter.setTargetMetadataNotFoundMessage("获取命令元数据为空,对应元数据id为:" + id); + GspMetadata webCommandMetadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); if (webCommandMetadata == null) { return null; } @@ -117,11 +136,13 @@ class WebCommandMetadataDelete { } public WebComponentMetadata getComponentMetadata(String id) { - GspMetadata webComponentMetadata = MetadataUtility.getInstance().getMetadataWithEnvironment(id, ExecuteEnvironment.Design, false); + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(id, null); + metadataGetterParameter.setTargetMetadataNotFoundMessage("获取WebComponent元数据为空,对应元数据id为:" + id); + GspMetadata webComponentMetadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); if (webComponentMetadata == null) { throw new RuntimeException("load webComponent metadata is null,the metaDataId is " + id); } - return (WebComponentMetadata) webComponentMetadata.getContent(); + return (WebComponentMetadata) webComponentMetadata.getContent(); } private void analysisComponentMetadata(WebCommandsMetadata metadata, HashMap cmpList, @@ -173,10 +194,6 @@ class WebCommandMetadataDelete { while (iter.hasNext()) { HashMap.Entry entry = (HashMap.Entry) iter.next(); - if (json.getModule().getServiceRefs() == null) { - json.getModule().setServiceRefs(new ArrayList<>()); - } - HashMap serviceRef = new HashMap<>(); WebComponentMetadata component = (WebComponentMetadata) entry.getValue(); if (component == null) { @@ -223,7 +240,9 @@ class WebCommandMetadataDelete { throw new Exception("获取ts文件名出错,对应的web构件id不能为空。"); } - GspMetadata metadata = MetadataUtility.getInstance().getMetadataWithEnvironment(cmpId, ExecuteEnvironment.Design, false); + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(cmpId, null); + metadataGetterParameter.setTargetMetadataNotFoundMessage("获取web构件元数据为空,对应元数据id为:" + cmpId); + GspMetadata metadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); if (metadata != null) { String path = metadata.getRelativePath(); diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/FormMetadataI18nService.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/FormMetadataI18nService.java index a3be67f0310e112751482707fed9032f1cf64e2e..0a89542a4d2ccc5ebb658a6aa0a0c05037462814 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/FormMetadataI18nService.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/FormMetadataI18nService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/I18nResourceItemManager.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/I18nResourceItemManager.java index b315367ed19dbb7cb1da92271542ea5ac431a3f8..f0cb40623c787efb6556f20abc5b2aba6472e554 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/I18nResourceItemManager.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/I18nResourceItemManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/II18nResource.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/II18nResource.java index c7bd239b062629fd8bfc520e87102bafbd5f8b55..4aadc33e7ce460260ec591905b45b969dd9ec9a0 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/II18nResource.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/II18nResource.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/BaseComponent.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/BaseComponent.java index 190e492a0f044bba7e3b151ab661bb1b5611fed5..9eb502a5a85eba3d641c056b255ce648189be61c 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/BaseComponent.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/BaseComponent.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/ComponentContext.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/ComponentContext.java index d04bc97693919312d706a52ceed7c6a33442168f..1095760d8264c28fec14d2d49ec3c5a296540119 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/ComponentContext.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/ComponentContext.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/ComponentUtility.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/ComponentUtility.java index b38445caca920febaaeb68a9992524c27eac7632..6dbf8b35c8100ac7db37f564e5726bd1cacd307c 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/ComponentUtility.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/ComponentUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/I18nResourceStrategyContext.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/I18nResourceStrategyContext.java index 50ef4e5f38507d0f74780069108885cea389caf5..991fb8de13542fad3ad7d727a5893ecceb477486 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/I18nResourceStrategyContext.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/I18nResourceStrategyContext.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/I18nResourceStrategyFactory.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/I18nResourceStrategyFactory.java index 191f89389aa4052e7a1dc528bc5097e5dc948b02..c29c5a2f7fd7f64184c25ba3ed6081a5469650c6 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/I18nResourceStrategyFactory.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/I18nResourceStrategyFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/I18nResourceUtility.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/I18nResourceUtility.java index e16e5f2d00289d64c93c98a985108fe2030b0902..3c82d5e311071ada28a4ac29c8b3f27fdcdea46e 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/I18nResourceUtility.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/I18nResourceUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/IComponent.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/IComponent.java index 430d10486dd57390cee284ba24059845fa5663ff..33e30384b59d19f2ee093a6e2cfb5f50e139d5f3 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/IComponent.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/IComponent.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component; import java.util.HashMap; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/II18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/II18nResourceStrategy.java index 9e515b9529835e1b2b8d340a3bda1592b6e14595..e93005e4d480608610a1d69e5a503354c03fbd55 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/II18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/II18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/AbstractI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/AbstractI18nResourceStrategy.java index 7dfe047a3dcd9e6b84681c3cd48a024027c40679..88bf4f2888eab6ea2ed49f0684b9d69f22f4d16d 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/AbstractI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/AbstractI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ButtonI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ButtonI18nResourceStrategy.java index d3f3ec4868570de7fd2b449737c9316c49a26b06..1607a5515e1017ab67b12f63ca178a4da27d38f7 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ButtonI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ButtonI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy.ComponentNameFactory; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/CalendarI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/CalendarI18nResourceStrategy.java index d3ab9cd0df7e74c79e5b422e95686baa009357fd..b4290a54f2401204ce5799170fc91c6baa3f12e9 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/CalendarI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/CalendarI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy.ComponentNameFactory; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/CheckGroupI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/CheckGroupI18nResourceStrategy.java index 9de59c22ad3b4624fa7973c866a93cd1c2aec94e..27d89dde708ce91549025cfa7815c2e984789f95 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/CheckGroupI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/CheckGroupI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ComboListI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ComboListI18nResourceStrategy.java index fbe3474e3f1fb9b20b0df193a6012bc266406207..0d2ea86b6e1d7615f4d44cc67c47f96527fce618 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ComboListI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ComboListI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ComboLookupI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ComboLookupI18nResourceStrategy.java index f633af2dfd189cafc211c7836b5115f889beec1f..4e82c23d03a7c9409be29aa11d2909fa9b9da0e9 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ComboLookupI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ComboLookupI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DataGridI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DataGridI18nResourceStrategy.java index 91d9a1508fdd9abe7315dfd1cfcd85832ed30400..fbab21795bb8cc9d1f2734e928cd48834961a9c1 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DataGridI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DataGridI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DateBoxI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DateBoxI18nResourceStrategy.java index 413baa630cdad0e8c6675a635285da96cd3363cd..c4e694ad7a14f32303d57af122e9eaf42cfafc7d 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DateBoxI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DateBoxI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DatePickerI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DatePickerI18nResourceStrategy.java index 5c3ec4c8458d02b0588a71f2caaa4992947949ce..3b97f318f74e2a28895b0291340e490936c0dcaa 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DatePickerI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DatePickerI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DefaultComponentI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DefaultComponentI18nResourceStrategy.java index 75cbe47fed7bf49fb2fda91e137b04ce78ab7c7d..3ebe02679140bfc6ba89d7dfaac823ec38a258a8 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DefaultComponentI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/DefaultComponentI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy.ComponentNameFactory; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/EnumFieldI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/EnumFieldI18nResourceStrategy.java index c33a817552e00ae8d5a9aa4a49f24f628f05e212..921ec2fd79e6b1e346c689e1c47191ba98c60a3b 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/EnumFieldI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/EnumFieldI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/FieldSetI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/FieldSetI18nResourceStrategy.java index 3c763a379753e52819e5af2c9c3f5678be1312f9..edea34daf3664ec3b59c3d3620cdeb7d1a3a0ec7 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/FieldSetI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/FieldSetI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/FileUploadPreviewI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/FileUploadPreviewI18nResourceStrategy.java index 4d27611ac02dea00afc0803e9f5de606da686da8..2ef2db4b5f473b5f795310b3fdefb9c435792f40 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/FileUploadPreviewI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/FileUploadPreviewI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/FooterI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/FooterI18nResourceStrategy.java index 7cb1d8c860f95cf17bd92d136ed1d91af76bf371..3318b0a165af6b5260ba130e6b7be17ceec862b4 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/FooterI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/FooterI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/GridFieldI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/GridFieldI18nResourceStrategy.java index dd3cd4bc981f1fc22204eb061c1761a67896b0eb..aeff00e1fb2456a71e450a812ce0d167e0d7238c 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/GridFieldI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/GridFieldI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/HeaderI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/HeaderI18nResourceStrategy.java index 466e53feb04de15bd19614bf7f3419f0cbcbd3fe..6f588bc5e985168681df0cc8503249a3b52dbb24 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/HeaderI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/HeaderI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/HelpProviderI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/HelpProviderI18nResourceStrategy.java index 0976ba0db221770a0b40deb8be48dad2d60901bd..b8430ed07245c07d92e838246fa58ca416cd12b5 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/HelpProviderI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/HelpProviderI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/HtmlTemplateI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/HtmlTemplateI18nResourceStrategy.java index b3fd2bb45eeba3bc676730a55a02dc914f267f45..d34a10c1a3627004a2c46ed577fbabf5eb102023 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/HtmlTemplateI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/HtmlTemplateI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/InputGroupI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/InputGroupI18nResourceStrategy.java index cb980360e55fdf8cd69d01ccba3ff53e8ea55703..9c733fb96ea4b7631b9137b41580b8cd56c58022 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/InputGroupI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/InputGroupI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/LanguageTextBoxI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/LanguageTextBoxI18nResourceStrategy.java index 6b6504bc8d16acc976d887da6fe1bc8451bf9ef3..709632ee9d08a72baeb72d2d61d1899f512d1bf4 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/LanguageTextBoxI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/LanguageTextBoxI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ListFilterI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ListFilterI18nResourceStrategy.java index 54c1bae7de4d260f9dbd48b6b5e56e071b9c0bdc..7b26274281211d7de42603c805774795794a617e 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ListFilterI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ListFilterI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ListNavI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ListNavI18nResourceStrategy.java index 0c1b62a701072f3cbcd454e27006e9e1252614b9..376a2009ce3fabb32574a89db1e87395793c741e 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ListNavI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ListNavI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy.ComponentNameFactory; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ListViewII18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ListViewII18nResourceStrategy.java index f345be10ad66db5ee04106d1f9d8d980fc64cc81..fadab406d2d1f843f60538b5ef8c2ce645d9719a 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ListViewII18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ListViewII18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/LookupI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/LookupI18nResourceStrategy.java index abd32d082732fa8d8f61f7205863e0b3d777ad81..f26fcac3ee0aaab2d0fd3a75326a4511db629667 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/LookupI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/LookupI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/MultiTextBoxI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/MultiTextBoxI18nResourceStrategy.java index cec5374e31c6faa382ad9f9ec7e69eacabebe3ae..2f22bd25a85f1f778f793fb08edc2b518f225346 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/MultiTextBoxI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/MultiTextBoxI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NavTabI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NavTabI18nResourceStrategy.java index 1d43c9975dca67beef211adfdb6c70329fc85905..89d8d02279ea8ac65fd1ea2a2cba6112ba468906 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NavTabI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NavTabI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NumberRangeI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NumberRangeI18nResourceStrategy.java index 62ac9a2fb28960b3c9470bc61bea125bf23600e5..e4115c62fa53617f232afd7a862e6062706623a4 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NumberRangeI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NumberRangeI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NumberSpinnerI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NumberSpinnerI18nResourceStrategy.java index 8e3e62a2facb4cd617db1c37ec88fd636ca8658a..f07f9ccf55c088ffa70a907fd58f74ecad54d603 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NumberSpinnerI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NumberSpinnerI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NumericBoxI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NumericBoxI18nResourceStrategy.java index 216bf8be264d647e88edcec562fd94482c22e7b6..bb34d217c36fdcaf43d3cdc9a6adec4017fa81d1 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NumericBoxI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/NumericBoxI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/OrganizationSelectorI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/OrganizationSelectorI18nResourceStrategy.java index 6bf367e5d3b49a93519132f3d90326432548e1dc..0c6341e9b5364ebc23027ea7a1957a3ddfb30ad1 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/OrganizationSelectorI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/OrganizationSelectorI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/PersonnelSelectorI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/PersonnelSelectorI18nResourceStrategy.java index 68864d7baeed0829f6ffc9962c408db79005507b..0d702ee18ac8586abd39dc7c66babf104a9d9f0e 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/PersonnelSelectorI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/PersonnelSelectorI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/QueryFrameworkI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/QueryFrameworkI18nResourceStrategy.java index f3433656360316eb483fa1c9ab0a3b61d8870907..457cf0cddc90d5294a9ff3b4af04f2e6236f3d6d 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/QueryFrameworkI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/QueryFrameworkI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy.ComponentNameFactory; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/QuerySchemeI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/QuerySchemeI18nResourceStrategy.java index d7972eafedc513ef0fa31d7cec6c55c8c3f9cb22..b364e3bffcfc011d867062d4d761d830c9029515 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/QuerySchemeI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/QuerySchemeI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/RadioGroupI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/RadioGroupI18nResourceStrategy.java index a3254c1543372ce0dda21486d1604fc91b20cb65..4fbc7b2ee1364284fa7428f23a41e697e100407c 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/RadioGroupI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/RadioGroupI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/RichTextBoxI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/RichTextBoxI18nResourceStrategy.java index db033ee6f5644951082845125159736d36aaa65e..052ee7ac6ba12947c4fc7cee36600ae582316db4 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/RichTextBoxI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/RichTextBoxI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ScrollSpyI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ScrollSpyI18nResourceStrategy.java index cba0e133b1033f1f79a75ebba410714f24d11c42..05da0507b08502a9085e7608015cce450dc065b7 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ScrollSpyI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ScrollSpyI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/SectionI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/SectionI18nResourceStrategy.java index ba38d50daaa19744bf813665955328acb1134853..980ca547dd9ac4adabfa29d2ec67fe4bac6c2188 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/SectionI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/SectionI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TagI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TagI18nResourceStrategy.java index e22313a0dc62efe0732c15798ed3e71a9931299a..e5564fae564ee40fafeaabd22e66fdb3fd256bdb 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TagI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TagI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy.ComponentNameFactory; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TagsI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TagsI18nResourceStrategy.java index 3498545d331776dbd5cec07bcf51ec4448c0dfa0..e1a45fe05ad30b1476ce8bdedd476f1e96e40bb8 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TagsI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TagsI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TextBoxI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TextBoxI18nResourceStrategy.java index c1cb9ede89d60ba7b6a26ca1ec5b72955a2e7294..51e9b030a7b404a74c8b2e0bcad8cf427192677b 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TextBoxI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TextBoxI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TimePickerI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TimePickerI18nResourceStrategy.java index 9a687580663b2f1b5bd9bc83206d44ad1f911497..80b012ba87ca72959b564e0f56d7343fad502e3d 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TimePickerI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TimePickerI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TimeSpinnerI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TimeSpinnerI18nResourceStrategy.java index 4fadcc682ee2d2694422300facef83b596aa81ed..f6f45b8f751acec57efa6fce3dd5fe6ef1bd6c7e 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TimeSpinnerI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/TimeSpinnerI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItemCollection; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ToolBarItemI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ToolBarItemI18nResourceStrategy.java index bf7d0ad60fc4e7fae8b7d802864c223c111a7d4e..24f4d61a3595860642b1f876416c89c4a67a8e1c 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ToolBarItemI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ToolBarItemI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy.ComponentNameFactory; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ViewChangeI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ViewChangeI18nResourceStrategy.java index ed60ba8da021c4523d9a1d1b4821cface6050fa8..24d03cb71aa18a71ce34fa7b0e2d8683014c4dd8 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ViewChangeI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/ViewChangeI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/WizardI18nResourceStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/WizardI18nResourceStrategy.java index d7b0810910845d05057e30c02200a570e70bd6ae..fe5c3b9b5617e482913a9507754baa3d6c3d0cba 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/WizardI18nResourceStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/i18nresourcestrategy/WizardI18nResourceStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.i18nresourcestrategy; import com.inspur.edp.lcm.metadata.api.entity.I18nResourceItem; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/AbstractComponentIdStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/AbstractComponentIdStrategy.java index 70506e7075396accdbd3d09df460c421abd40b05..165cc7deec26c7ccc4350083603e782e45f0e2a3 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/AbstractComponentIdStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/AbstractComponentIdStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.idstrategy; import com.inspur.edp.web.formmetadata.i18n.component.ComponentUtility; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/ComponentIdFactory.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/ComponentIdFactory.java index 1a6916e0fec69ca99eddb869473b360e3f0779b2..aa05f055b87a0823e8d9913fd1220feb95e3c77b 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/ComponentIdFactory.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/ComponentIdFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.idstrategy; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/ComponentIdType.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/ComponentIdType.java index 89a65c2743aee3a81a5bda9830173cd8fd401781..85387ccb5dbf1a62d5ca4249fb431eca7fb2f51b 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/ComponentIdType.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/ComponentIdType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.idstrategy; /** diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/DefaultIdStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/DefaultIdStrategy.java index 2d3af235e37ffa599e8301f042728cc7c65b3d9d..87cb1909fb4805493617958c1e9d571b0469d979 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/DefaultIdStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/DefaultIdStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.idstrategy; import com.inspur.edp.web.formmetadata.i18n.component.strategy.idstrategy.AbstractComponentIdStrategy; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/HtmlTemplateIdStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/HtmlTemplateIdStrategy.java index 4e1c74341315ec5d5f655236fa0ba78040c6ed13..44d6b01c896dfb68698766929707e07e31c2c3d6 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/HtmlTemplateIdStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/HtmlTemplateIdStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.idstrategy; import com.inspur.edp.web.formmetadata.i18n.component.ComponentUtility; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/IComponentIdStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/IComponentIdStrategy.java index c52e307bd183e4ed6525764009ed4f589f46f816..cd254142e01e8fde1cb59cefa64be213c4afb25f 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/IComponentIdStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/idstrategy/IComponentIdStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.idstrategy; import java.util.ArrayList; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/AbstractComponentNameStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/AbstractComponentNameStrategy.java index 8d98509b700c2ad9902dafd77798dea982b945dd..a81abe05871897aa6ec82743e658e76516b5b49b 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/AbstractComponentNameStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/AbstractComponentNameStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy; import com.inspur.edp.web.formmetadata.i18n.component.ComponentUtility; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/CaptionStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/CaptionStrategy.java index a3549a82bb07acc48f396c71434142a04e8c6028..6656a18ea4b927644670545f4b0c464de8ffd4a3 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/CaptionStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/CaptionStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy; import com.inspur.edp.web.formmetadata.i18n.component.ComponentUtility; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/ComponentNameFactory.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/ComponentNameFactory.java index d1f9c095f3acdadd476ab247c81258b0a683252e..6d6c102fd7be63af443ae814d4bfc7ab18dbac1d 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/ComponentNameFactory.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/ComponentNameFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/ComponentNameType.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/ComponentNameType.java index b7c0c5784eae0360888893b5449358b8cfc4243f..f76046173caeddafc3a70c6b207aa1b306a5b406 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/ComponentNameType.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/ComponentNameType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy; /** diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/DefaultNameStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/DefaultNameStrategy.java index a19b35e1462ae1dba84d0792d5e44e678f1b5808..36439510689898a3a09c3e82637bff5ef72d3304 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/DefaultNameStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/DefaultNameStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy; /** diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/IComponentNameStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/IComponentNameStrategy.java index c7501cc5dc028d25b6202f85269d9c1c5ba03733..aabbd4aac5040330af25a9fa0cdca5de95cc6ad6 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/IComponentNameStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/IComponentNameStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy; import java.util.*; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/LabelStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/LabelStrategy.java index c9d9fea62ef81373f7ee81058b537f27d7e27856..cc54b0fb315d68ed5d49fd0b74ed78d21cf98e2a 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/LabelStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/LabelStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy; import com.inspur.edp.web.formmetadata.i18n.component.ComponentUtility; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/PresetQuerySolutionNameStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/PresetQuerySolutionNameStrategy.java index 3386d1081730f65fa9d71f5f86abef025c9a81f2..961a52f7762c550f1ad56be9d978ea7cd1196cad 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/PresetQuerySolutionNameStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/PresetQuerySolutionNameStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy; import com.inspur.edp.web.formmetadata.i18n.component.ComponentUtility; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/QueryNameStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/QueryNameStrategy.java index 83940d393e474e99942e24452b001f4758cb7bf7..d451a4689944b7132765b43d20fac9a52ac9da7b 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/QueryNameStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/QueryNameStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy; import com.inspur.edp.web.formmetadata.i18n.component.ComponentUtility; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/TextStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/TextStrategy.java index 584465d33589ff2d9796a8a7f72f750fc99e6adf..b1970f24c4367ce17b9408bff9daa007b5eb3a0c 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/TextStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/TextStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy; import com.inspur.edp.web.formmetadata.i18n.component.ComponentUtility; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/TitleStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/TitleStrategy.java index ca8823a34651e1ad865a4fc2090dd2c8de4882d4..be66924733a1d0765948601f8253463aded26c06 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/TitleStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/component/strategy/namestrategy/TitleStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.component.strategy.namestrategy; import com.inspur.edp.web.formmetadata.i18n.component.ComponentUtility; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/constant/ComponentType.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/constant/ComponentType.java index f83f766c964c9e16ebf620697bf8438e13dde92e..894619c4b34b79a6219e8916ebcbbffdefeed358 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/constant/ComponentType.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/constant/ComponentType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.constant; /** diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/constant/I18nResourceConstant.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/constant/I18nResourceConstant.java index 3bfe52ea41265f07378841a46af8c4486346381d..e16a67a5a2d7b187e1bd9c64e03e2048e4bf4e58 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/constant/I18nResourceConstant.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/i18n/constant/I18nResourceConstant.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.i18n.constant; public class I18nResourceConstant { diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/initialization/FormMetadataInitialization.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/initialization/FormMetadataInitialization.java index ce12b4b7a3c4b5e313307e9e329e99bd38d249f9..b54ba464a06f4e5d46209a853f0f4e4f6ad59cf8 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/initialization/FormMetadataInitialization.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/initialization/FormMetadataInitialization.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.initialization; import com.inspur.edp.lcm.metadata.spi.MetadataContentManager; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/lic/FormMetadataCreateLicControlListener.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/lic/FormMetadataCreateLicControlListener.java index d691098daecfda72321c3680579816042e3d2bcf..7af76060154b75a2066c9c9b06e81954363f84f5 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/lic/FormMetadataCreateLicControlListener.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/lic/FormMetadataCreateLicControlListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.lic; import com.inspur.edp.lcm.metadata.spi.lic.LicControlExtendForIde; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/lic/ModuleWithMetadataType.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/lic/ModuleWithMetadataType.java index 107126e98cf45b0a1fc3f56ee11a3e8a11fb8635..d011087a39d0e4a4978423dcd99bfcf8bc9bda78 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/lic/ModuleWithMetadataType.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/lic/ModuleWithMetadataType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.lic; import java.util.ArrayList; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/manager/FormMetadataManager.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/manager/FormMetadataManager.java index 7c53821834699cef779460b8381afbc66f0d6dfc..3deafcf897c18471cedcf4f4171b9aef889859e1 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/manager/FormMetadataManager.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/manager/FormMetadataManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.manager; import com.inspur.edp.web.common.entity.ResultMessage; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/FormMetadataContent.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/FormMetadataContent.java index 48cae46a59552370c83984c14d63a21a0c95093a..560ff46a5479756e4346ce4c7a6c91b51016676e 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/FormMetadataContent.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/FormMetadataContent.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.metadata; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/FormMetadataContentService.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/FormMetadataContentService.java index 90b4e412c25d7df606f1f3f4d01f8a78fae8ad11..7bfb70433f257b781d63155e02c3f779119201d7 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/FormMetadataContentService.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/FormMetadataContentService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.metadata; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/formdom/FormDOM.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/formdom/FormDOM.java index 049e1bb27d737b6af12ae2fc7ca88374a8e88524..5f98902c492d535c6a302b1c9e039b26d4b7c2cd 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/formdom/FormDOM.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/formdom/FormDOM.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.metadata.formdom; import com.inspur.edp.web.formmetadata.metadata.module.Module; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/formdom/FormDomService.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/formdom/FormDomService.java index 03284cf082aaae337a30955a3943ad594f908c7d..a281111e348be71179b1a91faa1259ce14471ba4 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/formdom/FormDomService.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/formdom/FormDomService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.metadata.formdom; import com.inspur.edp.web.formmetadata.metadata.module.ModuleService; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/formdom/FormOptions.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/formdom/FormOptions.java index eb6d80d48ea799a09d8f768dce87ba2cd06a12a7..dd46dada8d8d233ecd06f90b7d899b0eca9b17fe 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/formdom/FormOptions.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/formdom/FormOptions.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.metadata.formdom; /** @@ -16,6 +32,19 @@ public class FormOptions { */ private String renderMode = "compile"; + /** + * 数据转换类型 + */ + private boolean paramTypeTransform; + + public boolean isParamTypeTransform() { + return paramTypeTransform; + } + + public void setParamTypeTransform(boolean paramTypeTransform) { + this.paramTypeTransform = paramTypeTransform; + } + public String getRenderMode() { return renderMode; } @@ -48,4 +77,5 @@ public class FormOptions { public boolean isEnableFormJieXi() { return "dynamic".equals(this.renderMode); } + } diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/i18nsetting/I18nSetting.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/i18nsetting/I18nSetting.java index 15b70f6140cabc6028e03efa88ece601dea7adca..e54f1fa925358e63be1a0d067a5fc8dfcaa83cdc 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/i18nsetting/I18nSetting.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/i18nsetting/I18nSetting.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.metadata.i18nsetting; /** diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/languagepackage/LanguagePackage.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/languagepackage/LanguagePackage.java index 7a5f22abc2e0b9ad032bf6564a29731b14b45f20..a60f0d563dcc5adf6851178a9d698e97aabb743c 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/languagepackage/LanguagePackage.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/languagepackage/LanguagePackage.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.metadata.languagepackage; /** diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/module/Module.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/module/Module.java index 16382b14ce56bb66c3427da71f2f2532c582fd38..6c21bce52966c2419a02224494b27db39d07f416 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/module/Module.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/module/Module.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.metadata.module; import com.inspur.edp.web.formmetadata.metadata.i18nsetting.I18nSetting; @@ -70,7 +86,7 @@ public class Module { private String creator; private String creationDate; private String updateVersion; - private String showTitle; + private boolean showTitle; private String bootstrap; public String getCreator() { @@ -97,11 +113,11 @@ public class Module { this.updateVersion = updateVersion; } - public String getShowTitle() { + public boolean getShowTitle() { return showTitle; } - public void setShowTitle(String showTitle) { + public void setShowTitle(boolean showTitle) { this.showTitle = showTitle; } @@ -208,10 +224,25 @@ public class Module { this.expressions = expressions; } + /** + * 对应的工具栏信息 + */ + private HashMap toolbar; + + public final HashMap getToolbar() { + return this.toolbar; + } + + public final void setToolbar(HashMap toolbar) { + this.toolbar = toolbar; + } private ArrayList> serviceRefs; public final ArrayList> getServiceRefs() { + if (this.serviceRefs == null) { + this.serviceRefs = new ArrayList<>(); + } return serviceRefs; } @@ -335,6 +366,15 @@ public class Module { this.declarations = declarations; } + private String metadataId; + + private String getMetadataId() { + return this.metadataId; + } + + public void setMetadataId(String metadataId) { + this.metadataId = metadataId; + } private HashMap customClass; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/module/ModuleService.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/module/ModuleService.java index a366e8be5ce5d8f533ddc533f1f62b6c69a40a50..eacf25de4afcc2425ce1ec82852fdbe60c47bc61 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/module/ModuleService.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/metadata/module/ModuleService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.metadata.module; import java.util.*; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataCmdManager.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataCmdManager.java index dc7cdd519529d183ee0e76958a62608268b804f5..23d7cede493e6c643c16018714cac60bb239d732 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataCmdManager.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataCmdManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication; import com.inspur.edp.cdp.web.component.metadata.define.WebComponentMetadata; @@ -8,8 +24,12 @@ import com.inspur.edp.web.command.component.metadata.CmpMethodRefering; import com.inspur.edp.web.command.component.metadata.WebCommandsMetadata; import com.inspur.edp.web.common.GSPException; import com.inspur.edp.web.common.io.FileUtility; +import com.inspur.edp.web.common.logger.WebLogger; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; +import com.inspur.edp.web.common.metadata.MetadataTypeEnum; import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.common.serialize.SerializeUtility; +import com.inspur.edp.web.common.utility.StringUtility; import com.inspur.edp.web.formmetadata.metadata.formdom.FormDOM; import com.inspur.edp.web.tsfile.api.service.TsFileService; import io.iec.edp.caf.commons.utils.SpringBeanUtils; @@ -35,14 +55,22 @@ public class FormMetadataCmdManager { if (webcmdCollection != null && !webcmdCollection.isEmpty()) { for (HashMap webcmd : webcmdCollection) { String webcmdId = webcmd.containsKey("id") ? webcmd.get("id").toString() : ""; - GspMetadata webCmdMetadata = MetadataUtility.getInstance().getMetadataWithIdAndPath(webcmdId, sourceFormMetadata.getRelativePath()); + if (StringUtility.isNullOrEmpty(webcmdId)) { + WebLogger.Instance.info("表单元数据复制,webcmds节点下,对应的id参数为空。完整的命令信息:" + webcmd); + continue; + } + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(webcmdId, sourceFormMetadata.getRelativePath()); + metadataGetterParameter.setSourceMetadata(sourceFormMetadata, MetadataTypeEnum.Frm); + + GspMetadata webCmdMetadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); if (webCmdMetadata == null) { throw new GSPException("Web_Replicate", "复制表单元数据时,获取命令构件失败。待获取命令构件ID是:" + webcmdId); } WebCommandsMetadata webCommandMetadataContent = (WebCommandsMetadata) webCmdMetadata.getContent(); // 复制自定义命令构件及关联服务构件 - if (webCommandMetadataContent != null && webCommandMetadataContent.getExtendProperty() != null && !webCommandMetadataContent.getExtendProperty().isCommon()) { + if (webCommandMetadataContent != null && webCommandMetadataContent.getExtendProperty() != null && + !webCommandMetadataContent.getExtendProperty().isCommon()) { // 拷贝这个命令构件 MetadataDto webCommandMetadataDto = new MetadataDto(); // TODO:如何保证正确替换code和name @@ -59,23 +87,22 @@ public class FormMetadataCmdManager { webCommandMetadataReplicationContext.setTargetMetadataDescription(webCommandMetadataDto); GspMetadata replicateWebCommandMetadata = MetadataCloneManager.cloneMetadata(webCommandMetadataReplicationContext); - MetadataUtility.getInstance().createMetadata(replicateWebCommandMetadata); + MetadataUtility.getInstance().createMetadataIfNotExists(replicateWebCommandMetadata); // 更新表单内容关联webcmd String oldWebCmdId = webcmd.get("id").toString(); webcmd.put("id", replicateWebCommandMetadata.getHeader().getId()); webcmd.put("name", replicateWebCommandMetadata.getHeader().getFileName()); - // TODO: 具体化实现细节,避免性能问题 // 更新ViewModels中关联webcmd String viewModelCollectionStr = SerializeUtility.getInstance().serialize(replicateFormDOM.getModule().getviewmodels(), false); + // 将viewModel中 替换webCmd viewModelCollectionStr = viewModelCollectionStr.replace(oldWebCmdId, webcmd.get("id").toString()); - ArrayList> temp = new ArrayList<>(); - replicateFormDOM.getModule().setviewmodels(SerializeUtility.getInstance().deserialize(viewModelCollectionStr, temp.getClass())); - //防止找不到Web构件 - String sourceProjectPath = context.getSourceMetadata().getRelativePath(); + replicateFormDOM.getModule().setviewmodels(SerializeUtility.getInstance().deserialize(viewModelCollectionStr, ArrayList.class)); + //统一使用源工程路径查找 - replicateWebCommandMetadata.setRelativePath(sourceProjectPath); + replicateWebCommandMetadata.setRelativePath(context.getSourceMetadata().getRelativePath()); + // 查找自定义命令构件中使用的服务构件 MetadataUtility.getInstance().getReferenceComponentMetadata(replicateWebCommandMetadata, FormMetadataCmdManager::UpdateWebComponentMetadata, context); @@ -101,10 +128,6 @@ public class FormMetadataCmdManager { return; } - MetadataUtility metadataUtility = MetadataUtility.getInstance(); - - // 拷贝这个服务构件 - // 查找指定路径是否存在相同元数据,如果存在使用已有元数据,如果没有则创建一个 MetadataDto webComponentMetadataDto = new MetadataDto(); @@ -114,8 +137,10 @@ public class FormMetadataCmdManager { webComponentMetadataDto.setProjectName(targetMetadataDescription.getProjectName()); webComponentMetadataDto.setRelativePath(targetMetadataDescription.getRelativePath()); + // TODO:替换方式不准确,待优化 - componentMetadata.setExtendProperty(componentMetadata.getExtendProperty().replace(sourceFormMetadata.getHeader().getCode().split(Pattern.quote("_"), -1)[0], targetMetadataDescription.getCode().split(Pattern.quote("_"), -1)[0])); + componentMetadata.setExtendProperty(componentMetadata.getExtendProperty().replace(sourceFormMetadata.getHeader().getCode().split(Pattern.quote("_"), -1)[0], + targetMetadataDescription.getCode().split(Pattern.quote("_"), -1)[0])); MetadataReplicationContext componentMetadataReplicationContext = new MetadataReplicationContext(); componentMetadataReplicationContext.setSourceMetadata(componentMetadata); componentMetadataReplicationContext.setSourceProjectName(metadataReplicationContext.getSourceProjectName()); @@ -125,9 +150,9 @@ public class FormMetadataCmdManager { // TODO:提取RelativePath赋值操作,这样就无需先clone元数据再执行是否存在校验 if (!CheckIfMetadataFileExits(replicateWebComponentMetadata)) { - metadataUtility.createMetadata(replicateWebComponentMetadata); + MetadataUtility.getInstance().createMetadataIfNotExists(replicateWebComponentMetadata); } else { - replicateWebComponentMetadata = metadataUtility.getMetadata(replicateWebComponentMetadata.getHeader().getFileName(), replicateWebComponentMetadata.getRelativePath()); + replicateWebComponentMetadata = MetadataUtility.getInstance().getMetadata(replicateWebComponentMetadata.getHeader().getFileName(), replicateWebComponentMetadata.getRelativePath()); } // 更新命令构件关联的服务构件 @@ -136,43 +161,13 @@ public class FormMetadataCmdManager { methodReferingItem.setComponentName(replicateWebComponentMetadata.getHeader().getName()); methodReferingItem.setComponentPath(replicateWebComponentMetadata.getRelativePath()); - // 获取服务构件关联的文件 - String path = componentMetadataContent.getSource(); - //更新path - if (!path.equals(MetadataUtility.getInstance().getTypeScriptFileName(componentMetadata))) { - path = MetadataUtility.getInstance().getTypeScriptFileName(componentMetadata); - componentMetadataContent.setSource(path); - } - - // 拷贝服务构件关联的文件(.ts文件) - String absolutePath = MetadataUtility.getInstance().getAbsolutePath(path); - String oldFileContent = FileUtility.readAsString(absolutePath); + componentMetadataContent.setName(commandMetadata.getHeader().getName()); - // 更新服务构件 - String targetPath = path; - if (!sourceProjectName.equals(targetMetadataDescription.getProjectName())) { - targetPath = targetPath.replace(sourceProjectName, targetMetadataDescription.getProjectName()); - } - String updateAbsolutPath = MetadataUtility.getInstance().getAbsolutePath(targetPath); - updateAbsolutPath = updateAbsolutPath.replace(componentMetadata.getHeader().getCode(), replicateWebComponentMetadata.getHeader().getCode()); - - File file = new File(updateAbsolutPath); - String filePath = file.getParent(); - String fileName = file.getName(); - - TsFileService tsFileService = SpringBeanUtils.getBean(TsFileService.class); - String oldTsClassName = tsFileService.getTsClassNameByPath(absolutePath); - String newTsClassName = tsFileService.getTsClassNameByPath(fileName); - oldFileContent = oldFileContent.replace(oldTsClassName, newTsClassName); - - FileUtility.writeFile(filePath, fileName, oldFileContent); - - // 更新服务构件 - WebComponentMetadata replicateComponentMetadataContent = (WebComponentMetadata) replicateWebComponentMetadata.getContent(); - replicateComponentMetadataContent.setSource(targetPath); + // 拷贝服务构件关联的文件(.ts文件) + FormMetadataCmpSourceTsFileCloneManager.copy(componentMetadataContent, sourceProjectName, targetMetadataDescription.getProjectName(), componentMetadata, replicateWebComponentMetadata); - metadataUtility.saveMetadata(replicateWebComponentMetadata); + MetadataUtility.getInstance().saveMetadata(replicateWebComponentMetadata); } private static boolean CheckIfMetadataFileExits(GspMetadata metadata) { diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataCmpSourceTsFileCloneManager.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataCmpSourceTsFileCloneManager.java new file mode 100644 index 0000000000000000000000000000000000000000..99128f5ea14d720a4ed11b07698a0ce66b95c832 --- /dev/null +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataCmpSourceTsFileCloneManager.java @@ -0,0 +1,73 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication; + +import com.inspur.edp.cdp.web.component.metadata.define.WebComponentMetadata; +import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; +import com.inspur.edp.web.common.io.FileUtility; +import com.inspur.edp.web.common.metadata.MetadataUtility; +import com.inspur.edp.web.tsfile.api.service.TsFileService; +import io.iec.edp.caf.commons.utils.SpringBeanUtils; + +import java.io.File; + +/** + * 表单构件关联的ts 文件拷贝 + * + * @author guozhiqi + */ +public class FormMetadataCmpSourceTsFileCloneManager { + public static void copy(WebComponentMetadata webComponentMetadata, String sourceProjectName, String targetProjectName, GspMetadata sourceComponentMetadata, GspMetadata replicatedWebComponentMetadata) { + String path = webComponentMetadata.getSource(); + String absolutePath = MetadataUtility.getInstance().getAbsolutePath(path); + + // 如果文件不存在 + if (!FileUtility.exists(absolutePath)) { + return; + } + + String tsSourceFileContent = FileUtility.readAsString(absolutePath); + + // 更新服务构件 + String targetPath = path; + if (!sourceProjectName.equals(targetProjectName)) { + // 调整工程路径参数 + targetPath = targetPath.replace(sourceProjectName, targetProjectName); + } + + String updateAbsolutPath = MetadataUtility.getInstance().getAbsolutePath(targetPath); + updateAbsolutPath = updateAbsolutPath.replace(sourceComponentMetadata.getHeader().getCode(), replicatedWebComponentMetadata.getHeader().getCode()); + + File file = new File(updateAbsolutPath); + String filePath = file.getParent(); + String fileName = file.getName(); + + TsFileService tsFileService = SpringBeanUtils.getBean(TsFileService.class); + String oldTsClassName = tsFileService.getTsClassNameByPath(absolutePath); + String newTsClassName = tsFileService.getTsClassNameByPath(fileName); + tsSourceFileContent = tsSourceFileContent.replace(oldTsClassName, newTsClassName); + + FileUtility.writeFile(filePath, fileName, tsSourceFileContent); + + // 更新服务构件 + WebComponentMetadata replicateComponentMetadataContent = (WebComponentMetadata) replicatedWebComponentMetadata.getContent(); + replicateComponentMetadataContent.setSource(FileUtility.getPlatformIndependentPath(FileUtility.combine(new File(targetPath).getParent(), fileName))); + // 调整 webComponent中的扩展 ts中的class名称 + replicatedWebComponentMetadata.setExtendProperty(replicatedWebComponentMetadata.getExtendProperty().replace(oldTsClassName, newTsClassName)); + replicateComponentMetadataContent.setClassName(newTsClassName); + } +} diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataReplicator.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataReplicator.java index 7a06138d3c6f87ec9f442ce6698bc5d7d71af54c..3fe2e17caefdef0e1a1e122b2ae5e42a88e1ce8a 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataReplicator.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataReplicator.java @@ -1,6 +1,24 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication; +import com.inspur.edp.i18n.resource.api.metadata.LinguisticResource; +import com.inspur.edp.i18n.resource.api.metadata.ResourceItem; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; import com.inspur.edp.lcm.metadata.api.entity.MetadataDto; import com.inspur.edp.web.common.entity.ResultCode; @@ -8,9 +26,12 @@ import com.inspur.edp.web.common.entity.ResultMessage; import com.inspur.edp.web.common.io.FileUtility; import com.inspur.edp.web.common.logger.WebLogger; import com.inspur.edp.web.common.metadata.MetadataUtility; +import com.inspur.edp.web.common.utility.StringUtility; +import com.inspur.edp.web.formmetadata.entity.ResourceMetadataType; import com.inspur.edp.web.formmetadata.metadata.FormMetadataContent; import com.inspur.edp.web.formmetadata.metadata.FormMetadataContentService; import com.inspur.edp.web.formmetadata.metadata.formdom.FormDOM; +import org.apache.commons.lang3.StringUtils; /** * 表单元数据复制器 @@ -22,12 +43,14 @@ public class FormMetadataReplicator { /** * 表单复制接口,目前仅支持同一个BO内复制 + * 针对表单元数据复制,需要判断其是否已存在,如果已经存在,那么不允许其进行复制操作 + * 如果是表单元数据关联的其他元数据,那么不判断其是否已存在,如果已存在,那么执行先删除操作 * - * @param sourceMetadataId 待复制元数据id - * @param sourceMetadataRelativePath 待复制元数据路径 - * @param targetMetadataCode 目标元数据编号 - * @param targetMetadataName 目标元数据名称 - * @param targetProjectName 目标元数据所在工程名称 + * @param sourceFormMetadata 待复制表单元数据 + * @param sourceProjectName 待复制表单元数据所属工程名称 + * @param targetMetadataCode 目标元数据编号 + * @param targetMetadataName 目标元数据名称 + * @param targetProjectName 目标元数据所在工程名称 */ public final ResultMessage replicate(GspMetadata sourceFormMetadata, String sourceProjectName, String targetMetadataCode, String targetMetadataName, String targetProjectName) { @@ -51,10 +74,11 @@ public class FormMetadataReplicator { private ResultMessage executeReplicate(final MetadataReplicationContext context) { GspMetadata sourceFormMetadata = context.getSourceMetadata(); + MetadataDto targetMetadataDescription = context.getTargetMetadataDescription(); GspMetadata replicateFormMetadata = null; try { - // 复制表单元数据 + // 复制表单元数据 为了避免后续保存中间步骤出错,因此针对复制元数据,将里面必须的元数据置空 replicateFormMetadata = MetadataCloneManager.cloneMetadata(context); //执行复制前参数必要验证 @@ -71,13 +95,14 @@ public class FormMetadataReplicator { FileUtility.createDirectory(replicateFormMetadataAbsolutePath); } - // 磁盘中创建表单元数据 - MetadataUtility.getInstance().createMetadata(replicateFormMetadata); - // 更新replicateFormMetadataContent FormMetadataContent replicateFormMetadataContent = (FormMetadataContent) replicateFormMetadata.getContent(); + FormDOM replicateFormDOM = FormMetadataContentService.getInstance().getFormContent(replicateFormMetadataContent); + // 磁盘中创建表单元数据 + MetadataUtility.getInstance().createMetadataIfNotExists(replicateFormMetadata); + // 1. 拷贝VO元数据及关联元数据 FormMetadataVoManager.copyFormMetadataVo(context, sourceFormMetadata, targetMetadataDescription, replicateFormDOM, IsDebug); @@ -92,6 +117,9 @@ public class FormMetadataReplicator { // 前置条件:保存前,对应的元数据文件已存在 MetadataUtility.getInstance().saveMetadata(replicateFormMetadata); + + // 同步复制表单元数据的英文、繁体中文资源元数据 + copyResourceMetadataWithSpecificLanguage(context, sourceFormMetadata, replicateFormMetadata); } catch (RuntimeException ex) { WebLogger.Instance.error("表单复制出现错误," + ex.getMessage() + ex.getStackTrace()); // 执行元数据的清理工作 此处仅删除表单元数据 因此存在表单元数据级联删除动作 @@ -105,4 +133,70 @@ public class FormMetadataReplicator { return ResultCode.success(); } + private static void copyResourceMetadataWithSpecificLanguage(MetadataReplicationContext context, GspMetadata sourceFormMetadata, GspMetadata replicateFormMetadata) { + + String targetZHResourceFileName = ResourceMetadataType.ZH_CH.getFileName(sourceFormMetadata.getHeader().getFileName()); + if (!MetadataUtility.getInstance().isMetaDataExistsWithMetadataPathAndFileName(sourceFormMetadata.getRelativePath(), targetZHResourceFileName)) { + return; + } + + GspMetadata zhResourceMetadata = MetadataUtility.getInstance().getMetadata(targetZHResourceFileName, sourceFormMetadata.getRelativePath()); + + // 由于直接拷贝的资源元数据的relativepath 不正确 进行调整 + zhResourceMetadata.setRelativePath(sourceFormMetadata.getRelativePath()); + MetadataUtility.getInstance().saveMetadata(zhResourceMetadata); + + // 拷贝对应的资源元数据 + copyResourceMetadataWithSpecificLanguage(context, sourceFormMetadata, replicateFormMetadata, zhResourceMetadata, ResourceMetadataType.EN); + copyResourceMetadataWithSpecificLanguage(context, sourceFormMetadata, replicateFormMetadata, zhResourceMetadata, ResourceMetadataType.ZH_CHT); + } + + private static void copyResourceMetadataWithSpecificLanguage(MetadataReplicationContext context, GspMetadata sourceFormMetadata, + GspMetadata replicateFormMetadata, GspMetadata zhResourceMetadata, + ResourceMetadataType resourceMetadataType) { + String sourceResourceFileName = resourceMetadataType.getFileName(sourceFormMetadata.getHeader().getFileName()); + String targetResourceFileName = resourceMetadataType.getFileName(replicateFormMetadata.getHeader().getFileName()); + + if (MetadataUtility.getInstance().isMetaDataExistsWithMetadataPathAndFileName(sourceFormMetadata.getRelativePath(), sourceResourceFileName)) { + GspMetadata resourceMetadata = MetadataUtility.getInstance().getMetadata(sourceResourceFileName, sourceFormMetadata.getRelativePath()); + MetadataReplicationContext resourceContext = MetadataReplicationContextService.create(context.getSourceProjectName(), resourceMetadata, replicateFormMetadata.getHeader().getCode() + resourceMetadataType.getSuffixWithoutResExtension(), + replicateFormMetadata.getHeader().getName() + resourceMetadataType.getSuffixWithoutResExtension(), context.getSourceProjectName()); + resourceContext.setTargetFileName(targetResourceFileName); + GspMetadata targetResourceMetadata = MetadataCloneManager.cloneMetadata(resourceContext); + + // 调整依赖的资源元数据参数 + LinguisticResource resourceContent = (LinguisticResource) targetResourceMetadata.getContent(); + resourceContent.getRefMetadataInfo().setId(zhResourceMetadata.getHeader().getId()); + resourceContent.getRefMetadataInfo().setCode(zhResourceMetadata.getHeader().getCode()); + resourceContent.getRefMetadataInfo().setName(zhResourceMetadata.getHeader().getName()); + resourceContent.getRefMetadataInfo().setFileName(zhResourceMetadata.getHeader().getFileName()); + + String resourceNameSpace = targetResourceMetadata.getHeader().getNameSpace(); + // 调整对应的命令空间参数 + if (resourceContent.getStringResources() != null) { + for (ResourceItem item : resourceContent.getStringResources()) { + if (item.getId().indexOf(resourceNameSpace) == 0) { + // 表示以namespace 开头 主要是调整中间的表单code部分 + // Inspur.GS.noahtest.runtimehelp.formcopy.formcopy.Front.formcopyForm.Form.root-layout + String subResult = item.getId().substring(resourceNameSpace.length() + 1); + if (StringUtility.isNotNullOrEmpty(subResult)) { + String[] splitResult = subResult.split(java.util.regex.Pattern.quote("."), -1); + if (splitResult != null && splitResult.length > 0) { + splitResult[0] = replicateFormMetadata.getHeader().getCode(); + // 重新进行组合 + String generateResult = resourceNameSpace + "." + StringUtils.join(splitResult, "."); + item.setId(generateResult); + } + } + + } + } + } + + + // MetadataUtility.getInstance().createMetadataIfNotExists(targetResourceMetadata); + MetadataUtility.getInstance().saveMetadata(targetResourceMetadata); + } + } + } diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataSmManager.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataSmManager.java index dcfe97b418c20375966f6d9d41189beb8cd9ed0c..a7fe19d8e3d6b0c9c0cf6e3187705ed515505ce6 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataSmManager.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataSmManager.java @@ -1,7 +1,25 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; import com.inspur.edp.lcm.metadata.api.entity.MetadataDto; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; +import com.inspur.edp.web.common.metadata.MetadataTypeEnum; import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.common.utility.StringUtility; import com.inspur.edp.web.formmetadata.metadata.formdom.FormDOM; @@ -25,7 +43,9 @@ class FormMetadataSmManager { if (StringUtility.isNullOrEmpty(stateMachineId)) { continue; } - GspMetadata stateMachineMetadata = MetadataUtility.getInstance().getMetadataWithIdAndPath(stateMachineId, sourceFormMetadata.getRelativePath()); + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(stateMachineId, sourceFormMetadata.getRelativePath()); + metadataGetterParameter.setSourceMetadata(sourceFormMetadata, MetadataTypeEnum.Frm); + GspMetadata stateMachineMetadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); MetadataDto stateMachineMetadataDto = new MetadataDto(); stateMachineMetadataDto.setCode(stateMachineMetadata.getHeader().getCode().replace(sourceFormMetadata.getHeader().getCode(), targetMetadataDescription.getCode())); stateMachineMetadataDto.setName(stateMachineMetadata.getHeader().getName().replace(sourceFormMetadata.getHeader().getName(), targetMetadataDescription.getName())); @@ -39,7 +59,7 @@ class FormMetadataSmManager { stateMachineMetadataReplicationContext.setTargetMetadataDescription(stateMachineMetadataDto); GspMetadata replicateStateMachineMetadata = MetadataCloneManager.cloneMetadata(stateMachineMetadataReplicationContext); - MetadataUtility.getInstance().createMetadata(replicateStateMachineMetadata); + MetadataUtility.getInstance().createMetadataIfNotExists(replicateStateMachineMetadata); MetadataUtility.getInstance().saveMetadata(replicateStateMachineMetadata); //原stateMachineId diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataVoManager.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataVoManager.java index 8e246b00f1fa0a83ba358c064636ab1a631ceede..ca512b56620e1f2b2e17cb9dbf90a6f21dc84949 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataVoManager.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/FormMetadataVoManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; @@ -5,6 +21,8 @@ import com.inspur.edp.lcm.metadata.api.entity.MetadataDto; import com.inspur.edp.sgf.api.common.ResourceType; import com.inspur.edp.sgf.api.entity.SgMetadata; import com.inspur.edp.sgf.api.service.EapiMetadataDtService; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; +import com.inspur.edp.web.common.metadata.MetadataTypeEnum; import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.common.utility.StringUtility; import com.inspur.edp.web.formmetadata.metadata.formdom.FormDOM; @@ -31,7 +49,10 @@ class FormMetadataVoManager { // 如果不存在对应的voId 那么无法进行vo拷贝 continue; } - GspMetadata viewObjectMetadata = MetadataUtility.getInstance().getMetadataWithIdAndPath(viewObjectId, sourceFormMetadata.getRelativePath()); + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(viewObjectId, sourceFormMetadata.getRelativePath()); + metadataGetterParameter.setSourceMetadata(sourceFormMetadata, MetadataTypeEnum.Frm); + + GspMetadata viewObjectMetadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); if (viewObjectMetadata == null) { throw new RuntimeException("根据VoId获取对应元数据为空,对应voId为:" + viewObjectId); } @@ -49,17 +70,14 @@ class FormMetadataVoManager { // 复制vo元数据 GspMetadata replicateViewObjectMetadata = MetadataCloneManager.cloneMetadata(viewObjectMetadataReplicationContext); - MetadataUtility.getInstance().createMetadata(replicateViewObjectMetadata); + // 为了避免删除vo元数据时依赖eapi 先进行删除eapi + MetadataUtility.getInstance().createMetadataIfNotExists(replicateViewObjectMetadata); MetadataUtility.getInstance().saveMetadata(replicateViewObjectMetadata); // 更新表单内容关联VO schema.put("id", replicateViewObjectMetadata.getHeader().getId()); - // 1.2 基于VO创建eapi - if (isDebug) { - System.out.println("viewObjectMetadata.RelativePath: " + replicateViewObjectMetadata.getRelativePath()); - } EapiMetadataDtService eapiMetadataDtService = SpringBeanUtils.getBean(EapiMetadataDtService.class); GspMetadata metadata = eapiMetadataDtService.create(replicateViewObjectMetadata, replicateViewObjectMetadata.getRelativePath(), ResourceType.VO_ADVANCE); diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetaDataReplicateBeforeValidator.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetaDataReplicateBeforeValidator.java index e81be8f032cc693dd3543c29db4a4172a77b1d2b..94f43b7b8c5d4c60e967cc771107a10c8f999838 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetaDataReplicateBeforeValidator.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetaDataReplicateBeforeValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; @@ -23,7 +39,7 @@ class MetaDataReplicateBeforeValidator { // 判断目标元数据是否存在 boolean isExists = MetadataUtility.getInstance().isMetaDataExistsWithMetadataPathAndFileName(targetMetaData.getRelativePath(), targetMetaData.getHeader().getFileName()); if (isExists) { - resultMessage = ResultCode.info("目标元数据存在,无法进行复制。对应目标元数据名称:" + targetMetaData.getHeader().getFileName() + ",所属工程路径:" + targetMetaData.getRelativePath()); + resultMessage = ResultCode.info("目标元数据存在,无法进行复制。对应目标元数据名称:" + targetMetaData.getHeader().getName() + ",所属工程路径:" + targetMetaData.getRelativePath()); return resultMessage; } diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataCloneManager.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataCloneManager.java index 4bcd24b11574c0e88e6c177e0ac5c3df85c75a70..d1a0a79ad835ff9a6f2e5f76b73fc8c73c9772b7 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataCloneManager.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataCloneManager.java @@ -1,9 +1,26 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication; import com.inspur.edp.lcm.metadata.api.IMetadataContent; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; import com.inspur.edp.lcm.metadata.api.entity.MetadataDto; import com.inspur.edp.web.common.GSPException; +import com.inspur.edp.web.common.io.FileUtility; import com.inspur.edp.web.common.utility.StringUtility; import com.inspur.edp.web.formmetadata.replication.adjust.CloneAdjustStrategyFactory; @@ -36,8 +53,14 @@ class MetadataCloneManager { // 检测 MetadataDto if (StringUtility.isNotNullOrEmpty(metadataDto.getCode()) && StringUtility.isNullOrEmpty(metadataDto.getFileName())) { - String fileSuffix = sourceMetadata.getHeader().getFileName().substring(sourceMetadata.getHeader().getFileName().lastIndexOf(".")); - metadataDto.setFileName(metadataDto.getCode() + fileSuffix); + + if (StringUtility.isNullOrEmpty(metadataReplicationContext.getTargetFileName())) { + String fileSuffix = FileUtility.getFileExtension(sourceMetadata.getHeader().getFileName()); + metadataDto.setFileName(metadataDto.getCode() + fileSuffix); + } else { + metadataDto.setFileName(metadataReplicationContext.getTargetFileName()); + } + } GspMetadata replicateMetadata = new GspMetadata(); // 复制MetadataHeader diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataContentCloneManager.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataContentCloneManager.java index 1538e1e088c91fd017e8a3e27fd5edde181d472c..55fca7f1621ffaffd82553928b794fd449961d35 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataContentCloneManager.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataContentCloneManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataHeaderCloneManager.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataHeaderCloneManager.java index 29927331f9b9499143af36d8d05496f24d8c8bdc..d6c2a957cd8de024a9ffbff990b8b194ca1415c2 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataHeaderCloneManager.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataHeaderCloneManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; @@ -16,6 +32,7 @@ import java.util.UUID; class MetadataHeaderCloneManager { /** * 构造target metadata header + * * @param sourceMetadata * @param metadataDto * @return @@ -41,6 +58,8 @@ class MetadataHeaderCloneManager { targetMetadataHeader.setBizobjectID(sourceMetadata.getHeader().getBizobjectID()); targetMetadataHeader.setLanguage(sourceMetadata.getHeader().getLanguage()); targetMetadataHeader.setTranslating(sourceMetadata.getHeader().isTranslating()); + // 配置是否允许扩展 + targetMetadataHeader.setExtendable(sourceMetadata.getHeader().isExtendable()); return targetMetadataHeader; } diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataReplicationContext.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataReplicationContext.java index 11bc43bf67dfbcc9f4a208180b4707ea11eaf6b6..ea7adc3d621204258f5886989b23a33ea44b5ee5 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataReplicationContext.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataReplicationContext.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; @@ -6,6 +22,7 @@ import com.inspur.edp.lcm.metadata.api.entity.MetadataDto; /** * 表单复制传递上下文参数 + * * @author guozhiqi */ public final class MetadataReplicationContext { @@ -48,6 +65,19 @@ public final class MetadataReplicationContext { this.targetMetadataDescription = value; } + /** + * 获取目标元数据文件的名称 + */ + private String targetFileName; + + public void setTargetFileName(String targetFileSuffix) { + this.targetFileName = targetFileSuffix; + } + + public String getTargetFileName() { + return this.targetFileName; + } + public MetadataReplicationContext() { } diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataReplicationContextService.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataReplicationContextService.java index 1ce769425e6cc70770a57de7fc60e67fb279deec..8a756b29d0c8134ea9bafac4fcb2f2262d8f1a46 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataReplicationContextService.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/MetadataReplicationContextService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/ProjectInformationManager.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/ProjectInformationManager.java index 61b827478cf40b61f42fd47a3b78b0f37a6facd2..cad720278f55320d73a45a2900b44ca87921a293 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/ProjectInformationManager.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/ProjectInformationManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/CloneAdjustStrategyFactory.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/CloneAdjustStrategyFactory.java index 196251bc675dac6c100436c186c91b56addb9660..70f8cc7550684d35f134a603f01c09ee38bd584c 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/CloneAdjustStrategyFactory.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/CloneAdjustStrategyFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication.adjust; import com.inspur.edp.cdp.web.component.metadata.define.WebComponentMetadata; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/DefaultCloneAdjustStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/DefaultCloneAdjustStrategy.java index c4175274ac604b7cda19b4ed452b66256b4f7db6..22a27e259049c51f29481ecf56d70f7ecdc8cfb4 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/DefaultCloneAdjustStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/DefaultCloneAdjustStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication.adjust; import com.inspur.edp.lcm.metadata.api.IMetadataContent; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/FormMetadataCloneAdjustStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/FormMetadataCloneAdjustStrategy.java index 6fb81222b33a74364c09a5477ff4f8065e8f0145..2f98c4b72be5d410b993268d1da0bb97bfbaebe5 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/FormMetadataCloneAdjustStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/FormMetadataCloneAdjustStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication.adjust; import com.inspur.edp.formserver.viewmodel.GspViewModel; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/GspMetadataCloneAdjustStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/GspMetadataCloneAdjustStrategy.java index 1ab22115fc4b265fccad4dc1c23749233421804d..a022389ce9bc15a8ff0dc04af11d9337d41f5e70 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/GspMetadataCloneAdjustStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/GspMetadataCloneAdjustStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication.adjust; import com.inspur.edp.lcm.metadata.api.IMetadataContent; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/GspViewModelCloneAdjustStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/GspViewModelCloneAdjustStrategy.java index bc5fd5cbc38e7bb314eb3564853e0548b5e2b49b..7ca659ef9b1c677f470abedf3ad2f29b6b77fecf 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/GspViewModelCloneAdjustStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/GspViewModelCloneAdjustStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication.adjust; import com.inspur.edp.formserver.viewmodel.GspViewModel; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/WebCommandsMetadataCloneAdjustStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/WebCommandsMetadataCloneAdjustStrategy.java index 9d87f19713492bdcc1ff01dd0163955d622871a5..503eac923733bac33293094b9a22cd1a9f1e122a 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/WebCommandsMetadataCloneAdjustStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/WebCommandsMetadataCloneAdjustStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication.adjust; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/WebComponentMetadataCloneAdjustStrategy.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/WebComponentMetadataCloneAdjustStrategy.java index d37083e9530e54a9324d223f377da03552718f1f..72ad50e1f920ed4b0b95b61364af691f616815b7 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/WebComponentMetadataCloneAdjustStrategy.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/replication/adjust/WebComponentMetadataCloneAdjustStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.replication.adjust; import com.inspur.edp.cdp.web.component.metadata.define.WebComponentMetadata; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/serializer/FormMetadataContentSerializer.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/serializer/FormMetadataContentSerializer.java index 4da31e9503d29da185ce0c9b3cb76adf86abca89..5386fdd7ed379757e5031b6805ab04af1453db5d 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/serializer/FormMetadataContentSerializer.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/serializer/FormMetadataContentSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.serializer; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/serializer/FormMetadataJsonSerializer.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/serializer/FormMetadataJsonSerializer.java index decf6202e6c4918c412b17c32b5307b3010f8776..dd09b31ba957d90728d8cbfe78d00f779f3a5488 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/serializer/FormMetadataJsonSerializer.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/serializer/FormMetadataJsonSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.serializer; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/serializer/FormMetadataTransferSerializer.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/serializer/FormMetadataTransferSerializer.java index 2022bdb9ba7f42613f25bc35d08f3e2e441f8a5c..c295d4f1ff4c3c9055eb07612d1305c3a55bc0e5 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/serializer/FormMetadataTransferSerializer.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/serializer/FormMetadataTransferSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.serializer; import com.fasterxml.jackson.databind.PropertyNamingStrategy; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/service/FormMetadataCommonServiceImpl.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/service/FormMetadataCommonServiceImpl.java index 2f37a6037146a021388c1de820e420b50261cc33..6b7782db7b6db53748aa65a119cb96c676ac54e7 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/service/FormMetadataCommonServiceImpl.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/service/FormMetadataCommonServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.service; diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/service/FormMetadataRTService.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/service/FormMetadataRTService.java index 563fdf62d8ff65c6b3cb2620e0098eff159730fe..173b031a3bddbb7936eb1f3d328d0412cb023054 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/service/FormMetadataRTService.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/service/FormMetadataRTService.java @@ -1,6 +1,24 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.service; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; +import com.inspur.edp.web.common.metadata.MetadataTypeEnum; import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.formmetadata.entity.FormRelateViewModelEntity; import com.inspur.edp.web.formmetadata.metadata.FormMetadataContentService; @@ -37,7 +55,9 @@ public class FormMetadataRTService { formMetadataList.forEach(formMetadata -> { // 如果对应的表单元数据内容为空 那么根据id重新获取对应元数据 if (formMetadata.getContent() == null) { - formMetadata = MetadataUtility.getInstance().getMetadataWithIdAndPath(formMetadata.getHeader().getId(), formMetadata.getRelativePath()); + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(formMetadata.getHeader().getId(), formMetadata.getRelativePath()); + metadataGetterParameter.setSourceMetadata(viewModelMetadata, MetadataTypeEnum.ViewModel); + formMetadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); } FormMetadataContentService.ParameterFromMetadataResult formParameter = FormMetadataContentService.getInstance().getParameterFromFormMetadata(formMetadata); // 为了应对一个viewModel可能对应多个表单的情况 diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/service/FormMetataService.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/service/FormMetataService.java index eb072320cd05b018bca413e31b646c0f5ddf3197..c81fc5995dffe47e3587d888d70b66d333a2ae8e 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/service/FormMetataService.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/service/FormMetataService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.service; import com.inspur.edp.i18n.resource.api.II18nResourceDTManager; @@ -10,9 +26,11 @@ import com.inspur.edp.lcm.metadata.api.entity.MetadataHeader; import com.inspur.edp.lcm.metadata.api.exception.MetadataNotFoundException; import com.inspur.edp.lcm.metadata.api.service.MetadataService; import com.inspur.edp.web.common.GSPException; +import com.inspur.edp.web.common.entity.ResultCode; import com.inspur.edp.web.common.entity.ResultMessage; import com.inspur.edp.web.common.io.FileUtility; import com.inspur.edp.web.common.logger.WebLogger; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.common.serialize.SerializeUtility; import com.inspur.edp.web.common.utility.StringUtility; @@ -274,7 +292,14 @@ public class FormMetataService { } //根据当前表单元数据id 获取对应的元数据信息 - GspMetadata sourceFormMetadata = MetadataUtility.getInstance().getMetadataWithIdAndPath(sourceMetadataId, sourceMetadataRelativePath); + // 判断当前表单元数据是否不存在 + if (!MetadataUtility.getInstance().isMetaDataExistsWithMetadataIDAndPath(sourceMetadataRelativePath, sourceMetadataId)) { + return ResultCode.info("待复制的表单元数据不存在,请确认该元数据是否已被删除。"); + } + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(sourceMetadataId, sourceMetadataRelativePath); + metadataGetterParameter.setTargetMetadataNotFoundMessage("表单复制失败,待复制的表单元数据不存在,请确认该元数据是否已被删除。"); + + GspMetadata sourceFormMetadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); if (sourceFormMetadata == null) { throw new GSPException("Web_Replicate", "表单复制,获取元数据为空。待获取元数据ID是:" + sourceMetadataId); } diff --git a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/webservice/FormMetadataWebServiceImpl.java b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/webservice/FormMetadataWebServiceImpl.java index 52385c885a73028e8932cd616caa6bced286e5c6..065a6c4be241fa28ec24e4ad40ae1919c35cef43 100644 --- a/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/webservice/FormMetadataWebServiceImpl.java +++ b/web-form-metadata/src/main/java/com/inspur/edp/web/formmetadata/webservice/FormMetadataWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.formmetadata.webservice; import com.inspur.edp.web.common.entity.ResultCode; diff --git a/web-form-metadata/src/test/java/com/inspur/edp/web/formmetadata/replication/FormMetadataCmdManagerTest.java b/web-form-metadata/src/test/java/com/inspur/edp/web/formmetadata/replication/FormMetadataCmdManagerTest.java new file mode 100644 index 0000000000000000000000000000000000000000..dbbcf32f162018fbe5bc24b94021f61ad976abee --- /dev/null +++ b/web-form-metadata/src/test/java/com/inspur/edp/web/formmetadata/replication/FormMetadataCmdManagerTest.java @@ -0,0 +1,22 @@ +package com.inspur.edp.web.formmetadata.replication; + +import com.inspur.edp.web.common.io.FileUtility; +import org.junit.Test; + +import java.io.File; + +import static org.junit.Assert.*; + +public class FormMetadataCmdManagerTest { + @Test + public void test() { + String source = "noahguozhiqinoah"; + String replaceResult = source.replace("noah", "郭志奇"); + System.out.println(replaceResult); + + File file = new File("dd/ffff.txt"); + System.out.println(file.getName()); + + System.out.println(FileUtility.combine(new File("dd/dddsdsd/fff.txt").getParent(), file.getName())); + } +} \ No newline at end of file diff --git a/web-form-metadata/src/test/java/com/inspur/edp/web/formmetadata/replication/FormMetadataReplicatorTest.java b/web-form-metadata/src/test/java/com/inspur/edp/web/formmetadata/replication/FormMetadataReplicatorTest.java index 4a9fc368d0d7eecb5411da1cbd960d30b6015474..80757619a364dd626ac4e600189ed27c7be51ea7 100644 --- a/web-form-metadata/src/test/java/com/inspur/edp/web/formmetadata/replication/FormMetadataReplicatorTest.java +++ b/web-form-metadata/src/test/java/com/inspur/edp/web/formmetadata/replication/FormMetadataReplicatorTest.java @@ -1,7 +1,12 @@ package com.inspur.edp.web.formmetadata.replication; +import com.inspur.edp.web.common.io.FileUtility; +import org.apache.commons.lang3.StringUtils; import org.junit.Test; +import java.io.File; +import java.util.Arrays; + import static org.junit.Assert.*; public class FormMetadataReplicatorTest { @@ -11,10 +16,10 @@ public class FormMetadataReplicatorTest { @Test public void test() { try { - String source=""; + String source = ""; this.testException(); } catch (Exception ex) { - source=""; + source = ""; System.out.println("出现了异常 " + ex.getMessage()); } @@ -22,6 +27,31 @@ public class FormMetadataReplicatorTest { } + @Test + public void testSubString() { + String strNameSpace = "Inspur.GS.noahtest.runtimehelp.formcopy.formcopy.Front"; + String resource = "Inspur.GS.noahtest.runtimehelp.formcopy.formcopy.Front.formcopyForm.Form.root-component"; + System.out.println(resource.substring(strNameSpace.length()) + 1); + + String subStringResult = resource.substring(strNameSpace.length() + 1); + String[] arr = subStringResult.split(java.util.regex.Pattern.quote("."), -1); + System.out.println(arr.length); + System.out.println(Arrays.toString(arr)); + + System.out.println(StringUtils.join(arr,".")); + + String result = strNameSpace + StringUtils.join(arr, "."); + System.out.println(result); + + } + + @Test + public void testFileExtension() { + String fileName = "formcopyForm.frm.en.lres"; + File file = new File(fileName); + System.out.println(FileUtility.getFileExtension(fileName)); + } + public void testException() { try { source = "noah try"; diff --git a/web-form-process-api/pom.xml b/web-form-process-api/pom.xml index 306327b8c4409f064b67b6de9a3ca089e53a66f6..c3c45db18889fb27af4769026b34dee0ac7c1bec 100644 --- a/web-form-process-api/pom.xml +++ b/web-form-process-api/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-form-process/pom.xml b/web-form-process/pom.xml index 854fdd3c7ae0aa2dcd67b3589cb5e27d47c0fc68..d855fae682300df87db5ee8f774f4d63122e441e 100644 --- a/web-form-process/pom.xml +++ b/web-form-process/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-frontendproject-api/pom.xml b/web-frontendproject-api/pom.xml index 3aea78937a202474386a8b443e3bbdffd163e9ad..83623f8f26d1464164603f3bae054913f1d9191a 100644 --- a/web-frontendproject-api/pom.xml +++ b/web-frontendproject-api/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/ChosenFormItem.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/ChosenFormItem.java index ed00babe359335007d28c9ac363a044667675192..e3e46599730ced69b99bd9e3651f3dab0af3cd2d 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/ChosenFormItem.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/ChosenFormItem.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.entity; import lombok.Data; diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/ChosenFormList.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/ChosenFormList.java index 93390c06aab7b957a2b09ab4266358f6622a705c..66c10d5e8ff3e8be663d46d6b647f4773804e5c4 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/ChosenFormList.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/ChosenFormList.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.entity; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/FrontendProjectGenerateParameter.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/FrontendProjectGenerateParameter.java index b6072e476de23963e06053b6213469aac817c233..cd6c6fe14400d41e3a9411fe40e10f9e8da62a2a 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/FrontendProjectGenerateParameter.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/FrontendProjectGenerateParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.entity; /** diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/resolver/ResolveFormMetadataItem.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/resolver/ResolveFormMetadataItem.java index 2e71be067fae84011ebdc94d33705940c274c062..41788d2c093b83446b9a040ab5e83a0de545cb7a 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/resolver/ResolveFormMetadataItem.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/resolver/ResolveFormMetadataItem.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.entity.resolver; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/resolver/ResolveFormMetadataList.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/resolver/ResolveFormMetadataList.java index 08d8d69e3cb46b49fe1502c44400867a7ba4a25f..a21565abab630a50494c4a80807c564a5e5629c0 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/resolver/ResolveFormMetadataList.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/entity/resolver/ResolveFormMetadataList.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.entity.resolver; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/FormDynamicParameter.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/FormDynamicParameter.java index 6ee5c11fe4a268e3d604ad74e72132edf7254ebf..e17f25b9dba2b0b1bc5fd2986e984912bc1c5659 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/FormDynamicParameter.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/FormDynamicParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.webservice; /** diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/FormMetadataDebugUriWebService.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/FormMetadataDebugUriWebService.java index a16e6d30496a01677786e17214ce748f415119f3..8112f94d1aa52f02cf73585b84ee983da702c419 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/FormMetadataDebugUriWebService.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/FormMetadataDebugUriWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.webservice; import javax.ws.rs.GET; diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/FrontendProjectWebService.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/FrontendProjectWebService.java index 1d582cfe99156781922528f542e44cb26e95aef7..40fb3e248ed7c642f8df73c4474b7cae41c6fb1b 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/FrontendProjectWebService.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/FrontendProjectWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.webservice; import com.inspur.edp.web.common.entity.ResultMessage; diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/ZeroCodeWebService.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/ZeroCodeWebService.java index 71a4f2c14471880793fbdf17b28cedcbee93b2e9..d6cf2b7ab21735ee0f3b4c03f49cec5a84d172ba 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/ZeroCodeWebService.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/webservice/ZeroCodeWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.webservice; import com.inspur.edp.web.common.entity.ResultMessage; diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeFormFormatParameter.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeFormFormatParameter.java index a880afa92a49481d1646e62d9c7375cd9a9e12d7..dc4fddf16e2e2ca958ff52eda3ac42e28b3597ce 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeFormFormatParameter.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeFormFormatParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode; import com.inspur.edp.lcm.metadata.api.IMetadataContent; diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeFormParameter.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeFormParameter.java index 5b96d7819a8723b99ae51f28f0392e9a854e6fa4..a3252ead44c1695c6a748728dd38747e94b97ee4 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeFormParameter.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeFormParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode; import com.inspur.edp.lcm.metadata.api.IMetadataContent; diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeFormRefMetadataParameter.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeFormRefMetadataParameter.java index 0a2c364122f118bf4cd2e7c6db0e8d3ea80983e1..c81265b24dd2a5d56e963104514ee09213cd8a7d 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeFormRefMetadataParameter.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeFormRefMetadataParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeParameter.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeParameter.java index 38f4311f6675a3cb8978595f963b4bb4f6651a99..e2ea7b56bdc05828c7921b979b4988f9af2815cf 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeParameter.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode; import com.inspur.edp.web.common.entity.TerminalType; diff --git a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeService.java b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeService.java index 0c8649cc082af9dc9901c11a6f944c2b753992a0..b8241aaac88ff293be8219adcd8fc0697a8b96db 100644 --- a/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeService.java +++ b/web-frontendproject-api/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode; /** diff --git a/web-frontendproject/pom.xml b/web-frontendproject/pom.xml index 110156cf843906789a63436b6e5da51a49450c9c..032f6c8c065c366b9861e75b93b9837e6ffd50fa 100644 --- a/web-frontendproject/pom.xml +++ b/web-frontendproject/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectCompiler.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectCompiler.java index 38c66da57dfa8560cae752ba2fc390900cb68fa9..b83d5018215f01cfa8a3501d73bb08f42e001a8e 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectCompiler.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectCompiler.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectDeployer.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectDeployer.java index e5dee38578537ee68497a75c1547e26027dadf0d..32c5a96f23168d63a57644cfb3e5d2e8019764d7 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectDeployer.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectDeployer.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject; import com.inspur.edp.ide.setting.api.entity.Deployment; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectExtractor.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectExtractor.java index 5e39669bf84a7dbac14f70e0bf6e799ab307aa3c..5baabad88c5bf546309336f4065c99edc68307f5 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectExtractor.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectExtractor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject; import com.inspur.edp.lcm.metadata.api.entity.ExtractContext; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectManager.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectManager.java index 98a14705eb4ae3b1be7fc2239c56bca1bbf80f69..86c4eea72a232d716d19af5832b77d555f3168f8 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectManager.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject; import com.inspur.edp.web.common.entity.ResultCode; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectService.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectService.java index 8eb3d41a60a520d2bee367952750933e9691512b..e0d67144dc204f23ca5563e9e0abc16a44d25263 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectService.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject; import com.inspur.edp.web.common.GSPException; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectUtility.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectUtility.java index 6b2ad741b4739e674aa28c6e30c2e4f1ffcbf0c9..b870d1dc9afa13b14cbf5680c1f4647bb71b3a38 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectUtility.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/FrontendProjectUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/NpmPackageCheckUpdate.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/NpmPackageCheckUpdate.java index 9c0e69f15cdf0a3f10c7901cf16cda6c22076132..6afb26274fb5e36e5258a84c72bf28dbcd878572 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/NpmPackageCheckUpdate.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/NpmPackageCheckUpdate.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject; import com.inspur.edp.web.npmpackage.api.entity.NpmPackageResponse; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/build/FrontendProjectBuild.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/build/FrontendProjectBuild.java index f047122d3c299244a480b54883427767fedee2a0..cb258a4e285d3c3ccee7f9efd0c7d689c3a17e0d 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/build/FrontendProjectBuild.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/build/FrontendProjectBuild.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.build; import com.inspur.edp.web.common.GSPException; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteManager.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteManager.java index 18ab50e9c15459def82403e65bbcd5628e226387..08a00477381d07a84290b5ed093a86591277cff9 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteManager.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect; import com.inspur.edp.web.frontendproject.changedetect.context.ChangeDetectContext; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteResult.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteResult.java index b3700970d6a780b122324abf4b9a9ee16a5c829b..2d5f04ecfe5ebdea7852ae827186fa02c8d8d844 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteResult.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteResult.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect; /** diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteService.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteService.java index 39542f8eae7ad7ec9b3756d966b289f1d0695c3e..0dc7d8fffff793479635144de904e49583a03f8b 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteService.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect; import com.inspur.edp.web.frontendproject.changedetect.context.ChangeDetectContext; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteType.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteType.java index ac36e66e5d032bf64e818b53f0620308d4ec26c0..d6b7681821ebb898808d06555632ec7d7405a7cd 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteType.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ChangeDetectExecuteType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect; import com.inspur.edp.web.frontendproject.changedetect.compile.CompileChangeDetectExecuteServiceImpl; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ExcludePathEntity.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ExcludePathEntity.java index 4747e3298d75f21b26adaef7a5df50c2e56d137d..6eba7b879631917e024be67187233868bf02aab6 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ExcludePathEntity.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/ExcludePathEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect; import lombok.Data; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/AbstractCompileChangeDetectStepExecuteService.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/AbstractCompileChangeDetectStepExecuteService.java index eaf2202cd0d79cda1eff8e64b9bf8ed50b694e47..6b7d43ef1b836e43f79d7b0df6b3e51de1614469 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/AbstractCompileChangeDetectStepExecuteService.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/AbstractCompileChangeDetectStepExecuteService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect.compile; import com.inspur.edp.web.frontendproject.changedetect.step.AbstractChangeDetectStepExecuteService; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/CompileChangeDetectExecuteServiceImpl.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/CompileChangeDetectExecuteServiceImpl.java index 41596f89d29576a00826301454ba6c6375b10a3a..b19784e9f0f6ef68b6693fd9e29a2fef4591b91b 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/CompileChangeDetectExecuteServiceImpl.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/CompileChangeDetectExecuteServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect.compile; import com.inspur.edp.web.frontendproject.changedetect.ChangeDetectExecuteResult; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/CompileChangeDetectType.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/CompileChangeDetectType.java index a040ce0435ce6c0949351321fc584c1264cd1b5d..ecaba71d608acbb53b63b7f04a0b629b4aa2115c 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/CompileChangeDetectType.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/CompileChangeDetectType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect.compile; import com.inspur.edp.web.frontendproject.changedetect.compile.stepexecute.FileChangeStepExecuteImpl; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/stepexecute/FileChangeStepExecuteImpl.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/stepexecute/FileChangeStepExecuteImpl.java index 1a6e816e7fa6730a31ea0628f31dfc86e8abe355..3685364c1c53801b5137c8528121bdc899626f41 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/stepexecute/FileChangeStepExecuteImpl.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/compile/stepexecute/FileChangeStepExecuteImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect.compile.stepexecute; import com.inspur.edp.lcm.metadata.api.entity.OperationEnum; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/context/ChangeDetectContext.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/context/ChangeDetectContext.java index 8188092ffee82e961c4f2753cb812a04c05848b5..c57e339e673a07027f59ef30ff5319bed70c2e04 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/context/ChangeDetectContext.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/context/ChangeDetectContext.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect.context; import com.inspur.edp.web.common.entity.TerminalType; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/AbstractGenerateChangeDetectStepExecuteService.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/AbstractGenerateChangeDetectStepExecuteService.java index dbb774c04725ce1bea31eb0cf6a4c1860c0ae21b..ce7a15bd5085afaf660720a313e137518ca67456 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/AbstractGenerateChangeDetectStepExecuteService.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/AbstractGenerateChangeDetectStepExecuteService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect.generate; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/GenerateChangeDetectExecuteServiceImpl.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/GenerateChangeDetectExecuteServiceImpl.java index 9ae9448f93d4db087b8c35ce5879f9735f7fba93..b73fcb75fcf1a46b99758b23ff49056f7c1ca576 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/GenerateChangeDetectExecuteServiceImpl.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/GenerateChangeDetectExecuteServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect.generate; import com.inspur.edp.web.frontendproject.changedetect.ChangeDetectExecuteResult; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/GenerateChangeDetectStepType.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/GenerateChangeDetectStepType.java index 34cc6c43254ad71e0b315d138bca2a0edf0a346a..1da52764c1240bcf05f7983a3a172b777a630683 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/GenerateChangeDetectStepType.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/GenerateChangeDetectStepType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect.generate; import com.inspur.edp.web.frontendproject.changedetect.generate.stepexecute.FileChangeStepExecuteImpl; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/stepexecute/FileChangeStepExecuteImpl.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/stepexecute/FileChangeStepExecuteImpl.java index 7afa3a2a572914ea55e726fa7e0e7c98003f0257..9d69a276fd96e19c74c0d878799137a745598855 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/stepexecute/FileChangeStepExecuteImpl.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/stepexecute/FileChangeStepExecuteImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect.generate.stepexecute; import com.inspur.edp.lcm.metadata.api.entity.OperationEnum; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/stepexecute/MetadataChangeStepExecuteImpl.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/stepexecute/MetadataChangeStepExecuteImpl.java index 4193e09df4fff65bbf08f83a4aeb42ff2fe8c6c3..90ae9ed93513f8f94a698573ad1fa8f3e27b4cea 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/stepexecute/MetadataChangeStepExecuteImpl.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/generate/stepexecute/MetadataChangeStepExecuteImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect.generate.stepexecute; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; @@ -6,6 +22,8 @@ import com.inspur.edp.lcm.metadata.api.entity.uri.MetadataURI; import com.inspur.edp.lcm.metadata.api.service.MetadataProjectService; import com.inspur.edp.web.common.entity.TerminalType; import com.inspur.edp.web.common.io.FileUtility; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; +import com.inspur.edp.web.common.metadata.MetadataTypeEnum; import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.common.utility.ListUtility; import com.inspur.edp.web.common.utility.StringUtility; @@ -140,7 +158,9 @@ public class MetadataChangeStepExecuteImpl extends AbstractGenerateChangeDetectS ChangeDetectStepExecuteResult executeResult = ChangeDetectStepExecuteResult.getPassResult(ChangeDetectExecuteType.Generate); if (t.getContent() == null) { // 表示通过列表形式获取到的元数据content为空 那么单独进行元数据的读取 - t.setContent(MetadataUtility.getInstance().getMetadataWithIdAndPath(t.getHeader().getId(), t.getRelativePath()).getContent()); + MetadataGetterParameter metadataGetterParameter=MetadataGetterParameter.getNewInstance(t.getHeader().getId(), t.getRelativePath()); + metadataGetterParameter.setSourceMetadata(t, MetadataTypeEnum.Frm); + t.setContent(MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter).getContent()); } FormMetadataContent formMetadataContent = (FormMetadataContent) t.getContent(); FormDOM formContent = FormMetadataContentService.getInstance().getFormContent(formMetadataContent); diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/step/AbstractChangeDetectStepExecuteService.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/step/AbstractChangeDetectStepExecuteService.java index e49fedb405857f565835ef842f7d57b75c3e352a..0c3ecb19af880fe2f129fc92f164155dfb088fd8 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/step/AbstractChangeDetectStepExecuteService.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/step/AbstractChangeDetectStepExecuteService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect.step; import com.inspur.edp.lcm.metadata.api.service.MetadataProjectService; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/step/ChangeDetectStepExecuteResult.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/step/ChangeDetectStepExecuteResult.java index 2b0c85816cb94cd332509c72645e6dfe9b0fafca..defb731132fd965ca84b2146aaa7b4391ffc375f 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/step/ChangeDetectStepExecuteResult.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/step/ChangeDetectStepExecuteResult.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect.step; import com.inspur.edp.web.frontendproject.changedetect.ChangeDetectExecuteType; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/step/ChangeDetectStepExecuteService.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/step/ChangeDetectStepExecuteService.java index 7cb55450685949d5e2ba266ecde25ec6f29b4fe8..6205d6ab3a9cae94956b6f0d9b83e1cac523e5f9 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/step/ChangeDetectStepExecuteService.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/changedetect/step/ChangeDetectStepExecuteService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.changedetect.step; import com.inspur.edp.web.frontendproject.changedetect.context.ChangeDetectContext; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/config/FormMetadataDebugUriConfiguration.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/config/FormMetadataDebugUriConfiguration.java index a1230d4ade2513c5130271962b5c9869c9a3bf37..79bc249f961a61b7baa4770af36fdba1bcfd8b5e 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/config/FormMetadataDebugUriConfiguration.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/config/FormMetadataDebugUriConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.config; import com.inspur.edp.web.frontendproject.debuguri.FormMetadataDebugUriWithMobile; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/config/FrontendProjectConfiguration.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/config/FrontendProjectConfiguration.java index 119c61409b1f055dd45a138d956b2e2494023041..58411bf7a8e3527f69e8856ee943d71e319e3cde 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/config/FrontendProjectConfiguration.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/config/FrontendProjectConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.config; import com.inspur.edp.web.frontendproject.webservice.FrontendProjectWebServiceImpl; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/config/ZeroCodeConfiguration.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/config/ZeroCodeConfiguration.java index 5a15458ae54b0855e08b1401c6dc48e9d16a6efe..7219f186dd4f5b4fea2e48ab21d8477cb1f7588b 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/config/ZeroCodeConfiguration.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/config/ZeroCodeConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.config; import com.inspur.edp.web.frontendproject.webservice.ZeroCodeWebServiceImpl; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/customservice/SourceServicePathGenerator.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/customservice/SourceServicePathGenerator.java index 3894e9fdee0b1f084f6b4d24f7e4f905f2fadf1f..171296f8e2a82d586edcc44821664dc3a9984a69 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/customservice/SourceServicePathGenerator.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/customservice/SourceServicePathGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.customservice; import com.inspur.edp.web.common.GSPException; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/AbstractFormMetadataDebugUri.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/AbstractFormMetadataDebugUri.java index 62555ab74de951c93f3f77e7827205bfc51070ca..07347a48bd4a1bff59b57045a17b44bbfe8f4724 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/AbstractFormMetadataDebugUri.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/AbstractFormMetadataDebugUri.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.debuguri; import com.inspur.edp.lcm.metadata.api.entity.MetadataProject; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/FormMetadataDebugUriService.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/FormMetadataDebugUriService.java index aa320e643a0c18d46e345f093c306f06b04d6fea..79147e2816c6bcb3c0c6a48acb012e8f274925b8 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/FormMetadataDebugUriService.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/FormMetadataDebugUriService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.debuguri; import io.iec.edp.caf.commons.utils.SpringBeanUtils; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/FormMetadataDebugUriWithMobile.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/FormMetadataDebugUriWithMobile.java index bd7bfa7e3942c292e5983da8b57e1662a5e03988..d185cba55af0253da248a62180144820f1aa0bb2 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/FormMetadataDebugUriWithMobile.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/FormMetadataDebugUriWithMobile.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.debuguri; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; @@ -7,6 +23,7 @@ import com.inspur.edp.lcm.metadata.api.service.MetadataProjectService; import com.inspur.edp.web.common.GspProjectUtil; import com.inspur.edp.web.common.entity.TerminalType; import com.inspur.edp.web.common.environment.ExecuteEnvironment; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.common.serialize.SerializeUtility; import com.inspur.edp.web.common.utility.StringUtility; @@ -39,6 +56,9 @@ public class FormMetadataDebugUriWithMobile extends AbstractFormMetadataDebugUri String defaultPageUri = ""; // 进行元数据的调用借口获取方式调整 + MetadataGetterParameter metadataGetterParameter=MetadataGetterParameter.getNewInstance(formMetadataId,null); + metadataGetterParameter.setTargetMetadataNotFoundMessage("表单调试,获取表单元数据为空,对应元数据id:"+formMetadataId); + GspMetadata metadata = MetadataUtility.getInstance().getMetadataWithEnvironment(formMetadataId, ExecuteEnvironment.Design, false); FormMetadataContent formMetadataContent = (FormMetadataContent) metadata.getContent(); FormDOM formDom = FormMetadataContentService.getInstance().getFormContent(formMetadataContent); diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/FormMetadataDebugUriWithPC.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/FormMetadataDebugUriWithPC.java index b3f2b72b4c6238755915052818e314f14b07a0e3..f693824f3f9d8a210905988bffdf2e99f2bfb23b 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/FormMetadataDebugUriWithPC.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/debuguri/FormMetadataDebugUriWithPC.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.debuguri; import com.inspur.edp.lcm.metadata.api.entity.GspProject; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/deploy/FrontendProjectDeploy.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/deploy/FrontendProjectDeploy.java index 62a1bd7804cf65a3bbe0570c90e05aa1e88cb6ad..f8dc8348111e0acf17ad6d20841e6292e206c468 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/deploy/FrontendProjectDeploy.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/deploy/FrontendProjectDeploy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.deploy; import com.inspur.edp.web.common.GSPException; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/deploy/SingleDynamicFormDeploy.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/deploy/SingleDynamicFormDeploy.java index 06737a7483a6ad8d1e74b765b5d757f1cbb6768e..1e077a40847067102440f36f2b10457b75c59587 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/deploy/SingleDynamicFormDeploy.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/deploy/SingleDynamicFormDeploy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.deploy; import com.inspur.edp.web.common.constant.FrontendProjectConstant; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicMetadataResolver.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicMetadataResolver.java index 005a65e00b18f401d37d03faf7a09fe4176863bb..d50f44cbbe3f2f76de4f8f86fbba050df806d6cb 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicMetadataResolver.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicMetadataResolver.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.formdynamic; import com.inspur.edp.web.frontendproject.FrontendProjectService; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicParameterValidator.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicParameterValidator.java index f987d39cc86ba35612803045aa7479b3f27e9441..55c2a44f6182ff7ec41c3ceb2dfd9b2c922dfdd1 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicParameterValidator.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicParameterValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.formdynamic; import com.inspur.edp.web.common.GSPException; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicSourceCodeGenerate.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicSourceCodeGenerate.java index 0f663c33b286a14cf9bd0afd9e939eecc8546cc2..c507e101b04deacce4b3af0c4d485bde60175a9a 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicSourceCodeGenerate.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicSourceCodeGenerate.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.formdynamic; import com.inspur.edp.web.frontendproject.entity.ChosenFormList; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicTagGetter.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicTagGetter.java index eb05c40f656fab4c3447b0c219af1dee9e808d8c..ab90d9b86ffffb1356c7fb8a70e4593278ba2cdb 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicTagGetter.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/formdynamic/FormDynamicTagGetter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.formdynamic; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/generate/FrontendProjectGenerate.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/generate/FrontendProjectGenerate.java index f1bfb91997b821c385a9e1bcf9a657b5aef5c1d7..dcb31e1f6dab336244ed37ec13eed9b69ad1d2d6 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/generate/FrontendProjectGenerate.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/generate/FrontendProjectGenerate.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.generate; import com.inspur.edp.web.common.GSPException; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/metadata/FormMetadataManager.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/metadata/FormMetadataManager.java index 474f7a3c3a620a6d90d0f2fbf9d73191350d6646..d9ef985de40843c8b7a247701facd2d9984e757f 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/metadata/FormMetadataManager.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/metadata/FormMetadataManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.metadata; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/pageflow/PageFlowMetadataManager.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/pageflow/PageFlowMetadataManager.java index 25feebbb4a175479d1e09f26160704cf52676c47..b877fcdd2f2f2d62b6a484911919cc1250d0a05f 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/pageflow/PageFlowMetadataManager.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/pageflow/PageFlowMetadataManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.pageflow; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; @@ -11,6 +27,8 @@ import com.inspur.edp.web.common.JITEngineConstants; import com.inspur.edp.web.common.entity.TerminalType; import com.inspur.edp.web.common.io.FileUtility; import com.inspur.edp.web.common.logger.WebLogger; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; +import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.common.utility.StringUtility; import com.inspur.edp.web.frontendproject.entity.ChosenFormList; import com.inspur.edp.web.jitengine.JITEngineManager; @@ -167,7 +185,10 @@ public class PageFlowMetadataManager { } // 判断元数据是否存在 try { - GspMetadata pageFlowMetadata = metadataService.getRefMetadata(projectPath, pageFlowMetadataID); + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(pageFlowMetadataID, projectPath); + metadataGetterParameter.setTargetMetadataNotFoundMessage("找不到页面流元数据,请检查对应app.config.json文件中配置页面流元数据id是否正确或页面流元数据是否被移除。"); + + GspMetadata pageFlowMetadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); return pageFlowMetadata; } catch (MetadataNotFoundException ex) { // 如果捕获到元数据找不到异常 那么重新进行元数据的创建 diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/resolver/FormMetadataResolver.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/resolver/FormMetadataResolver.java index 8eb84ab706ec98bbd7abe74110b9d38e33f4b614..c41ca088675a752f6c10eccf5bc352e606094621 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/resolver/FormMetadataResolver.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/resolver/FormMetadataResolver.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.resolver; import com.inspur.edp.cdp.web.component.metadata.define.WebComponentMetadata; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/webservice/FormMetadataDebugUriWebServiceImpl.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/webservice/FormMetadataDebugUriWebServiceImpl.java index a7c506970eb742aa7fae1700367c746e1e262e3b..9046c069e1fabc8397d2148616bc90b3a092a413 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/webservice/FormMetadataDebugUriWebServiceImpl.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/webservice/FormMetadataDebugUriWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.webservice; import com.inspur.edp.web.frontendproject.FrontendProjectService; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/webservice/FrontendProjectWebServiceImpl.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/webservice/FrontendProjectWebServiceImpl.java index d5f0139e8f3c968674b6e7a4578d4998b850fceb..b8ba3c8ba6c5f3e1580b602f0a22822b3a9d58e1 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/webservice/FrontendProjectWebServiceImpl.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/webservice/FrontendProjectWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.webservice; import com.inspur.edp.web.common.GSPException; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/webservice/ZeroCodeWebServiceImpl.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/webservice/ZeroCodeWebServiceImpl.java index 2868860ce17fb124f8788ecf4320038b3285d781..f022bdc17449035cee1e8539acc5e8e9e26bc21a 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/webservice/ZeroCodeWebServiceImpl.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/webservice/ZeroCodeWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.webservice; import com.inspur.edp.web.common.entity.ResultCode; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeConstants.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeConstants.java index 9c0e7e7ab1c8c9054027997f8c67771ba817898a..57684707c6a03d924bd177b025f1d954d76f6a36 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeConstants.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeConstants.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode; /** diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeParameterInitialization.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeParameterInitialization.java index 7255ff1e9fd4834af35b542e4fe3c40522369954..bca1c7b919d721de260cab2156ad06e21070b876 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeParameterInitialization.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeParameterInitialization.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeParameterValidator.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeParameterValidator.java index 68efefb750de83f70a45c3636353a7f74bbe80d7..54c4e188b4e8dc4663fa1fda25dc5a3b61037eea 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeParameterValidator.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeParameterValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeServiceImpl.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeServiceImpl.java index 51f8014577ac7b94aefb265ea82e64b9ce6beaae..24c92bed1ba083ceafeeb0e915cd6f620b717584 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeServiceImpl.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/ZeroCodeServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode; import com.inspur.edp.web.frontendproject.zerocode.operation.ZeroCodeManager; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/CommandMetadataOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/CommandMetadataOperation.java index 73fbbf99e394e71a22ba76ec463ae89637a8373d..47c9399013e6aadfc4b83f9a60ef4b8d94d379ce 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/CommandMetadataOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/CommandMetadataOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation; import com.inspur.edp.cdp.web.component.metadata.define.WebComponentMetadata; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/EapiMetadataOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/EapiMetadataOperation.java index f48a97ffd2de1a1cad13bc2c4e80b3e4d51e9adf..6a1182edc303ad9b05c2d4cb7d79b09baeb470ba 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/EapiMetadataOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/EapiMetadataOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation; import com.fasterxml.jackson.databind.PropertyNamingStrategy; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/FormExpressionOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/FormExpressionOperation.java index f79d82e609f28e45b36c3281f08fb07844649cb4..1232ba724412fcf63018173ba6a1c5421ae37f3b 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/FormExpressionOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/FormExpressionOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation; import com.inspur.edp.web.common.entity.TerminalType; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/FormMetadataContentOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/FormMetadataContentOperation.java index 7a696a3eb4819079e75102c0feaaad28c27259c3..dabd842f3205bdd0b0c610c84cc4bd69cdea91f6 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/FormMetadataContentOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/FormMetadataContentOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation; import com.inspur.edp.web.common.entity.TerminalType; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/MetaDataOperationManager.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/MetaDataOperationManager.java index 4337cb99228fd01f851f09f3b53da1c8dbdab624..10045b36083fe71f204d1e5b92d5c301a4f8859d 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/MetaDataOperationManager.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/MetaDataOperationManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation; import com.inspur.edp.web.frontendproject.zerocode.ZeroCodeFormFormatParameter; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/PageFlowMetadataOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/PageFlowMetadataOperation.java index d7a61243d62c5487f894fe8fa57b305ab0823a2f..5fe2b43c5aebcbcd7430b2c9fcd97a7d7987c085 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/PageFlowMetadataOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/PageFlowMetadataOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation; import com.inspur.edp.web.common.JITEngineConstants; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/StateMachineMetadataOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/StateMachineMetadataOperation.java index 0961729495859cb5acd9aaddf7f8bb13a414c6c2..b73e3abd404c7a275f01bbcee3e77bd8206ecf98 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/StateMachineMetadataOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/StateMachineMetadataOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation; import com.inspur.edp.lcm.metadata.api.IMetadataContent; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/ZeroCodeManager.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/ZeroCodeManager.java index 8d889428689b8dd446b9a0b46bfc3df02407d563..cb1da1c41ae234240ec2ab86ff693652b3b446b9 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/ZeroCodeManager.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/ZeroCodeManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation; import com.inspur.edp.web.common.entity.TerminalType; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/services/ServicePathGenerator.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/services/ServicePathGenerator.java index 728a8f15728654e0893f0f4f4e61e2d7deeb9693..172c846fd0067b517d6e2fe878422fa5391beb2c 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/services/ServicePathGenerator.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/services/ServicePathGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.services; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/AbstractSourceCodeOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/AbstractSourceCodeOperation.java index 1cb651cc78358a201a43b623be81d4de35db6c79..f668a132dc54088d89d6b5be78b080da21f07500 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/AbstractSourceCodeOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/AbstractSourceCodeOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.sourcegenerate; import com.inspur.edp.web.frontendproject.zerocode.ZeroCodeParameter; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/ISourceCodeOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/ISourceCodeOperation.java index feab4b2c866945591686394cb6ba2bf71c406ee0..cba233723da043103ca86e58d00f63aa1d0074b2 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/ISourceCodeOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/ISourceCodeOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.sourcegenerate; import com.inspur.edp.web.frontendproject.zerocode.ZeroCodeParameter; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodeManager.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodeManager.java index 5083dfd92825c0ea78a80df8f87a32ab781d4fbe..a5b7279fc1305403277fe470f9da7cc9e6c307cc 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodeManager.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodeManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.sourcegenerate; import com.inspur.edp.web.common.entity.TerminalType; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodeMobileOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodeMobileOperation.java index 052446cd47afcaf0338b29d3793af6eb7f4927e7..d1b1f6c6c9014765bdfef5e7bd5c69698044eb1f 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodeMobileOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodeMobileOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.sourcegenerate; import com.inspur.edp.web.common.entity.TerminalType; @@ -23,6 +39,8 @@ public class SourceCodeMobileOperation extends AbstractSourceCodeOperation imple "mobile", "vue", webDevPath, sourceAppPath, null, zeroCodeParameter.getServiceUnitPath(), ExecuteEnvironment.Runtime); + + projectCompileContext.setDeleteSourceCodeBeforeGenerate(true); JITEngineManager.compileProject(projectCompileContext); } } diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodePCOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodePCOperation.java index 2313c9bbeb15f99049477157771136cdbd7a3f0c..8b7f2df00151944367cd80e008d2712f0fffa01e 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodePCOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodePCOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.sourcegenerate; import com.inspur.edp.web.common.entity.TerminalType; @@ -39,6 +55,8 @@ public class SourceCodePCOperation extends AbstractSourceCodeOperation implement projectCompileContext.setGenerateViewModel(true); // 是否使用解析模式 projectCompileContext.setJieXiForm(zeroCodeParameter.isUseJieXiMode()); + // 零代码不再保留源代码 每次生成前都进行删除 + projectCompileContext.setDeleteSourceCodeBeforeGenerate(true); return projectCompileContext; } } diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodePathGenerator.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodePathGenerator.java index 264f75c59751d2c1341f66f8c14c0c4162566f91..1cd381949b429aa0a4b562fcc52f0dd8b5894955 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodePathGenerator.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/sourcegenerate/SourceCodePathGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.sourcegenerate; import com.inspur.edp.web.common.entity.TerminalType; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/AbstractWebDevJsonOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/AbstractWebDevJsonOperation.java index 92930b4fd2420bb748fa6b80b8263aac526343d6..53b0d261c74f239298e01b00c437e9dd848b0d37 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/AbstractWebDevJsonOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/AbstractWebDevJsonOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.webdevjson; import com.inspur.edp.web.frontendproject.zerocode.ZeroCodeFormParameter; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/IWevDevJsonOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/IWevDevJsonOperation.java index badceb3663cfa952505c069ee941b60ad0ecf53d..cc73c6fc7092619595ce0799a21f6a8961a33f1d 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/IWevDevJsonOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/IWevDevJsonOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.webdevjson; import com.inspur.edp.web.frontendproject.zerocode.ZeroCodeParameter; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevJsonManager.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevJsonManager.java index 0903d37610fc681470e62538841cf3930e1779c6..d199328c6166fbc0979d4d7a8d8686803c7b3970 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevJsonManager.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevJsonManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.webdevjson; import com.inspur.edp.web.common.entity.TerminalType; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevJsonPathGenerator.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevJsonPathGenerator.java index 9a70866c0c1a87994f7d3115ca97c19eee1233c0..2e0dafc10f9017688b84cb3fa4133526cbbb1307 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevJsonPathGenerator.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevJsonPathGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.webdevjson; import com.inspur.edp.web.common.entity.TerminalType; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevMobileJsonOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevMobileJsonOperation.java index a3b37d3650a751e81f14378201bf72270b1a4c98..cebf97b27fc7fe7818aadd66293d7c3a07872126 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevMobileJsonOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevMobileJsonOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.webdevjson; import com.inspur.edp.web.common.entity.TerminalType; diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevPCJson.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevPCJson.java index 3ee4ac11a1f6a2d930ad68b55f10574ff3d5a56f..016a087835435efdd5262108de4724ec8ae94042 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevPCJson.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevPCJson.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.webdevjson; public class WebDevPCJson { diff --git a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevPCJsonOperation.java b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevPCJsonOperation.java index 18c7e8462c29c7d8e77b341e6b8ffcfe35fb1b59..8872cc2246ec99e46d5920491aceb778adf413f6 100644 --- a/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevPCJsonOperation.java +++ b/web-frontendproject/src/main/java/com/inspur/edp/web/frontendproject/zerocode/operation/webdevjson/WebDevPCJsonOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.frontendproject.zerocode.operation.webdevjson; import com.inspur.edp.web.common.entity.TerminalType; diff --git a/web-ide-api/pom.xml b/web-ide-api/pom.xml index 220425d916143a2732febeb655416bd14fee7756..97494dc2e387a2e670f300a81c5f316ece153c1a 100644 --- a/web-ide-api/pom.xml +++ b/web-ide-api/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-ide-api/src/main/java/com/inspur/edp/web/ide/api/PluginConfig.java b/web-ide-api/src/main/java/com/inspur/edp/web/ide/api/PluginConfig.java index 8ca16b52a0f5bedc1f316b83c66cfc5361390b3c..4081ecb70727e7ecd7de75aaab8aa5a04c2cbbc7 100644 --- a/web-ide-api/src/main/java/com/inspur/edp/web/ide/api/PluginConfig.java +++ b/web-ide-api/src/main/java/com/inspur/edp/web/ide/api/PluginConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.ide.api; public class PluginConfig diff --git a/web-ide-api/src/main/java/com/inspur/edp/web/ide/api/WebIDEService.java b/web-ide-api/src/main/java/com/inspur/edp/web/ide/api/WebIDEService.java index 520f3ce9283f1d3ff026725d276beba407f01310..5c49c749bfb0c7e907c607d1207fc361372a9ecd 100644 --- a/web-ide-api/src/main/java/com/inspur/edp/web/ide/api/WebIDEService.java +++ b/web-ide-api/src/main/java/com/inspur/edp/web/ide/api/WebIDEService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.ide.api; /** diff --git a/web-ide-webapi/pom.xml b/web-ide-webapi/pom.xml index 177784607dba4b80de99e22cb45fe150e37933ba..ce1032201347b9ee68fedd0b0b22c95ad7d4a1ef 100644 --- a/web-ide-webapi/pom.xml +++ b/web-ide-webapi/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/common/FileUtil.java b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/common/FileUtil.java index 0fdafd2efe34e4b3c5b10ed637172b556c9e2e8c..05fe1dc63d49c5ccaef382180d5c7148ba1b0a74 100644 --- a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/common/FileUtil.java +++ b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/common/FileUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.ide.config.webapi.common; import com.inspur.edp.web.common.logger.WebLogger; diff --git a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/config/WebIdeConfiguration.java b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/config/WebIdeConfiguration.java index 97f7e51a73cb38b068b46fe15207228afb0bc9e0..d44b82df3afc240202f1bd02804b01986eab86b3 100644 --- a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/config/WebIdeConfiguration.java +++ b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/config/WebIdeConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.ide.config.webapi.config; import com.inspur.edp.ide.config.webapi.control.WebIDEServiceController; diff --git a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/control/WebIDEServiceController.java b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/control/WebIDEServiceController.java index 927f702d10bbfc44b25bfa07e12aa55e403dea0e..0553bc82794cea44be64c6f48b9b6e8dd785eb50 100644 --- a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/control/WebIDEServiceController.java +++ b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/control/WebIDEServiceController.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.ide.config.webapi.control; import com.inspur.edp.ide.config.webapi.entity.PluginConfig; diff --git a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/entity/PanelDescription.java b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/entity/PanelDescription.java index 19221aa18c94ab053d62873895f34b17e7c7454d..3b01b872a90edf992fd06f9660b1f2b1b804da8e 100644 --- a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/entity/PanelDescription.java +++ b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/entity/PanelDescription.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.ide.config.webapi.entity; import lombok.Getter; diff --git a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/entity/PanelStyle.java b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/entity/PanelStyle.java index 5ee99b0a173c0882f1ee04ba8d1763842f361a29..f113637b7e2eb798c10fd227d584346b7084c75c 100644 --- a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/entity/PanelStyle.java +++ b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/entity/PanelStyle.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.ide.config.webapi.entity; /** diff --git a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/entity/PluginConfig.java b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/entity/PluginConfig.java index b1c0fbfd2dea676f2ff00388c7431598bb1b0173..6f08c521cfe703dc316a771149efdcc4174c506d 100644 --- a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/entity/PluginConfig.java +++ b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/entity/PluginConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.ide.config.webapi.entity; import lombok.Getter; diff --git a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/service/WebIDEService.java b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/service/WebIDEService.java index bf6e1b868f0289a8475fe4f22cd87b81a7837586..dbb8710eba7e9d48cfe09940166fe17649c19dfa 100644 --- a/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/service/WebIDEService.java +++ b/web-ide-webapi/src/main/java/com/inspur/edp/ide/config/webapi/service/WebIDEService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.ide.config.webapi.service; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-npmpackage-api/pom.xml b/web-npmpackage-api/pom.xml index 77c7e49c7a1e09ab1133c10683ca39db46cf39c9..abf57fbeeb50643148cb9c73a234364bb5b96215 100644 --- a/web-npmpackage-api/pom.xml +++ b/web-npmpackage-api/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmInstallPackageParameter.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmInstallPackageParameter.java index 55fc08b79435f254f5014e97ce706446655bdd63..b626dd68f89f7a648cd5c1ee85c08a820842ed3c 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmInstallPackageParameter.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmInstallPackageParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.entity; /** diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmInstallParameter.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmInstallParameter.java index 9707af77c8b9fc2e682c900c865bf1d2826a728e..c450bba8c76c5c5f840d3866a0f9b4cf215b96fc 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmInstallParameter.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmInstallParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.entity; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageCheckUpdateOptions.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageCheckUpdateOptions.java index e43aa68b317333e8df07314bc46f5f15708e4699..8bd167d8ade4428ca38c821a2d9fb483cc650264 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageCheckUpdateOptions.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageCheckUpdateOptions.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.entity; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageConstants.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageConstants.java index e3c42403bfae5c3749cc8b6346c467e5bc6fefde..57d102f4ed098a3e1260cf1fae32d5379698ed6f 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageConstants.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageConstants.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.entity; /** diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageResponse.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageResponse.java index b8876ba2ae54e1e14dd703bdc1d94c0f2c9ef456..4c1c57646c07465f28f4a6eed8d7098fa97a36c9 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageResponse.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageResponse.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.entity; /** diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageResponseLevel.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageResponseLevel.java index f5be9e2a6c4a8b30988701b604e141efcfad2138..18fd3fc436a0c223c54e9bff26d39bf68b7f769d 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageResponseLevel.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/NpmPackageResponseLevel.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.entity; /** diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/packagejson/NpmPackageJsonDependencyInfo.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/packagejson/NpmPackageJsonDependencyInfo.java index 25e929c12e14850fb419ce7e4208ca614d11f919..b3f140ad79ce99669353f3bc53b36e4ed4d41cfd 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/packagejson/NpmPackageJsonDependencyInfo.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/packagejson/NpmPackageJsonDependencyInfo.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.entity.packagejson; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/packagejson/NpmPackageJsonInfo.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/packagejson/NpmPackageJsonInfo.java index e7355c95cd5f1acd63fcf5f0ae81e76572b99d4d..1bb6e9ed9b70a16a6637c07a9450c365a1a73d3e 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/packagejson/NpmPackageJsonInfo.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/packagejson/NpmPackageJsonInfo.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.entity.packagejson; import java.util.ArrayList; diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmRepository.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmRepository.java index e646fa04f9268b87c4d5f5c931f50796d53589cf..3c72a9e15c0c843d71b684e5ee20af87bfa9fd01 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmRepository.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.entity.settings; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmSettingConfig.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmSettingConfig.java index a6752e482893786511ee45ab1c0799e80aec473c..2da7bb95cdbad302441373014ebd8042e86c6d97 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmSettingConfig.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmSettingConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.entity.settings; /** diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmSettingMode.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmSettingMode.java index 06683d3635e84cf36edda374ec32a0be69ce5304..9a8ff416f6ad7172a8845ddb022a2f32d4889726 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmSettingMode.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmSettingMode.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.entity.settings; diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmSettings.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmSettings.java index 7b419b2cd7d15e5d7b97412ef57212cb1f1afae0..64d25bda0d8bd84f08ffd81e24fd11232f78ea58 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmSettings.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmSettings.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.entity.settings; import java.util.Arrays; diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmUpdatePolicy.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmUpdatePolicy.java index 0173a646caeb083ad13128f8f4f6835cb412d595..8d3ceac47edcb2e55283d7aeeec3b8cd9adf46ce 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmUpdatePolicy.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/entity/settings/NpmUpdatePolicy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.entity.settings; /** diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/webservice/NpmPackageInstallWebService.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/webservice/NpmPackageInstallWebService.java index 7eb2da8749c49f3779951c92e29784325cce5371..78a084545d0fed6b922539503e642226ce50e298 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/webservice/NpmPackageInstallWebService.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/webservice/NpmPackageInstallWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.webservice; import com.inspur.edp.web.npmpackage.api.entity.NpmPackageResponse; diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/webservice/NpmPackagePublishWebService.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/webservice/NpmPackagePublishWebService.java index 3df1e6378cc77557b6c6441afa440b1d43d1f013..0d208833b81af96c58aede7516ac7b788bc3ec10 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/webservice/NpmPackagePublishWebService.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/webservice/NpmPackagePublishWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.webservice; /** diff --git a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/webservice/NpmPackageWebService.java b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/webservice/NpmPackageWebService.java index 4b0839e9b1a378794a50628bda11e9a0b607ac03..0d952fa24fa6427dd6b80959e3fce05262d54857 100644 --- a/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/webservice/NpmPackageWebService.java +++ b/web-npmpackage-api/src/main/java/com/inspur/edp/web/npmpackage/api/webservice/NpmPackageWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.api.webservice; import com.inspur.edp.web.npmpackage.api.entity.NpmPackageResponse; diff --git a/web-npmpackage-core/pom.xml b/web-npmpackage-core/pom.xml index 598245ec018ae34481de6860f938bf2aa386f516..eee153a087e5cbe948a2f0e39dae83027312f655 100644 --- a/web-npmpackage-core/pom.xml +++ b/web-npmpackage-core/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/cacheclean/NpmCacheCleanCommandExecutor.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/cacheclean/NpmCacheCleanCommandExecutor.java index da59608be6b476f2b4207afdb14469c3c4719a6d..1e43633ba09b4d0e571b54e11cf242bfa8e6ae8d 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/cacheclean/NpmCacheCleanCommandExecutor.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/cacheclean/NpmCacheCleanCommandExecutor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.cacheclean; import com.inspur.edp.web.common.entity.NodeJsCommandEnum; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/config/NpmPackageConfiguration.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/config/NpmPackageConfiguration.java index 7507b286aacaacf7172402568a0ea7b20fbc2ec4..98a1dd1526ff2120774bcf90a001aaf440351eee 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/config/NpmPackageConfiguration.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/config/NpmPackageConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.config; import com.inspur.edp.web.npmpackage.api.webservice.NpmPackageWebService; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/config/NpmPackageInstallConfiguration.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/config/NpmPackageInstallConfiguration.java index dc8ea3c439d691001e8c7e95cbf6708c0bef14d8..24d46df49ff2d1195f6b8abc571d6a042105cf28 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/config/NpmPackageInstallConfiguration.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/config/NpmPackageInstallConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.config; import com.inspur.edp.web.npmpackage.api.webservice.NpmPackageInstallWebService; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NodeModulesPathGenerator.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NodeModulesPathGenerator.java index b44b5f0de4a9baef0b4b26fd7073349cbf4bd6b3..28bb230411b9baa049630ede9fb0db1b534a96a0 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NodeModulesPathGenerator.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NodeModulesPathGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallCommandExecutor.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallCommandExecutor.java index b3ba0e5ab0e5ebfe58f21b3786e8f8795afa2e6c..e940894f2f1fe0b8c3d09acb8ecddd14d52fc92a 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallCommandExecutor.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallCommandExecutor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall; import com.inspur.edp.web.common.entity.NodeJsCommandEnum; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallCommandParameterGenerator.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallCommandParameterGenerator.java index 75ad00860b883b7d91ff913c3811de84088ad94b..66e14a7cf31aa4ac4675142848654ce6b2902510 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallCommandParameterGenerator.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallCommandParameterGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall; import com.inspur.edp.web.common.utility.StringUtility; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallLockFilePathGenerator.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallLockFilePathGenerator.java index 01ffe3f73ad68f3f545b96191f35d6b54e1a155a..c0a8426f58f99a6ce4b5df9d7f48e74a52001a28 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallLockFilePathGenerator.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallLockFilePathGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallManager.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallManager.java index 762c470090e7195d7bc14380207430fb27cedbad..c7ac969b91b3b1a0597b244cd12f1278d2368689 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallManager.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallParameterValidator.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallParameterValidator.java index e72fbfb55b4678392968b7017bb239994704abbb..61ea7dc18140244fe1143994ec0a14d23fd54517 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallParameterValidator.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallParameterValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallingParameter.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallingParameter.java index 49795e107ddb88d9333e7597720e9c893d948de0..64396f8d5f22580bce1b3ba3bc738b3bc61254c2 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallingParameter.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallingParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall; import com.inspur.edp.web.npmpackage.api.entity.NpmInstallParameter; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallingTagManager.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallingTagManager.java index 7b509c2cea3016221a2599af51a53e00f630c058..ba88400daab91ddeee36714bf2d824a502553cce 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallingTagManager.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmInstallingTagManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmRepositoryConnection.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmRepositoryConnection.java index 7acb00e2c9892c2c07d77dd130e0a6d66371fc3e..6d859bda2376a2632e8e306f47a19d768a06655c 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmRepositoryConnection.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/NpmRepositoryConnection.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall; import java.net.InetAddress; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/PackageJsonCopyManager.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/PackageJsonCopyManager.java index 679c1e97b6cbb9940a8c6fda730bde07f896b161..e9ab64205e1121acfd4a77e710bbbf17ff79509c 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/PackageJsonCopyManager.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/PackageJsonCopyManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/PackageJsonPathGenerator.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/PackageJsonPathGenerator.java index 6b1341fac5aa40b79972f8728a2c6794350ea89b..268db096233d42246b39bbe7af9e309221b9e74c 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/PackageJsonPathGenerator.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/PackageJsonPathGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalNpmDeployPathGenerator.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalNpmDeployPathGenerator.java index 66a5ea351dd6c928fa11ea46e4ea9aa903877143..8a6b1d0d8927e61ec0cc3d190c3ab3db7ad4ded7 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalNpmDeployPathGenerator.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalNpmDeployPathGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall.global; import com.inspur.edp.web.common.logger.WebLogger; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalNpmInstallCommandExecutor.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalNpmInstallCommandExecutor.java index 09cbc3abf945e647c9325bb192b37618af1093b3..626a4c9fdcdaaeb48b88cce26c2922f5a0b9673a 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalNpmInstallCommandExecutor.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalNpmInstallCommandExecutor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall.global; import com.inspur.edp.web.common.entity.NodeJsCommandEnum; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalNpmInstallCommandParameterGenerator.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalNpmInstallCommandParameterGenerator.java index dcdf07287dfbc86181481481265aac9e44a8ce38..b8cdb0604963c4d7b8c8e849497c6221bb1c1606 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalNpmInstallCommandParameterGenerator.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalNpmInstallCommandParameterGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall.global; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalPackageJsonPathGenerator.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalPackageJsonPathGenerator.java index 19bd30e20f14f0d3d62debc51b931dc5379b1eb9..0afd9b0f77c5b69fe424765e1d038333705b14b6 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalPackageJsonPathGenerator.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/GlobalPackageJsonPathGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall.global; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/NpmInstallGlobalManager.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/NpmInstallGlobalManager.java index 1203c9a807ee3231dbea7037b3e206bb9132176f..280a68e75f32c031ff045f39f7c09e4ae4c8fd5a 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/NpmInstallGlobalManager.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npminstall/global/NpmInstallGlobalManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npminstall.global; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogin/NpmLoginCommandExecutor.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogin/NpmLoginCommandExecutor.java index 99715561578c7842988ef137029b5fce107a4808..816ef6084eb6b69aebd7108038d31c80be16e222 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogin/NpmLoginCommandExecutor.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogin/NpmLoginCommandExecutor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npmlogin; import com.inspur.edp.web.common.entity.NodeJsCommandEnum; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogin/NpmLoginCommandParameterGenerator.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogin/NpmLoginCommandParameterGenerator.java index 4bf2f53cb998c34b9ba5a401b042214cd0d1aa9d..1791c95061179563a86a13ebbc85ba6672ad194f 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogin/NpmLoginCommandParameterGenerator.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogin/NpmLoginCommandParameterGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npmlogin; import com.inspur.edp.web.npmpackage.api.entity.NpmInstallParameter; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogout/NpmLogoutCommandExecutor.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogout/NpmLogoutCommandExecutor.java index 9db2d1b341bc175dcaf6e97c8cdc2ff862453ef9..fe6cd1981f8824769f7b940a0d53e673ce9287c3 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogout/NpmLogoutCommandExecutor.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogout/NpmLogoutCommandExecutor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npmlogout; import com.inspur.edp.web.common.entity.NodeJsCommandEnum; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogout/NpmLogoutCommandParameterGenerator.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogout/NpmLogoutCommandParameterGenerator.java index 1acf07b5f47268504e911c09ace27bd8c04df164..d9ce0eaf4563f620f2d42ce833d90c84ffa3426b 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogout/NpmLogoutCommandParameterGenerator.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmlogout/NpmLogoutCommandParameterGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npmlogout; import com.inspur.edp.web.npmpackage.api.entity.NpmInstallParameter; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmpackagecheck/NpmPackageCheck.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmpackagecheck/NpmPackageCheck.java index 60521903ae010eec98319b33893f84844ddf6e55..86b96997145fa969e15e6276fdebc916d9cbcedc 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmpackagecheck/NpmPackageCheck.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmpackagecheck/NpmPackageCheck.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npmpackagecheck; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingConstant.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingConstant.java index c8ba84e1e09ae48eabb01e414924af9334b41123..0d2711b631cf57f6e12de5e0dc7a5be0ca5831f3 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingConstant.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingConstant.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npmsetting; /** diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingConvertor.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingConvertor.java index 4a7969e7cb09690ee7a40bf15ff4851f399ad00a..1e87ecdc46052bbcc553deb455300ebc74b739be 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingConvertor.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingConvertor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npmsetting; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingEncryptService.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingEncryptService.java index 1dc51eb285e576c1e16d79692ce11be679e7b6d1..cb9f39b19a3753040e6082d16e4297f5a6419bab 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingEncryptService.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingEncryptService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npmsetting; import com.inspur.edp.web.common.serialize.SerializeUtility; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingInitialization.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingInitialization.java index af05eef898c68de584d56c4e0b63e89ec4f281a1..24e41393f9737333ff59c6573b4a665b76cebbaf 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingInitialization.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingInitialization.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npmsetting; import com.inspur.edp.web.npmpackage.api.entity.settings.NpmRepository; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingManager.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingManager.java index 7a0fa28842ce304802d211d2d31275584f9144c5..c517b42f582f4af8ddd0f56081f32afc1a11da9a 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingManager.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npmsetting; import com.inspur.edp.web.common.io.NodejsFunctionUtility; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingPathManager.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingPathManager.java index 008048cc7d78c0f78233ab4cdefa552d9006e878..609a6422cc8b9816d4460578cef441e6c5dc2100 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingPathManager.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingPathManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npmsetting; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingReader.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingReader.java index 2ab29bdade0e405571d549a82cb977b8ce90b38e..cb6a638fb688915456990c07a25f74ec8bd13ed8 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingReader.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingReader.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npmsetting; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingWriter.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingWriter.java index 6d4cd248a208b28018d6012747a96d4994fe62b0..d4f8dddb6d91a4c08281508fed41cc873301337c 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingWriter.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/npmsetting/NpmSettingWriter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.npmsetting; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/service/NpmPackageInstallService.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/service/NpmPackageInstallService.java index 6ac6df5463cc5ab4299147aae1761d3ade518bd5..17b0de70ecd681d0c1dabf00cfa02ff07ead3d0a 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/service/NpmPackageInstallService.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/service/NpmPackageInstallService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.service; import com.inspur.edp.web.npmpackage.api.entity.NpmInstallParameter; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/service/NpmPackageService.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/service/NpmPackageService.java index c0c1621451d26e13b6389ed08d1d8dbbbb0fc7c2..60333335e5e1b293890da704fe7286880a7a0772 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/service/NpmPackageService.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/service/NpmPackageService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.service; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/webservice/NpmPacakgeWebServiceImpl.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/webservice/NpmPacakgeWebServiceImpl.java index cb3291b658ad89a0e34e8ec2f16a12e62ee14471..404f3de45f218bb1c54a516b069fdb17d176a49d 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/webservice/NpmPacakgeWebServiceImpl.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/webservice/NpmPacakgeWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.webservice; import com.inspur.edp.web.common.environment.ExecuteEnvironment; diff --git a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/webservice/NpmPackageInstallWebServiceImpl.java b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/webservice/NpmPackageInstallWebServiceImpl.java index 59052161790e285aae6ac62130c3660514e7bc87..697377a871befbedac25809a77f7de33541f1298 100644 --- a/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/webservice/NpmPackageInstallWebServiceImpl.java +++ b/web-npmpackage-core/src/main/java/com/inspur/edp/web/npmpackage/core/webservice/NpmPackageInstallWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackage.core.webservice; import com.inspur.edp.web.common.utility.CommonUtility; diff --git a/web-npmpackage-patch/pom.xml b/web-npmpackage-patch/pom.xml index 0353a04041bbb18915946cffedcc60ae5ae62d78..93e5e63c705b6fea941082ee15aae35f15d2348c 100644 --- a/web-npmpackage-patch/pom.xml +++ b/web-npmpackage-patch/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/FileOperation.java b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/FileOperation.java index 9dc8fbe14e31bb03fbe31996514b15c57b917543..372009fd3d2a4c5073a51a98590da68f7887b1c4 100644 --- a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/FileOperation.java +++ b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/FileOperation.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackagepatch; import java.io.*; diff --git a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/MyPropertyNamingStrategy.java b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/MyPropertyNamingStrategy.java index 337aa25ba14a31b2c348713d2d0e3231f40b823c..27af3dd58a0b39f62d2ccd5c9acd208284b69fdc 100644 --- a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/MyPropertyNamingStrategy.java +++ b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/MyPropertyNamingStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackagepatch; import com.fasterxml.jackson.databind.PropertyNamingStrategy; diff --git a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/NpmPackagePatchService.java b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/NpmPackagePatchService.java index b339a12aafe5010b5829cbaed5ad8018330b6f2c..cb8f809bba1230270b04a9a9f671b8c4cf062b84 100644 --- a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/NpmPackagePatchService.java +++ b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/NpmPackagePatchService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackagepatch; import com.inspur.edp.web.npmpackagepatch.packagejson.PackageJsonInfo; diff --git a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/PackageJsonFileManager.java b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/PackageJsonFileManager.java index 3fdc52ad39ee001ed8574d9477d54be4102c9114..4ada5b59b69d9ef520258e40dec7be9e7371b278 100644 --- a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/PackageJsonFileManager.java +++ b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/PackageJsonFileManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackagepatch; import com.inspur.edp.web.npmpackagepatch.packagejson.PackageJsonDependencyInfo; diff --git a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/PatchConstants.java b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/PatchConstants.java index 7fdb254163342134be65a329b779c8ed43378180..98378ee4e0dafb783c0e1f9d6f0561611ab015ad 100644 --- a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/PatchConstants.java +++ b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/PatchConstants.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackagepatch; public class PatchConstants { diff --git a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/RescureReadFiles.java b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/RescureReadFiles.java index fe20bf9c60bef455a0413103f292097b894be35d..cd7f08a68d52247c9f43e3b70a11336770c1433c 100644 --- a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/RescureReadFiles.java +++ b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/RescureReadFiles.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackagepatch; import java.io.File; diff --git a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/SerializePackageJson.java b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/SerializePackageJson.java index f2bb0150d39edfe4f8c703dcf629a6f86a94aa0b..cc7aa8166a927b9eba3f513f374a11b42706c74f 100644 --- a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/SerializePackageJson.java +++ b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/SerializePackageJson.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackagepatch; import com.fasterxml.jackson.databind.DeserializationFeature; diff --git a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/packagejson/PackageJsonDependencyInfo.java b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/packagejson/PackageJsonDependencyInfo.java index bb6412f590be677ec97b7ef34cb8f169896bc793..0a087cc6896444f5a8f726a3ca37df32053f484e 100644 --- a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/packagejson/PackageJsonDependencyInfo.java +++ b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/packagejson/PackageJsonDependencyInfo.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackagepatch.packagejson; public class PackageJsonDependencyInfo { diff --git a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/packagejson/PackageJsonInfo.java b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/packagejson/PackageJsonInfo.java index 5e7dffc97475abea9bfb6c9f435fc412cea637b3..5db621367726c5409d44fa3f1e6fc01fb0e6fae4 100644 --- a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/packagejson/PackageJsonInfo.java +++ b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/packagejson/PackageJsonInfo.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackagepatch.packagejson; import com.inspur.edp.web.npmpackagepatch.packagejson.PackageJsonDependencyInfo; diff --git a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/packagejson/SerializedPackageJson.java b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/packagejson/SerializedPackageJson.java index 36aab1d6457018db964da4a2f142e10987186954..1d5e16d3170564afda7d2340737bde712b9e0d58 100644 --- a/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/packagejson/SerializedPackageJson.java +++ b/web-npmpackage-patch/src/main/java/com/inspur/edp/web/npmpackagepatch/packagejson/SerializedPackageJson.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.npmpackagepatch.packagejson; import java.util.HashMap; diff --git a/web-pageflow-metadata/pom.xml b/web-pageflow-metadata/pom.xml index 9dab0b7d72f2afc1b624badd5582766de3b64553..de910635902a90dbd71631bc51bf59020363a1c7 100644 --- a/web-pageflow-metadata/pom.xml +++ b/web-pageflow-metadata/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedPage.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedPage.java index c1b1a8216a707f11092453c8e58bf8c2b10c3061..4ad789a516323c333cad0fae608c939d0472afc1 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedPage.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedPage.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.entity; import lombok.Getter; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedPageFlowMetadataEntity.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedPageFlowMetadataEntity.java index fda226bf852d6d0154b7b51d6632fcc86d330d4e..0eba0efcf195d78abc2df8cbcfe2b441d2a8a303 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedPageFlowMetadataEntity.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedPageFlowMetadataEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.entity; import com.inspur.edp.lcm.metadata.api.AbstractMetadataContent; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedPageFlowMetadataEntityService.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedPageFlowMetadataEntityService.java index 75f7721f5d452b034b25ec76aa21bdbb79b5c9a1..7001b54e5f1b6673572344e26b014db724d988ed 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedPageFlowMetadataEntityService.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedPageFlowMetadataEntityService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.entity; import com.inspur.edp.web.common.serialize.SerializeUtility; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedRoute.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedRoute.java index ef587623e151aedabb21352414a042a99932e3e3..17c00dc4c5ae945b6ed6ed949df7725b2dcea4ec 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedRoute.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/AdaptedRoute.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.entity; import lombok.Getter; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/Page.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/Page.java index 8e25bac9b07edc2d449cde63ad947dabc84ab816..f7d971d130f0ae091670cd357df0410efc02e8d4 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/Page.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/Page.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.entity; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/PageFlowMetadataEntity.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/PageFlowMetadataEntity.java index 81561fb076b75003a8dbb43bed38fe588d1a8e69..c741573225157de35db79dbbd9b355d275a454ca 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/PageFlowMetadataEntity.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/PageFlowMetadataEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.entity; import com.inspur.edp.lcm.metadata.api.AbstractMetadataContent; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/PageFlowMetadataEntityManager.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/PageFlowMetadataEntityManager.java index 0c8bf0733c539588e1d5a84ac472a0dcd8d041bb..c4bb778dac65b797f964d38a5f3908a37ec03734 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/PageFlowMetadataEntityManager.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/PageFlowMetadataEntityManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.entity; import com.inspur.edp.web.common.serialize.SerializeUtility; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/PagePublish.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/PagePublish.java index 5c7df296e93d3f70980f6eee1c2b25a26432c005..2d79caf5248801204b417caae4941c27991a4ce4 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/PagePublish.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/PagePublish.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.entity; public class PagePublish { diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/Project.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/Project.java index bb96af99c5006f55759ab7ab042efeb411fe0aa2..934637f76903615543c6c77c8785cc4147911835 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/Project.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/Project.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.entity; import lombok.Getter; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/Route.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/Route.java index ec971effc9babeda007d2ed60f8ed645aa1a234a..b16fabc5c6e788db86d096a231fddc081bb55133 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/Route.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/entity/Route.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.entity; import lombok.Getter; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/listener/PageFlowMetadataEventListener.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/listener/PageFlowMetadataEventListener.java index 37f08d0d94b632095ef9824afce517cdb0af2c5d..b49faeb6a8f4c5c84e22472b9974267e66d63e47 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/listener/PageFlowMetadataEventListener.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/listener/PageFlowMetadataEventListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.listener; import com.inspur.edp.lcm.metadata.spi.event.MetadataCreateEventListener; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/manager/PageFlowMetadataEntityManager.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/manager/PageFlowMetadataEntityManager.java index 4436e731e089fe3c7b29434e0992c192636d97f7..3fa0bde2ecbb56a6aedd56c0c1a667dffb8b86c5 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/manager/PageFlowMetadataEntityManager.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/manager/PageFlowMetadataEntityManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.manager; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/serializer/PageFlowMetadataEntitySerializer.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/serializer/PageFlowMetadataEntitySerializer.java index cf90763590d9c01e61e819184cff40a876cd1bd0..92f02d215af6dc57c66fbdb15d784638067a0393 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/serializer/PageFlowMetadataEntitySerializer.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/serializer/PageFlowMetadataEntitySerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.serializer; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/serializer/PageFlowMetadataTransferSerializer.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/serializer/PageFlowMetadataTransferSerializer.java index fa7a50aa2fcd101ca9531bc44b47ba457164e315..86b6d9be6f044aa6b15f9636046bd124c18898f5 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/serializer/PageFlowMetadataTransferSerializer.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/serializer/PageFlowMetadataTransferSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.serializer; import com.inspur.edp.lcm.metadata.api.IMetadataContent; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/service/PageFlowMetadataUpdateService.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/service/PageFlowMetadataUpdateService.java index 06e2d977ae566d635806cad4fe655362460d7dfc..85ab78a3f2fc095dbc067b0a4a931d74eb6cf5ae 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/service/PageFlowMetadataUpdateService.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/service/PageFlowMetadataUpdateService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.service; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/service/RouteMetataService.java b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/service/RouteMetataService.java index 06607de519b21dfaa9b57ef1e2628d6aba3af0ee..503470d4812c4af69e5f6b47a25e8adbb5796475 100644 --- a/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/service/RouteMetataService.java +++ b/web-pageflow-metadata/src/main/java/com/inspur/edp/web/pageflow/metadata/service/RouteMetataService.java @@ -1,9 +1,26 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.pageflow.metadata.service; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; import com.inspur.edp.lcm.metadata.api.service.MetadataService; import com.inspur.edp.web.common.GSPException; import com.inspur.edp.web.common.io.FileUtility; +import com.inspur.edp.web.common.metadata.MetadataGetterParameter; import com.inspur.edp.web.common.metadata.MetadataUtility; import com.inspur.edp.web.common.utility.StringUtility; import com.inspur.edp.web.pageflow.metadata.entity.PageFlowMetadataEntity; @@ -34,7 +51,9 @@ public class RouteMetataService { return null; } - GspMetadata routeMetadata = MetadataUtility.getInstance().getMetadataWithIdAndPath(routeMetadataId, projectPath); + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(routeMetadataId, projectPath); + metadataGetterParameter.setTargetMetadataNotFoundMessage("获取页面流元数据为空,请检查页面流元数据是否被删除或app.config.json中页面流定义是否正确"); + GspMetadata routeMetadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); if (routeMetadata == null) { return null; } @@ -53,8 +72,10 @@ public class RouteMetataService { if (StringUtility.isNullOrEmpty(routeMetadataId) || StringUtility.isNullOrEmpty(projectPath)) { return; } + MetadataGetterParameter metadataGetterParameter = MetadataGetterParameter.getNewInstance(routeMetadataId, projectPath); + metadataGetterParameter.setTargetMetadataNotFoundMessage("获取页面流元数据为空,请检查页面流元数据是否存在或app.config.json中页面流定义是否正确"); - GspMetadata routeMetadata = MetadataUtility.getInstance().getMetadataWithIdAndPath(routeMetadataId, projectPath); + GspMetadata routeMetadata = MetadataUtility.getInstance().getMetadataInDesign(metadataGetterParameter); if (routeMetadata == null) { log.debug("Save Route Metadata Content Operation is Stopped Because Target Route Metadata is NULL."); return; diff --git a/web-sourcecode-metadata/pom.xml b/web-sourcecode-metadata/pom.xml index fb98594c6f3686db863e2dddf8fc567820e5363a..377db5aba300aee0b697775fd5aedd72c5cb835e 100644 --- a/web-sourcecode-metadata/pom.xml +++ b/web-sourcecode-metadata/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/entity/RelativePathEnumEntity.java b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/entity/RelativePathEnumEntity.java index cc20e51bc610dba7c9315a239f0e08f3a37d9d63..8ab826488622948cfd8a6c4e110eb85bd00ce2a6 100644 --- a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/entity/RelativePathEnumEntity.java +++ b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/entity/RelativePathEnumEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.sourcecode.metadata.entity; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/entity/SourceCodeItemEntity.java b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/entity/SourceCodeItemEntity.java index 45e3e8d663440dfb44def48a37df64adc74340da..d83868c5e2126e71379c51a3c55650a23b6a4ea2 100644 --- a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/entity/SourceCodeItemEntity.java +++ b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/entity/SourceCodeItemEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.sourcecode.metadata.entity; /** diff --git a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/entity/SourceCodeMetadataEntity.java b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/entity/SourceCodeMetadataEntity.java index 67008d971a3a514c27e536ca9d36d0fc1f70ca50..227bd522248b0425bb0802cacbbc67ea1f19c5d9 100644 --- a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/entity/SourceCodeMetadataEntity.java +++ b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/entity/SourceCodeMetadataEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.sourcecode.metadata.entity; import com.inspur.edp.lcm.metadata.api.AbstractMetadataContent; diff --git a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/listener/SourceCodeMetadataEventListener.java b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/listener/SourceCodeMetadataEventListener.java index 7043b9d5d983f8472789ca8c7791cd3a11c6eccc..6f48643ea6d7231fbefee6701d0ef281ecd9070f 100644 --- a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/listener/SourceCodeMetadataEventListener.java +++ b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/listener/SourceCodeMetadataEventListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.sourcecode.metadata.listener; import com.inspur.edp.lcm.metadata.api.entity.GspProject; diff --git a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/manager/SourceCodeMetadataManager.java b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/manager/SourceCodeMetadataManager.java index 2661f092988ed7329e4ea1227fe7ff7f14c9fb14..99d2442a1a622be56f6d06f2c54a5f6c028d9a81 100644 --- a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/manager/SourceCodeMetadataManager.java +++ b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/manager/SourceCodeMetadataManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.sourcecode.metadata.manager; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/serializer/SourceCodeMetadataEntitySerializer.java b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/serializer/SourceCodeMetadataEntitySerializer.java index 5507fa2b4b73a86e6093dd7295acf25defe2f569..4390f3d2af74059316b4986a81ef1420b2212ca3 100644 --- a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/serializer/SourceCodeMetadataEntitySerializer.java +++ b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/serializer/SourceCodeMetadataEntitySerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.sourcecode.metadata.serializer; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/serializer/SourceCodeMetadataTransferSerializer.java b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/serializer/SourceCodeMetadataTransferSerializer.java index 927b833391ba69c55b02990ea5fe3fbe07b9cb7c..c3137bc54fee8d0879a557b3c0ce56bf2a804e23 100644 --- a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/serializer/SourceCodeMetadataTransferSerializer.java +++ b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/serializer/SourceCodeMetadataTransferSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.sourcecode.metadata.serializer; import com.inspur.edp.lcm.metadata.api.IMetadataContent; diff --git a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/utility/FileOperationExtensions.java b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/utility/FileOperationExtensions.java index 1d4ded25c8b611c59e73cf5b3a4e8eb2307e2a2d..083f4e5fa90f76248a55232a1524d4eac9fb4610 100644 --- a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/utility/FileOperationExtensions.java +++ b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/utility/FileOperationExtensions.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.sourcecode.metadata.utility; import java.util.*; diff --git a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/utility/SourceCodeMetadataUtility.java b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/utility/SourceCodeMetadataUtility.java index 6a6cab6afed50423197aeb0947fa27ef5fb57dd0..f5009a569f4a10abfe307fba495d2e80d9baa323 100644 --- a/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/utility/SourceCodeMetadataUtility.java +++ b/web-sourcecode-metadata/src/main/java/com/inspur/edp/web/sourcecode/metadata/utility/SourceCodeMetadataUtility.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.sourcecode.metadata.utility; import com.inspur.edp.lcm.metadata.api.entity.MetadataProject; diff --git a/web-statemachine/pom.xml b/web-statemachine/pom.xml index e305e751273eff4118e84c5298a5958a5bc55cbe..2a4ee12933e23ea61493c3fa7129c9cd5cebe46d 100644 --- a/web-statemachine/pom.xml +++ b/web-statemachine/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/manager/StateMachineMetadataManager.java b/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/manager/StateMachineMetadataManager.java index df6c88c41d7b46720034ae4d769098ff5323a98d..bd84d1a28f71c2bebd0a75c7d3c82b17ef7fcde3 100644 --- a/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/manager/StateMachineMetadataManager.java +++ b/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/manager/StateMachineMetadataManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.statemachine.manager; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/metadata/StateMachineMetadataContent.java b/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/metadata/StateMachineMetadataContent.java index 637bbc3cdea521901215bc5fa45c903e86105482..784f132875cf30b9f9db1fcf5ecea2075086815e 100644 --- a/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/metadata/StateMachineMetadataContent.java +++ b/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/metadata/StateMachineMetadataContent.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.statemachine.metadata; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/serializer/StateMachineSerializer.java b/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/serializer/StateMachineSerializer.java index 412d66a6f14e50466316ba56cb0e83a959c6b691..78f2d4652fdd1661b45df3077d1f400da33f0092 100644 --- a/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/serializer/StateMachineSerializer.java +++ b/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/serializer/StateMachineSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.statemachine.serializer; import com.fasterxml.jackson.databind.JsonNode; diff --git a/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/serializer/StateMachineTransferSerializer.java b/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/serializer/StateMachineTransferSerializer.java index 0e8a72e48a4906dbaef8ae65ed6548056af1d57c..3593000d703669ecd8fb8814b953125e1eea7e2c 100644 --- a/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/serializer/StateMachineTransferSerializer.java +++ b/web-statemachine/src/main/java/com/inspur/edp/web/statemachine/serializer/StateMachineTransferSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.statemachine.serializer; import com.inspur.edp.lcm.metadata.api.IMetadataContent; diff --git a/web-tsfile-api/pom.xml b/web-tsfile-api/pom.xml index 3ca9054efc5956f6cfe46a360be2ffa391520ae8..a949eaa6d5fd324f384d30050f593dc8a30ddbb5 100644 --- a/web-tsfile-api/pom.xml +++ b/web-tsfile-api/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-tsfile-api/src/main/java/com/inspur/edp/web/tsfile/api/entity/FileObject.java b/web-tsfile-api/src/main/java/com/inspur/edp/web/tsfile/api/entity/FileObject.java index 284afffb820530cb90f7aae2ca1befca10cfe67f..a3f6229aa410bbe92268f232dc29c92a41d6b188 100644 --- a/web-tsfile-api/src/main/java/com/inspur/edp/web/tsfile/api/entity/FileObject.java +++ b/web-tsfile-api/src/main/java/com/inspur/edp/web/tsfile/api/entity/FileObject.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.tsfile.api.entity; /** diff --git a/web-tsfile-api/src/main/java/com/inspur/edp/web/tsfile/api/service/TsFileService.java b/web-tsfile-api/src/main/java/com/inspur/edp/web/tsfile/api/service/TsFileService.java index 8b77485b91e3cc78830ab4830afcdfd6615fff22..63c3d761efef881b8c3889fd4c4a0c0a74406617 100644 --- a/web-tsfile-api/src/main/java/com/inspur/edp/web/tsfile/api/service/TsFileService.java +++ b/web-tsfile-api/src/main/java/com/inspur/edp/web/tsfile/api/service/TsFileService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.tsfile.api.service; import java.util.ArrayList; diff --git a/web-tsfile-api/src/main/java/com/inspur/edp/web/tsfile/api/webservice/TsFileWebService.java b/web-tsfile-api/src/main/java/com/inspur/edp/web/tsfile/api/webservice/TsFileWebService.java index 003beb89286437190a90f1dcf4c766e8332068e9..5427fa50f518d5b496b17737752b222e411e3751 100644 --- a/web-tsfile-api/src/main/java/com/inspur/edp/web/tsfile/api/webservice/TsFileWebService.java +++ b/web-tsfile-api/src/main/java/com/inspur/edp/web/tsfile/api/webservice/TsFileWebService.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.tsfile.api.webservice; import com.inspur.edp.web.tsfile.api.entity.FileObject; diff --git a/web-tsfile-core/pom.xml b/web-tsfile-core/pom.xml index 8610ddff57aa1ab8b02f277161d6f30c79484a1f..d0f68a0538617bf07c45df4bc18e344675144872 100644 --- a/web-tsfile-core/pom.xml +++ b/web-tsfile-core/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/TsFileWebServiceImpl.java b/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/TsFileWebServiceImpl.java index 7fbfd33014165576f84526abd440e5a61e2aa5e6..752fe771fd64ee533a4b5cb4d179031d85f30baf 100644 --- a/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/TsFileWebServiceImpl.java +++ b/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/TsFileWebServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.tsfile.core; import com.inspur.edp.web.tsfile.api.entity.FileObject; diff --git a/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/config/TsFileConfiguration.java b/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/config/TsFileConfiguration.java index 3dd61697d8ae027c57e5cc3c39ccc72f98364139..b752ae8684dcf4a57cdfa9549708953cf3dc2ecb 100644 --- a/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/config/TsFileConfiguration.java +++ b/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/config/TsFileConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.tsfile.core.config; import com.inspur.edp.web.tsfile.api.service.TsFileService; diff --git a/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/service/TsFileService4WebApi.java b/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/service/TsFileService4WebApi.java index dd14cca243e02c742d57eb8185cba9b8a2712e5d..9d9ba6b31d078f0e134a3cfb324746c711f349a2 100644 --- a/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/service/TsFileService4WebApi.java +++ b/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/service/TsFileService4WebApi.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.tsfile.core.service; import com.inspur.edp.web.common.io.FileUtility; diff --git a/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/service/TsFileServiceImpl.java b/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/service/TsFileServiceImpl.java index bbb55bfe2df71eb4682b848dac6314a70bb667cf..91598253d2aa7430d2a6e2a310d9abc9ea198741 100644 --- a/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/service/TsFileServiceImpl.java +++ b/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/service/TsFileServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.tsfile.core.service; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; diff --git a/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/util/NameUtil.java b/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/util/NameUtil.java index 31541df3c1481dd13897bef5a85860cca5f21356..9adff18b426b84f772a62f44e116995c11ba7124 100644 --- a/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/util/NameUtil.java +++ b/web-tsfile-core/src/main/java/com/inspur/edp/web/tsfile/core/util/NameUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. + * + * 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 com.inspur.edp.web.tsfile.core.util; public class NameUtil { diff --git a/xpath0.1.bat b/xpath0.1.bat index 630822c99a4c6dd92d6db5202d62f437261c920a..4b091631248b13a732f775f451b12e6aaf991bbd 100644 --- a/xpath0.1.bat +++ b/xpath0.1.bat @@ -1,3 +1,19 @@ +# +# Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd. +# +# 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. +# + @if (@X)==(@Y) @end /* JScript comment @echo off