summaryrefslogtreecommitdiffstats
path: root/yang-comparator/src/main/resources/plugins.json
diff options
context:
space:
mode:
Diffstat (limited to 'yang-comparator/src/main/resources/plugins.json')
-rw-r--r--yang-comparator/src/main/resources/plugins.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/yang-comparator/src/main/resources/plugins.json b/yang-comparator/src/main/resources/plugins.json
new file mode 100644
index 0000000..4534d4d
--- /dev/null
+++ b/yang-comparator/src/main/resources/plugins.json
@@ -0,0 +1,34 @@
+{
+ "plugins": {
+ "plugin": [
+ {
+ "name": "yang_comparator",
+ "class-path": "yang-comparator-1.0-SNAPSHOT.jar",
+ "class": "com.huawei.yang.comparator.app.YangComparatorPlugin",
+ "description": "a plugin for comparing two yang schema.",
+ "parameter": [
+ {
+ "name": "old-yang",
+ "description": "mandatory,the old version yang directory."
+ },
+ {
+ "name": "settings",
+ "description": "optional,the settings file path."
+ },
+ {
+ "name": "compare-type",
+ "description": "mandatory, specify compare-type, one of stmt,tree,or compatible-check"
+ },
+ {
+ "name": "rule",
+ "description": "optional, specify the path of compatible-rule file."
+ },
+ {
+ "name": "result",
+ "description": "mandatory, specify the compare result file path, the result file is a xml format."
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file