Skip to content

Commit

Permalink
update security error
Browse files Browse the repository at this point in the history
added module role
  • Loading branch information
austinmcnicholas committed Jul 7, 2021
1 parent e69e76d commit b278b30
Show file tree
Hide file tree
Showing 330 changed files with 9,548 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>XpathQuery_main</name>
<name>Xpath_Module</name>
<comment></comment>
<projects>
</projects>
Expand Down
Binary file modified App.mpr
Binary file not shown.
Empty file added App.mpr.lock
Empty file.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ Exactly like the retrieve from database activity but allows you to provide the x
The module has an example folder that contains examples on how to use each action.


![Screenshot 1](https://github.com/austinmcnicholas/Xpath-Module/blob/main/assets.png/xpathImage1.PNG)
![Screenshot 1](https://github.com/austinmcnicholas/Xpath-Module/blob/main/assets.png/xpathImage1.PNG)

Empowers customers to self-serve account actions like real-time start and stop service, payments, and correspondence via an intuitive web portal.
32 changes: 32 additions & 0 deletions Xpath_Module.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Xpath_Module"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
<mapEntry key="M2EE_ADMIN_PASS" value="1"/>
<mapEntry key="M2EE_ADMIN_PORT" value="8090"/>
<mapEntry key="M2EE_CONSOLE_PATH" value="C:/Program Files/Mendix/8.7.0.1476/modeler/MendixConsoleLog.exe"/>
<mapEntry key="MX_INSTALL_PATH" value="C:/Program Files/Mendix/8.7.0.1476"/>
<mapEntry key="MXCONSOLE_BASE_PATH" value="C:/Users/work/Documents/GitHub/Xpath-Module/deployment"/>
<mapEntry key="MXCONSOLE_RUNTIME_PATH" value="C:/Program Files/Mendix/8.7.0.1476/runtime"/>
<mapEntry key="MXCONSOLE_RUNTIME_PORT" value="8080"/>
<mapEntry key="MXCONSOLE_RUNTIME_LISTEN_ADDRESSES" value="*"/>
<mapEntry key="MXCONSOLE_SERVER_URL" value="http://127.0.0.1:8090/"/>
</mapAttribute>
<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"/>
<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;"/>
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
<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;"/>
<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;"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.mendix.container.boot.Main"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Xpath_Module"/>
<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"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="&quot;C:/Users/work/Documents/GitHub/Xpath-Module/deployment&quot;"/>
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="C:/Users/work/Documents/GitHub/Xpath-Module/deployment"/>
</launchConfiguration>
182 changes: 182 additions & 0 deletions deployment/build_core.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
<?xml version="1.0" encoding="utf-8"?>
<project name="App" default="deploy" basedir="C:\Users\work\Documents\GitHub\Xpath-Module">
<description>Ant buildfile for deployment. Generated by Mendix Studio Pro.</description>
<property name="deployment" location="deployment" />
<property name="model" location="${deployment}/model" />
<target name="clean" description="clean the deployment directory">
<delete dir="${model}" />
<delete dir="${deployment}/run" />
</target>
<target name="clean-custom-classes" description="clean the compiled custom java action classes">
<delete>
<fileset dir="${deployment}/run/bin" includes="**/*" />
</delete>
</target>
<target name="deploy" description="deploy the project">
<copy todir="${deployment}" overwrite="true">
<fileset dir="C:/Program Files/Mendix/8.7.0.1476/modeler/runtemplates/deployment">
<exclude name="**/*.template" />
</fileset>
</copy>
<copy todir="${model}/lib/userlib" overwrite="true">
<fileset dir="userlib" />
</copy>
<copy todir="${model}/resources" overwrite="true">
<fileset dir="resources" />
</copy>
</target>
<target name="compile" description="Compile Java actions">
<javac destdir="${deployment}/run/bin" includeAntRuntime="false" debug="true" debuglevel="lines,source" encoding="UTF-8">
<src path="javasource" />
<classpath>
<fileset file="C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/com.mendix.json.jar" />
<fileset file="C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/com.mendix.logging-api.jar" />
<fileset file="C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/com.mendix.m2ee-api.jar" />
<fileset file="C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/com.mendix.public-api.jar" />
<fileset file="C:/Program Files/Mendix/8.7.0.1476/runtime/bundles/javax.servlet-api.servlet.jar" />
<fileset dir="userlib">
<include name="*.jar" />
</fileset>
</classpath>
</javac>
</target>
<target name="checkDependencies" description="Check dependencies">
<tempfile property="jdeps.outputlog" destdir="${java.io.tmpdir}" createfile="true" deleteonexit="true" />
<exec executable="java" output="${jdeps.outputlog}">
<arg value="-Duser.language=en" />
<arg value="com.sun.tools.jdeps.Main" />
<arg value="-cp" />
<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/.*" />
<arg value="--multi-release" />
<arg value="11" />
<arg value="-verbose:class" />
<arg value="-p" />
<arg value="javax.activation" />
<arg value="-p" />
<arg value="javax.activity" />
<arg value="-p" />
<arg value="javax.annotation" />
<arg value="-p" />
<arg value="javax.jws.soap" />
<arg value="-p" />
<arg value="javax.jws" />
<arg value="-p" />
<arg value="javax.transaction" />
<arg value="-p" />
<arg value="javax.rmi.CORBA" />
<arg value="-p" />
<arg value="javax.rmi" />
<arg value="-p" />
<arg value="javax.xml.bind.annotation.adapters" />
<arg value="-p" />
<arg value="javax.xml.bind.annotation" />
<arg value="-p" />
<arg value="javax.xml.bind.attachment" />
<arg value="-p" />
<arg value="javax.xml.bind.helpers" />
<arg value="-p" />
<arg value="javax.xml.bind.util" />
<arg value="-p" />
<arg value="javax.xml.bind" />
<arg value="-p" />
<arg value="javax.xml.soap" />
<arg value="-p" />
<arg value="javax.xml.ws.handler.soap" />
<arg value="-p" />
<arg value="javax.xml.ws.handler" />
<arg value="-p" />
<arg value="javax.xml.ws.http" />
<arg value="-p" />
<arg value="javax.xml.ws.soap" />
<arg value="-p" />
<arg value="javax.xml.ws.spi.http" />
<arg value="-p" />
<arg value="javax.xml.ws.spi" />
<arg value="-p" />
<arg value="javax.xml.ws.wsaddressing" />
<arg value="-p" />
<arg value="javax.xml.ws" />
<arg value="-p" />
<arg value="org.omg.CORBA" />
<arg value="-p" />
<arg value="org.omg.CORBA_2_3" />
<arg value="-p" />
<arg value="org.omg.CORBA_2_3.portable" />
<arg value="-p" />
<arg value="org.omg.CORBA.DynAnyPackage" />
<arg value="-p" />
<arg value="org.omg.CORBA.ORBPackage" />
<arg value="-p" />
<arg value="org.omg.CORBA.portable" />
<arg value="-p" />
<arg value="org.omg.CORBA.TypeCodePackage" />
<arg value="-p" />
<arg value="org.omg.CosNaming" />
<arg value="-p" />
<arg value="org.omg.CosNaming.NamingContextExtPackage" />
<arg value="-p" />
<arg value="org.omg.CosNaming.NamingContextPackage" />
<arg value="-p" />
<arg value="org.omg.Dynamic" />
<arg value="-p" />
<arg value="org.omg.DynamicAny" />
<arg value="-p" />
<arg value="org.omg.DynamicAny.DynAnyFactoryPackage" />
<arg value="-p" />
<arg value="org.omg.DynamicAny.DynAnyPackage" />
<arg value="-p" />
<arg value="org.omg.IOP" />
<arg value="-p" />
<arg value="org.omg.IOP.CodecFactoryPackage" />
<arg value="-p" />
<arg value="org.omg.IOP.CodecPackage" />
<arg value="-p" />
<arg value="org.omg.Messaging" />
<arg value="-p" />
<arg value="org.omg.PortableInterceptor" />
<arg value="-p" />
<arg value="org.omg.PortableInterceptor.ORBInitInfoPackage" />
<arg value="-p" />
<arg value="org.omg.PortableServer" />
<arg value="-p" />
<arg value="org.omg.PortableServer.CurrentPackage" />
<arg value="-p" />
<arg value="org.omg.PortableServer.POAManagerPackage" />
<arg value="-p" />
<arg value="org.omg.PortableServer.POAPackage" />
<arg value="-p" />
<arg value="org.omg.PortableServer.portable" />
<arg value="-p" />
<arg value="org.omg.PortableServer.ServantLocatorPackage" />
<arg value="-p" />
<arg value="org.omg.SendingContext" />
<arg value="-p" />
<arg value="org.omg.stub.java.rmi" />
<arg value="${deployment}/run/bin" />
</exec>
<loadfile srcfile="${jdeps.outputlog}" property="jdeps.output">
<filterchain>
<linecontains negate="true">
<contains value="Warning: " />
</linecontains>
</filterchain>
</loadfile>
<condition property="jdeps.hasErrors">
<contains string="${jdeps.output}" substring="not found" casesensitive="false" />
</condition>
<echo xmlns:if="ant:if" if:true="${jdeps.hasErrors}" message="${jdeps.output}" />
<fail if="${jdeps.hasErrors}" message="Dependency checked failed, most probably some packages and/or classes are not provided." />
</target>
<target name="package" description="Generate Jar File">
<jar destfile="${deployment}/model/bundles/project.jar">
<fileset dir="${deployment}/run/bin" excludes=".keep" />
<fileset dir="userlib" excludes="**/*.jar" casesensitive="false" />
<zipfileset dir="${deployment}/run" includes="component.xml" fullpath="OSGI-INF/component.xml" />
<manifest>
<attribute name="Bundle-Name" value="Xpath_Module" />
<attribute name="Bundle-SymbolicName" value="project" />
<attribute name="Service-Component" value="OSGI-INF/component.xml" />
</manifest>
</jar>
</target>
</project>
Loading

0 comments on commit b278b30

Please sign in to comment.