Skip to content

Commit b278b30

Browse files
update security error
added module role
1 parent e69e76d commit b278b30

330 files changed

Lines changed: 9548 additions & 40 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>XpathQuery_main</name>
3+
<name>Xpath_Module</name>
44
<comment></comment>
55
<projects>
66
</projects>

App.mpr

0 Bytes
Binary file not shown.

App.mpr.lock

Whitespace-only changes.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ Exactly like the retrieve from database activity but allows you to provide the x
1010
The module has an example folder that contains examples on how to use each action.
1111

1212

13-
![Screenshot 1](https://github.com/austinmcnicholas/Xpath-Module/blob/main/assets.png/xpathImage1.PNG)
13+
![Screenshot 1](https://github.com/austinmcnicholas/Xpath-Module/blob/main/assets.png/xpathImage1.PNG)
14+
15+
Empowers customers to self-serve account actions like real-time start and stop service, payments, and correspondence via an intuitive web portal.

Xpath_Module.launch

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
3+
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
4+
<listEntry value="/Xpath_Module"/>
5+
</listAttribute>
6+
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
7+
<listEntry value="4"/>
8+
</listAttribute>
9+
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
10+
<mapEntry key="M2EE_ADMIN_PASS" value="1"/>
11+
<mapEntry key="M2EE_ADMIN_PORT" value="8090"/>
12+
<mapEntry key="M2EE_CONSOLE_PATH" value="C:/Program Files/Mendix/8.7.0.1476/modeler/MendixConsoleLog.exe"/>
13+
<mapEntry key="MX_INSTALL_PATH" value="C:/Program Files/Mendix/8.7.0.1476"/>
14+
<mapEntry key="MXCONSOLE_BASE_PATH" value="C:/Users/work/Documents/GitHub/Xpath-Module/deployment"/>
15+
<mapEntry key="MXCONSOLE_RUNTIME_PATH" value="C:/Program Files/Mendix/8.7.0.1476/runtime"/>
16+
<mapEntry key="MXCONSOLE_RUNTIME_PORT" value="8080"/>
17+
<mapEntry key="MXCONSOLE_RUNTIME_LISTEN_ADDRESSES" value="*"/>
18+
<mapEntry key="MXCONSOLE_SERVER_URL" value="http://127.0.0.1:8090/"/>
19+
</mapAttribute>
20+
<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"/>
21+
<stringAttribute key="org.eclipse.debug.core.source_locator_memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;sourceLookupDirector&gt;&#13;&#10;&lt;sourceContainers duplicates=&quot;false&quot;&gt;&#13;&#10;&lt;container memento=&quot;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;no&amp;quot;?&amp;gt;&amp;#13;&amp;#10;&amp;lt;javaProject name=&amp;quot;Xpath_Module&amp;quot;/&amp;gt;&amp;#13;&amp;#10;&quot; typeId=&quot;org.eclipse.jdt.launching.sourceContainer.javaProject&quot;/&gt;&#13;&#10;&lt;container memento=&quot;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;no&amp;quot;?&amp;gt;&amp;#13;&amp;#10;&amp;lt;default/&amp;gt;&amp;#13;&amp;#10;&quot; typeId=&quot;org.eclipse.debug.core.containerType.default&quot;/&gt;&#13;&#10;&lt;/sourceContainers&gt;&#13;&#10;&lt;/sourceLookupDirector&gt;&#13;&#10;"/>
22+
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
23+
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER&quot; javaProject=&quot;Xpath_Module&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#13;&#10;"/>
24+
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;C:/Program Files/Mendix/8.7.0.1476/runtime/launcher/runtimelauncher.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
25+
</listAttribute>
26+
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
27+
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.mendix.container.boot.Main"/>
28+
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Xpath_Module"/>
29+
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Djava.net.preferIPv4Stack=true -DMX_LOG_LEVEL=INFO -Djava.library.path=&quot;C:/Program Files/Mendix/8.7.0.1476/runtime/lib/x64;C:/Users/work/Documents/GitHub/Xpath-Module/deployment/model/lib/userlib&quot; -Dfile.encoding=UTF-8 -Djava.io.tmpdir=&quot;C:/Users/work/Documents/GitHub/Xpath-Module/deployment/data/tmp&quot; -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"/>
30+
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="&quot;C:/Users/work/Documents/GitHub/Xpath-Module/deployment&quot;"/>
31+
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="C:/Users/work/Documents/GitHub/Xpath-Module/deployment"/>
32+
</launchConfiguration>

deployment/build_core.xml

Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<project name="App" default="deploy" basedir="C:\Users\work\Documents\GitHub\Xpath-Module">
3+
<description>Ant buildfile for deployment. Generated by Mendix Studio Pro.</description>
4+
<property name="deployment" location="deployment" />
5+
<property name="model" location="${deployment}/model" />
6+
<target name="clean" description="clean the deployment directory">
7+
<delete dir="${model}" />
8+
<delete dir="${deployment}/run" />
9+
</target>
10+
<target name="clean-custom-classes" description="clean the compiled custom java action classes">
11+
<delete>
12+
<fileset dir="${deployment}/run/bin" includes="**/*" />
13+
</delete>
14+
</target>
15+
<target name="deploy" description="deploy the project">
16+
<copy todir="${deployment}" overwrite="true">
17+
<fileset dir="C:/Program Files/Mendix/8.7.0.1476/modeler/runtemplates/deployment">
18+
<exclude name="**/*.template" />
19+
</fileset>
20+
</copy>
21+
<copy todir="${model}/lib/userlib" overwrite="true">
22+
<fileset dir="userlib" />
23+
</copy>
24+
<copy todir="${model}/resources" overwrite="true">
25+
<fileset dir="resources" />
26+
</copy>
27+
</target>
28+
<target name="compile" description="Compile Java actions">
29+
<javac destdir="${deployment}/run/bin" includeAntRuntime="false" debug="true" debuglevel="lines,source" encoding="UTF-8">
30+
<src path="javasource" />
31+
<classpath>
32+
<fileset file="C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/com.mendix.json.jar" />
33+
<fileset file="C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/com.mendix.logging-api.jar" />
34+
<fileset file="C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/com.mendix.m2ee-api.jar" />
35+
<fileset file="C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/com.mendix.public-api.jar" />
36+
<fileset file="C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/javax.servlet-api.servlet.jar" />
37+
<fileset dir="userlib">
38+
<include name="*.jar" />
39+
</fileset>
40+
</classpath>
41+
</javac>
42+
</target>
43+
<target name="checkDependencies" description="Check dependencies">
44+
<tempfile property="jdeps.outputlog" destdir="${java.io.tmpdir}" createfile="true" deleteonexit="true" />
45+
<exec executable="java" output="${jdeps.outputlog}">
46+
<arg value="-Duser.language=en" />
47+
<arg value="com.sun.tools.jdeps.Main" />
48+
<arg value="-cp" />
49+
<arg value="C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/com.mendix.json.jar${path.separator}C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/com.mendix.logging-api.jar${path.separator}C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/com.mendix.m2ee-api.jar${path.separator}C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/com.mendix.public-api.jar${path.separator}C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/javax.servlet-api.servlet.jar${path.separator}userlib/.*" />
50+
<arg value="--multi-release" />
51+
<arg value="11" />
52+
<arg value="-verbose:class" />
53+
<arg value="-p" />
54+
<arg value="javax.activation" />
55+
<arg value="-p" />
56+
<arg value="javax.activity" />
57+
<arg value="-p" />
58+
<arg value="javax.annotation" />
59+
<arg value="-p" />
60+
<arg value="javax.jws.soap" />
61+
<arg value="-p" />
62+
<arg value="javax.jws" />
63+
<arg value="-p" />
64+
<arg value="javax.transaction" />
65+
<arg value="-p" />
66+
<arg value="javax.rmi.CORBA" />
67+
<arg value="-p" />
68+
<arg value="javax.rmi" />
69+
<arg value="-p" />
70+
<arg value="javax.xml.bind.annotation.adapters" />
71+
<arg value="-p" />
72+
<arg value="javax.xml.bind.annotation" />
73+
<arg value="-p" />
74+
<arg value="javax.xml.bind.attachment" />
75+
<arg value="-p" />
76+
<arg value="javax.xml.bind.helpers" />
77+
<arg value="-p" />
78+
<arg value="javax.xml.bind.util" />
79+
<arg value="-p" />
80+
<arg value="javax.xml.bind" />
81+
<arg value="-p" />
82+
<arg value="javax.xml.soap" />
83+
<arg value="-p" />
84+
<arg value="javax.xml.ws.handler.soap" />
85+
<arg value="-p" />
86+
<arg value="javax.xml.ws.handler" />
87+
<arg value="-p" />
88+
<arg value="javax.xml.ws.http" />
89+
<arg value="-p" />
90+
<arg value="javax.xml.ws.soap" />
91+
<arg value="-p" />
92+
<arg value="javax.xml.ws.spi.http" />
93+
<arg value="-p" />
94+
<arg value="javax.xml.ws.spi" />
95+
<arg value="-p" />
96+
<arg value="javax.xml.ws.wsaddressing" />
97+
<arg value="-p" />
98+
<arg value="javax.xml.ws" />
99+
<arg value="-p" />
100+
<arg value="org.omg.CORBA" />
101+
<arg value="-p" />
102+
<arg value="org.omg.CORBA_2_3" />
103+
<arg value="-p" />
104+
<arg value="org.omg.CORBA_2_3.portable" />
105+
<arg value="-p" />
106+
<arg value="org.omg.CORBA.DynAnyPackage" />
107+
<arg value="-p" />
108+
<arg value="org.omg.CORBA.ORBPackage" />
109+
<arg value="-p" />
110+
<arg value="org.omg.CORBA.portable" />
111+
<arg value="-p" />
112+
<arg value="org.omg.CORBA.TypeCodePackage" />
113+
<arg value="-p" />
114+
<arg value="org.omg.CosNaming" />
115+
<arg value="-p" />
116+
<arg value="org.omg.CosNaming.NamingContextExtPackage" />
117+
<arg value="-p" />
118+
<arg value="org.omg.CosNaming.NamingContextPackage" />
119+
<arg value="-p" />
120+
<arg value="org.omg.Dynamic" />
121+
<arg value="-p" />
122+
<arg value="org.omg.DynamicAny" />
123+
<arg value="-p" />
124+
<arg value="org.omg.DynamicAny.DynAnyFactoryPackage" />
125+
<arg value="-p" />
126+
<arg value="org.omg.DynamicAny.DynAnyPackage" />
127+
<arg value="-p" />
128+
<arg value="org.omg.IOP" />
129+
<arg value="-p" />
130+
<arg value="org.omg.IOP.CodecFactoryPackage" />
131+
<arg value="-p" />
132+
<arg value="org.omg.IOP.CodecPackage" />
133+
<arg value="-p" />
134+
<arg value="org.omg.Messaging" />
135+
<arg value="-p" />
136+
<arg value="org.omg.PortableInterceptor" />
137+
<arg value="-p" />
138+
<arg value="org.omg.PortableInterceptor.ORBInitInfoPackage" />
139+
<arg value="-p" />
140+
<arg value="org.omg.PortableServer" />
141+
<arg value="-p" />
142+
<arg value="org.omg.PortableServer.CurrentPackage" />
143+
<arg value="-p" />
144+
<arg value="org.omg.PortableServer.POAManagerPackage" />
145+
<arg value="-p" />
146+
<arg value="org.omg.PortableServer.POAPackage" />
147+
<arg value="-p" />
148+
<arg value="org.omg.PortableServer.portable" />
149+
<arg value="-p" />
150+
<arg value="org.omg.PortableServer.ServantLocatorPackage" />
151+
<arg value="-p" />
152+
<arg value="org.omg.SendingContext" />
153+
<arg value="-p" />
154+
<arg value="org.omg.stub.java.rmi" />
155+
<arg value="${deployment}/run/bin" />
156+
</exec>
157+
<loadfile srcfile="${jdeps.outputlog}" property="jdeps.output">
158+
<filterchain>
159+
<linecontains negate="true">
160+
<contains value="Warning: " />
161+
</linecontains>
162+
</filterchain>
163+
</loadfile>
164+
<condition property="jdeps.hasErrors">
165+
<contains string="${jdeps.output}" substring="not found" casesensitive="false" />
166+
</condition>
167+
<echo xmlns:if="ant:if" if:true="${jdeps.hasErrors}" message="${jdeps.output}" />
168+
<fail if="${jdeps.hasErrors}" message="Dependency checked failed, most probably some packages and/or classes are not provided." />
169+
</target>
170+
<target name="package" description="Generate Jar File">
171+
<jar destfile="${deployment}/model/bundles/project.jar">
172+
<fileset dir="${deployment}/run/bin" excludes=".keep" />
173+
<fileset dir="userlib" excludes="**/*.jar" casesensitive="false" />
174+
<zipfileset dir="${deployment}/run" includes="component.xml" fullpath="OSGI-INF/component.xml" />
175+
<manifest>
176+
<attribute name="Bundle-Name" value="Xpath_Module" />
177+
<attribute name="Bundle-SymbolicName" value="project" />
178+
<attribute name="Service-Component" value="OSGI-INF/component.xml" />
179+
</manifest>
180+
</jar>
181+
</target>
182+
</project>

0 commit comments

Comments
 (0)