1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-08-01 16:38:02 +08:00
Signed-off-by: Hai Liang Wang <hai@chatopera.com>
This commit is contained in:
Hai Liang Wang 2022-12-26 12:22:25 +08:00
parent d1f44e85ee
commit 0aa5c64817
22 changed files with 237 additions and 2 deletions

View File

@ -1,3 +1,4 @@
Apache License Apache License
Version 2.0, January 2004 Version 2.0, January 2004
http://www.apache.org/licenses/ http://www.apache.org/licenses/
@ -186,7 +187,7 @@
same "printed page" as the copyright notice for easier same "printed page" as the copyright notice for easier
identification within third-party archives. identification within third-party archives.
Copyright 2018-2022 北京华夏春松科技有限公司 Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.

View File

@ -92,7 +92,7 @@
<Export-Service>com.cskefu.plugins.sample.Sample</Export-Service> <Export-Service>com.cskefu.plugins.sample.Sample</Export-Service>
<Embed-Transitive>true</Embed-Transitive> <Embed-Transitive>true</Embed-Transitive>
</instructions> </instructions>
<buildDirectory>../../compose/plugins</buildDirectory> <buildDirectory>../../compose/server/plugins</buildDirectory>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.plugins.sample; package com.cskefu.plugins.sample;
import com.cskefu.mod.plugin.AbstractPluginActivator; import com.cskefu.mod.plugin.AbstractPluginActivator;

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.plugins.sample; package com.cskefu.plugins.sample;
import com.cskefu.mod.plugin.IPlugin; import com.cskefu.mod.plugin.IPlugin;

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.mod.plugin; package com.cskefu.mod.plugin;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.mod.plugin; package com.cskefu.mod.plugin;
import com.cskefu.mod.plugin.dto.ActionResponse; import com.cskefu.mod.plugin.dto.ActionResponse;

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.mod.plugin; package com.cskefu.mod.plugin;
import java.util.Hashtable; import java.util.Hashtable;

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.mod.plugin.dto; package com.cskefu.mod.plugin.dto;
import lombok.Builder; import lombok.Builder;

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.mod.plugin.dto; package com.cskefu.mod.plugin.dto;
import lombok.Builder; import lombok.Builder;

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.mod.plugin; package com.cskefu.mod.plugin;
import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.any;

View File

@ -140,6 +140,7 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -208,4 +209,12 @@
</developer> </developer>
</developers> </developers>
<licenses>
<license>
<name>Apache-2.0</name>
<url>https://github.com/cskefu/cskefu/blob/develop/LICENSE</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
</project> </project>

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.serving.api; package com.cskefu.serving.api;
import com.cskefu.serving.api.config.PluginsConfigurer; import com.cskefu.serving.api.config.PluginsConfigurer;

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.serving.api.config; package com.cskefu.serving.api.config;
import java.util.Map; import java.util.Map;

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.serving.api.controllers; package com.cskefu.serving.api.controllers;
import com.cskefu.mod.plugin.dto.ActionResponse; import com.cskefu.mod.plugin.dto.ActionResponse;

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.serving.api.dto; package com.cskefu.serving.api.dto;
import lombok.Builder; import lombok.Builder;

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.serving.api.service; package com.cskefu.serving.api.service;
import com.cskefu.mod.plugin.IPlugin; import com.cskefu.mod.plugin.IPlugin;

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.serving.api.service; package com.cskefu.serving.api.service;
import com.cskefu.serving.api.config.PluginsConfigurer; import com.cskefu.serving.api.config.PluginsConfigurer;

View File

@ -1,3 +1,18 @@
/*
* Copyright (C) 2018-2023 北京华夏春松科技有限公司, <https://www.chatopera.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.cskefu.serving.api.service; package com.cskefu.serving.api.service;
import com.cskefu.mod.plugin.IPlugin; import com.cskefu.mod.plugin.IPlugin;