diff --git a/.gitignore b/.gitignore index 1bf50a6..8d341b7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ /target/ /download/ /webroot/ -.DS_Store \ No newline at end of file +.DS_Store +lib/report/*.jar \ No newline at end of file diff --git a/crm-file-manager b/crm-file-manager deleted file mode 160000 index 75a10bc..0000000 --- a/crm-file-manager +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 75a10bc87a91d199eb7d47776e332f957cf2776f diff --git a/demo-file-submit-oss b/demo-file-submit-oss deleted file mode 160000 index 0decc13..0000000 --- a/demo-file-submit-oss +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0decc137e1cb47b7001506eda25ff2a00c755a6a diff --git a/demo-formula-script b/demo-formula-script deleted file mode 160000 index da69206..0000000 --- a/demo-formula-script +++ /dev/null @@ -1 +0,0 @@ -Subproject commit da6920613bcfa69aabd43e45307378989a2da951 diff --git a/demo-request-filter b/demo-request-filter deleted file mode 160000 index 52a4304..0000000 --- a/demo-request-filter +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 52a4304c7d2e5187c21ddaa5416b2495470a242b diff --git a/demo-simple-config b/demo-simple-config deleted file mode 160000 index 4e1fe13..0000000 --- a/demo-simple-config +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4e1fe1302726dd0192660fd10b2ae8bf24a4773c diff --git a/demo-system-management b/demo-system-management deleted file mode 160000 index 29a6ca2..0000000 --- a/demo-system-management +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 29a6ca235dba058058f8a2780ee145601d6edb90 diff --git a/demo-tabledata-redis b/demo-tabledata-redis deleted file mode 160000 index 412a475..0000000 --- a/demo-tabledata-redis +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 412a4756db93fd787c47afb244c9adff0b77ec2a diff --git a/demo-theme-original b/demo-theme-original deleted file mode 160000 index b656530..0000000 --- a/demo-theme-original +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b6565303b3cb43d363058f5e543a0b4bdf78bf19 diff --git a/demo-web-request b/demo-web-request deleted file mode 160000 index 9a47f32..0000000 --- a/demo-web-request +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9a47f327fc09cf396bc56abc9885be87932f29bd diff --git a/lib/XmlSchema-1.4.7.jar b/lib/XmlSchema-1.4.7.jar new file mode 100644 index 0000000..79251c6 Binary files /dev/null and b/lib/XmlSchema-1.4.7.jar differ diff --git a/lib/axiom-api-1.2.13.jar b/lib/axiom-api-1.2.13.jar new file mode 100644 index 0000000..84cb42c Binary files /dev/null and b/lib/axiom-api-1.2.13.jar differ diff --git a/lib/axiom-impl-1.2.13.jar b/lib/axiom-impl-1.2.13.jar new file mode 100644 index 0000000..a959b28 Binary files /dev/null and b/lib/axiom-impl-1.2.13.jar differ diff --git a/lib/axis-1.4-sources.jar b/lib/axis-1.4-sources.jar new file mode 100644 index 0000000..becad6a Binary files /dev/null and b/lib/axis-1.4-sources.jar differ diff --git a/lib/axis-1.4.jar b/lib/axis-1.4.jar new file mode 100644 index 0000000..20b09a5 Binary files /dev/null and b/lib/axis-1.4.jar differ diff --git a/lib/axis2-adb-1.6.2.jar b/lib/axis2-adb-1.6.2.jar new file mode 100644 index 0000000..6234fdb Binary files /dev/null and b/lib/axis2-adb-1.6.2.jar differ diff --git a/lib/axis2-kernel-1.6.2.jar b/lib/axis2-kernel-1.6.2.jar new file mode 100644 index 0000000..3ae5f7a Binary files /dev/null and b/lib/axis2-kernel-1.6.2.jar differ diff --git a/lib/axis2-transport-http-1.6.2.jar b/lib/axis2-transport-http-1.6.2.jar new file mode 100644 index 0000000..b1dad78 Binary files /dev/null and b/lib/axis2-transport-http-1.6.2.jar differ diff --git a/lib/axis2-transport-local-1.6.2.jar b/lib/axis2-transport-local-1.6.2.jar new file mode 100644 index 0000000..34a7073 Binary files /dev/null and b/lib/axis2-transport-local-1.6.2.jar differ diff --git a/lib/barcode4j-light.jar b/lib/barcode4j-light.jar new file mode 100644 index 0000000..128971a Binary files /dev/null and b/lib/barcode4j-light.jar differ diff --git a/lib/cluster_ejb_stateful_session.jar b/lib/cluster_ejb_stateful_session.jar new file mode 100644 index 0000000..b2481b2 Binary files /dev/null and b/lib/cluster_ejb_stateful_session.jar differ diff --git a/lib/commons-codec-1.3.jar b/lib/commons-codec-1.3.jar new file mode 100644 index 0000000..957b675 Binary files /dev/null and b/lib/commons-codec-1.3.jar differ diff --git a/lib/commons-httpclient-3.1.jar b/lib/commons-httpclient-3.1.jar new file mode 100644 index 0000000..7c59774 Binary files /dev/null and b/lib/commons-httpclient-3.1.jar differ diff --git a/lib/ejb20_basic_beanManaged_client.jar b/lib/ejb20_basic_beanManaged_client.jar new file mode 100644 index 0000000..8239139 Binary files /dev/null and b/lib/ejb20_basic_beanManaged_client.jar differ diff --git a/lib/ejb20_basic_containerManaged_client.jar b/lib/ejb20_basic_containerManaged_client.jar new file mode 100644 index 0000000..5fefeac Binary files /dev/null and b/lib/ejb20_basic_containerManaged_client.jar differ diff --git a/lib/ejb20_basic_statefulSession_client.jar b/lib/ejb20_basic_statefulSession_client.jar new file mode 100644 index 0000000..6f843e1 Binary files /dev/null and b/lib/ejb20_basic_statefulSession_client.jar differ diff --git a/lib/ejb20_basic_statelessSession_client.jar b/lib/ejb20_basic_statelessSession_client.jar new file mode 100644 index 0000000..bf6a023 Binary files /dev/null and b/lib/ejb20_basic_statelessSession_client.jar differ diff --git a/lib/ejb20_relationships_bands_client.jar b/lib/ejb20_relationships_bands_client.jar new file mode 100644 index 0000000..1575c0a Binary files /dev/null and b/lib/ejb20_relationships_bands_client.jar differ diff --git a/lib/ejb21_ejbql_client.jar b/lib/ejb21_ejbql_client.jar new file mode 100644 index 0000000..f0a642b Binary files /dev/null and b/lib/ejb21_ejbql_client.jar differ diff --git a/lib/ejb21_timerService_statelessSession_client.jar b/lib/ejb21_timerService_statelessSession_client.jar new file mode 100644 index 0000000..b75ac8a Binary files /dev/null and b/lib/ejb21_timerService_statelessSession_client.jar differ diff --git a/lib/ejb_message.jar b/lib/ejb_message.jar new file mode 100644 index 0000000..be4f3b6 Binary files /dev/null and b/lib/ejb_message.jar differ diff --git a/lib/httpcore-4.0.jar b/lib/httpcore-4.0.jar new file mode 100644 index 0000000..37eb7d4 Binary files /dev/null and b/lib/httpcore-4.0.jar differ diff --git a/lib/javax.annotation.jar b/lib/javax.annotation.jar new file mode 100644 index 0000000..52dca7f Binary files /dev/null and b/lib/javax.annotation.jar differ diff --git a/lib/javax.ejb.jar b/lib/javax.ejb.jar new file mode 100644 index 0000000..4ebf5ec Binary files /dev/null and b/lib/javax.ejb.jar differ diff --git a/lib/javax.jms.jar b/lib/javax.jms.jar new file mode 100644 index 0000000..d31451a Binary files /dev/null and b/lib/javax.jms.jar differ diff --git a/lib/javax.persistence.jar b/lib/javax.persistence.jar new file mode 100644 index 0000000..21d80e0 Binary files /dev/null and b/lib/javax.persistence.jar differ diff --git a/lib/javax.resource.jar b/lib/javax.resource.jar new file mode 100644 index 0000000..696a234 Binary files /dev/null and b/lib/javax.resource.jar differ diff --git a/lib/javax.servlet.jsp.jstl.jar b/lib/javax.servlet.jsp.jstl.jar new file mode 100644 index 0000000..7be17cc Binary files /dev/null and b/lib/javax.servlet.jsp.jstl.jar differ diff --git a/lib/jaxrpc.jar b/lib/jaxrpc.jar new file mode 100644 index 0000000..180d4ec Binary files /dev/null and b/lib/jaxrpc.jar differ diff --git a/lib/jcommon-1.0.16.jar b/lib/jcommon-1.0.16.jar new file mode 100644 index 0000000..4cd6807 Binary files /dev/null and b/lib/jcommon-1.0.16.jar differ diff --git a/lib/jfreechart-1.0.13.jar b/lib/jfreechart-1.0.13.jar new file mode 100644 index 0000000..83c6993 Binary files /dev/null and b/lib/jfreechart-1.0.13.jar differ diff --git a/lib/mail-1.4.jar b/lib/mail-1.4.jar new file mode 100644 index 0000000..fd4555b Binary files /dev/null and b/lib/mail-1.4.jar differ diff --git a/lib/neethi-3.0.2.jar b/lib/neethi-3.0.2.jar new file mode 100644 index 0000000..383efde Binary files /dev/null and b/lib/neethi-3.0.2.jar differ diff --git a/lib/sapjco.jar b/lib/sapjco.jar new file mode 100644 index 0000000..e18912e Binary files /dev/null and b/lib/sapjco.jar differ diff --git a/lib/sapjco3.jar b/lib/sapjco3.jar new file mode 100644 index 0000000..59c4bac Binary files /dev/null and b/lib/sapjco3.jar differ diff --git a/lib/servlet-api.jar b/lib/servlet-api.jar new file mode 100644 index 0000000..369143a Binary files /dev/null and b/lib/servlet-api.jar differ diff --git a/lib/sjsxp-1.0.1.jar b/lib/sjsxp-1.0.1.jar new file mode 100644 index 0000000..23a435e Binary files /dev/null and b/lib/sjsxp-1.0.1.jar differ diff --git a/lib/webservices_jws_basic_ejbClient_client.jar b/lib/webservices_jws_basic_ejbClient_client.jar new file mode 100644 index 0000000..db42ddc Binary files /dev/null and b/lib/webservices_jws_basic_ejbClient_client.jar differ diff --git a/lib/wsdl4j-1.6.2.jar b/lib/wsdl4j-1.6.2.jar new file mode 100644 index 0000000..b9ffc36 Binary files /dev/null and b/lib/wsdl4j-1.6.2.jar differ diff --git a/plugin-function/build.xml b/plugin-function/build.xml deleted file mode 100644 index 7a6dc84..0000000 --- a/plugin-function/build.xml +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugin-function/lib/report/.gitkeep b/plugin-function/lib/report/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/plugin-function/plugin.xml b/plugin-function/plugin.xml deleted file mode 100644 index a45d02f..0000000 --- a/plugin-function/plugin.xml +++ /dev/null @@ -1,19 +0,0 @@ - - com.fr.plugin.function.test - - yes - 1.0 - 10.0 - 2018-07-31 - author - - - [2018-07-31]初始化插件。
- ]]>
- - - - - -
\ No newline at end of file diff --git a/plugin-function/pom.xml b/plugin-function/pom.xml deleted file mode 100644 index f45aea2..0000000 --- a/plugin-function/pom.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - 4.0.0 - - - com.fr.plugin - starter - 10.0 - - jar - plugin-function - - - com.fr.plugin - gson - 1.0 - system - ${project.basedir}/lib/gson-2.3.1.jar - - - - - ${project.basedir}/../webroot/WEB-INF/plugins/plugin-com.fr.plugin.function.test-1.0/classes - - \ No newline at end of file diff --git a/plugin-function/src/main/java/com/fr/plugin/MyAbs.java b/plugin-function/src/main/java/com/fr/plugin/MyAbs.java deleted file mode 100644 index ffddecc..0000000 --- a/plugin-function/src/main/java/com/fr/plugin/MyAbs.java +++ /dev/null @@ -1,47 +0,0 @@ -package com.fr.plugin; - -import com.fr.general.FArray; -import com.fr.general.GeneralUtils; -import com.fr.intelli.record.Focus; -import com.fr.intelli.record.Original; -import com.fr.plugin.context.PluginContexts; -import com.fr.record.analyzer.EnableMetrics; -import com.fr.script.AbstractFunction; -import com.fr.stable.ArrayUtils; -import com.fr.stable.Primitive; -import com.fr.stable.fun.Authorize; - -@EnableMetrics -@Authorize(callSignKey = MyFunctionConstants.PLUGIN_ID) -public class MyAbs extends AbstractFunction { - - @Focus(id = "com.fr.plugin.function.test", text = "Plugin-Test_Function_Abs", source = Original.PLUGIN) - public Object run(Object[] args) { - if (!PluginContexts.currentContext().isAvailable()) { - return "Error:authorization is expired."; - } - int len = ArrayUtils.getLength(args); - if (len == 0) { - return Primitive.ERROR_VALUE; - } else if (len == 1) { - Object one = args[0]; - if (one instanceof FArray) { - FArray data = (FArray)one; - FArray result = new FArray(); - for (Object el : data) { - result.add(Math.abs(GeneralUtils.objectToNumber(el).doubleValue())); - } - return result; - } else { - return Math.abs(GeneralUtils.objectToNumber(one).doubleValue()); - } - } else { - FArray result = new FArray(); - for (Object arg : args) { - result.add(Math.abs(GeneralUtils.objectToNumber(arg).doubleValue())); - } - return result; - } - - } -} diff --git a/plugin-function/src/main/java/com/fr/plugin/MyFunctionConstants.java b/plugin-function/src/main/java/com/fr/plugin/MyFunctionConstants.java deleted file mode 100644 index 2d7d4a6..0000000 --- a/plugin-function/src/main/java/com/fr/plugin/MyFunctionConstants.java +++ /dev/null @@ -1,6 +0,0 @@ -package com.fr.plugin; - -public class MyFunctionConstants { - - public static final String PLUGIN_ID = "com.fr.plugin.function.test"; -} diff --git a/plugin-function/src/main/java/com/fr/plugin/MyLocaleFinder.java b/plugin-function/src/main/java/com/fr/plugin/MyLocaleFinder.java deleted file mode 100644 index a062cd1..0000000 --- a/plugin-function/src/main/java/com/fr/plugin/MyLocaleFinder.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.fr.plugin; - -import com.fr.stable.fun.impl.AbstractLocaleFinder; - -public class MyLocaleFinder extends AbstractLocaleFinder { - @Override - public String find() { - return "com/fr/plugin/demo"; - } -} diff --git a/plugin-function/src/main/resources/com/fr/plugin/demo.properties b/plugin-function/src/main/resources/com/fr/plugin/demo.properties deleted file mode 100644 index 9bc5f29..0000000 --- a/plugin-function/src/main/resources/com/fr/plugin/demo.properties +++ /dev/null @@ -1 +0,0 @@ -Plugin-Test_Function_Abs=Test ABS \ No newline at end of file diff --git a/plugin-function/src/main/resources/com/fr/plugin/demo_zh_CN.properties b/plugin-function/src/main/resources/com/fr/plugin/demo_zh_CN.properties deleted file mode 100644 index aa910e8..0000000 --- a/plugin-function/src/main/resources/com/fr/plugin/demo_zh_CN.properties +++ /dev/null @@ -1 +0,0 @@ -Plugin-Test_Function_Abs=测试ABS函数 \ No newline at end of file diff --git a/plugin-report-doc_demo.iml b/plugin-report-doc_demo.iml deleted file mode 100644 index 3302bb5..0000000 --- a/plugin-report-doc_demo.iml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file