From 008f7623a540301233ba36cd4b082ba845b91c98 Mon Sep 17 00:00:00 2001
From: TX <76741680+tx2002@users.noreply.github.com>
Date: Mon, 7 Oct 2024 12:54:21 +0800
Subject: [PATCH 1/3] fix: the CI error
---
src/test/java/org/casbin/adapter/MybatisPlusAdapterTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/casbin/adapter/MybatisPlusAdapterTest.java b/src/test/java/org/casbin/adapter/MybatisPlusAdapterTest.java
index c284893..56733b9 100644
--- a/src/test/java/org/casbin/adapter/MybatisPlusAdapterTest.java
+++ b/src/test/java/org/casbin/adapter/MybatisPlusAdapterTest.java
@@ -13,8 +13,8 @@
public class MybatisPlusAdapterTest {
private static final String DRIVER = "com.mysql.cj.jdbc.Driver";
private static final String URL = "jdbc:mysql://localhost:3306/";
- private static final String USERNAME = "root";
- private static final String PASSWORD = "123456";
+ private static final String USERNAME = "casbin_test";
+ private static final String PASSWORD = "TEST_casbin";
static void testEnforce(Enforcer e, String sub, Object obj, String act, boolean res) {
assertEquals(res, e.enforce(sub, obj, act));
From 64a7c6e991ac859215cea0253a10a89c3e407aef Mon Sep 17 00:00:00 2001
From: TX <76741680+tx2002@users.noreply.github.com>
Date: Mon, 7 Oct 2024 13:34:18 +0800
Subject: [PATCH 2/3] feat: Update README.md
---
.idea/workspace.xml | 60 +++++++++++++++++++++++++++++++++++++++++++++
README.md | 15 ++++++++++++
2 files changed, 75 insertions(+)
create mode 100644 .idea/workspace.xml
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..428c3d1
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {
+ "keyToString": {
+ "RunOnceActivity.OpenProjectViewOnStart": "true",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "WebServerToolWindowFactoryState": "false",
+ "settings.editor.selected.configurable": "MavenSettings"
+ }
+}
+
+
+
+
+ 1728277865990
+
+
+ 1728277865990
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 6a8daf4..d524a50 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,22 @@
# mybatisplus-adapter
+[](https://codebeat.co/projects/github-com-jcasbin-mybatisplus-adapter-master)
+[](https://github.com/jcasbin/mybatisplus-adapter/actions)
+[](https://codecov.io/github/jcasbin/mybatisplus-adapter)
+[](https://javadoc.io/doc/org.casbin/mybatisplus-adapter)
+[](https://mvnrepository.com/artifact/org.casbin/mybatisplus-adapter/latest)
+[](https://discord.gg/S5UjpzGZjN)
Mybatis-Plus Adapter is the Mybatis-Plus adapter for jCasbin, which provides interfaces for loading policies from Mybatis-Plus and saving policies to it.
+## Installation
+
+
+ org.casbin
+ mybatisplus-adapter
+ 1.0.0
+
+
+
## Example
package com.company.example;
From 41206cee1ae003a52ded1467d3ad79c1b9b3d8e7 Mon Sep 17 00:00:00 2001
From: Yang Luo
Date: Mon, 7 Oct 2024 13:50:00 +0800
Subject: [PATCH 3/3] Delete .idea/workspace.xml
---
.idea/workspace.xml | 60 ---------------------------------------------
1 file changed, 60 deletions(-)
delete mode 100644 .idea/workspace.xml
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
deleted file mode 100644
index 428c3d1..0000000
--- a/.idea/workspace.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {
- "keyToString": {
- "RunOnceActivity.OpenProjectViewOnStart": "true",
- "RunOnceActivity.ShowReadmeOnStart": "true",
- "WebServerToolWindowFactoryState": "false",
- "settings.editor.selected.configurable": "MavenSettings"
- }
-}
-
-
-
-
- 1728277865990
-
-
- 1728277865990
-
-
-
-
-
-
-
-
-
\ No newline at end of file