generated from halo-dev/plugin-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
76 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version=1.0.0-SNAPSHOT | ||
version=1.2.1-SNAPSHOT |
33 changes: 0 additions & 33 deletions
33
src/main/java/com/rs/halo/plugin/meilisearch/MeiliSearchPlugin.java
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
src/main/java/com/rs/halo/plugin/meilisearch/MeilisearchPlugin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.rs.halo.plugin.meilisearch; | ||
|
||
import lombok.extern.slf4j.Slf4j; | ||
import org.pf4j.PluginWrapper; | ||
import org.springframework.stereotype.Component; | ||
import run.halo.app.plugin.BasePlugin; | ||
|
||
@Slf4j | ||
@Component | ||
public class MeilisearchPlugin extends BasePlugin { | ||
|
||
public MeilisearchPlugin(PluginWrapper wrapper) { | ||
super(wrapper); | ||
} | ||
|
||
@Override | ||
public void start() { | ||
log.info("Meilisearch plugin started"); | ||
} | ||
|
||
@Override | ||
public void stop() { | ||
log.info("Meilisearch plugin stop"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...eilisearch/config/MeiliSearchSetting.java → ...eilisearch/config/MeilisearchSetting.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
apiVersion: plugin.halo.run/v1alpha1 | ||
kind: Plugin | ||
metadata: | ||
name: PluginMeiliSearch | ||
name: Meilisearch | ||
spec: | ||
enabled: true | ||
requires: ">=2.10.0" | ||
author: | ||
name: Rainsheep | ||
website: https://blog.rainsheep.cn | ||
logo: https://www.meilisearch.com/favicon.svg | ||
configMapName: plugin-meilisearch-configmap | ||
settingName: plugin-meilisearch-settings | ||
logo: logo.svg | ||
configMapName: meilisearch-configmap | ||
settingName: meilisearch-settings | ||
homepage: https://github.com/Rainsheep/halo-plugin-meilisearch | ||
displayName: "美丽搜索" | ||
description: "支持集成美丽搜索,基于 meilisearch 实现搜索功能" | ||
displayName: "Meilisearch" | ||
description: "集成 Meilisearch,为 Halo 2.0 提供更强大、更精确、更易用的搜索功能。" | ||
license: | ||
- name: "GPL-3.0" | ||
url: "https://github.com/Rainsheep/halo-plugin-meilisearch/blob/main/LICENSE" |