deploy angular app as nuxeo server module - Connection error - [SOLVED]
Hi Thomas,
After packaging my angular app as nuxeo module and deployed to nuxeo server side, I got nuxeo a REST API issue on user behind CAS connection :
OPTIONS http://localhost:8080/nuxeo/json/cmis net::ERR_NAME_NOT_RESOLVED
Fetch API cannot load http://localhost:8080/nuxeo/json/cmis. net::ERR_NAME_NOT_RESOLVED
OPTIONS http://localhost:8080/nuxeo/api/v1/automation/Document.GetChildren net::ERR_NAME_NOT_RESOLVED
Fetch API cannot load http://localhost:8080/nuxeo/api/v1/automation/Document.GetChildren. net::ERR_NAME_NOT_RESOLVED
Here is my .xml files embbed in my .jar file auth-config.xml
<component name="org.utt.geodedocej.authentication">
<extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService" point="startURL" >
<startURLPattern> <patterns>
<pattern>geode-DocEj</pattern>
</patterns>
</startURLPattern>
</extension>
</component>
deployment-fragement.xml
<?xml version="1.0"?>
<fragment version="1">
<install>
<!-- Unzip the contents of our web application into the server -->
<unzip from="${bundle.fileName}" to="/">
<include>nuxeo.war/**</include>
</unzip>
</install>
<extension target="web#STD-AUTH-FILTER">
<filter-mapping>
<filter-name>NuxeoAuthenticationFilter</filter-name>
<url-pattern>/geode-DocEj/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
</extension>
</fragment>
I also create a deploy template in .templates/geode-doc-ej.. et make a reference in nuxeo.conf but always unable to connect.
Thanks for help
0 votes
1 answers
2100 views