exception with hazelcast config file v3.6 - hazelcast

I am getting the following exception when I use the hazelcast config file (also copied below). I am using SBT to run the project. I took out the map names, properties etc but I have not been able to get rid of the exception. I am using hazelcast v3.6.
hazelcast.xml file
<?xml version="1.0" encoding="UTF-8"?>
<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config/hazelcast-config-3.6.xsd"
xmlns="http://www.hazelcast.com/schema/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<group>
<name>dev</name>
<password>dev-pass</password>
</group>
<!-- <management-center enabled="false" update-interval="5">http://xxx.xxx.xxx.xxx:8080/mancenter</management-center>
-->
<network>
<port auto-increment="true" port-count="100">5701</port>
<outbound-ports>
<ports>0-5900</ports>
</outbound-ports>
<join>
<multicast enabled="false">
<!--<multicast-group>224.2.2.3</multicast-group>
<multicast-port>54327</multicast-port>-->
</multicast>
<tcp-ip enabled="true">
<member>192.168.120.134</member>
</tcp-ip>
</join>
<interfaces enabled="true">
<interface></interface>
</interfaces>
<ssl enabled="false" />
<socket-interceptor enabled="false" />
<symmetric-encryption enabled="false">
<algorithm>PBEWithMD5AndDES</algorithm>
<!-- salt value to use when generating the secret key -->
<salt>thesalt</salt>
<!-- pass phrase to use when generating the secret key -->
<password>thepass</password>
<!-- iteration count to use when generating the secret key -->
<iteration-count>19</iteration-count>
</symmetric-encryption>
</network>
<partition-group enabled="false"/>
<executor-service name="default">
<pool-size>16</pool-size>
<!--Queue capacity. 0 means Integer.MAX_VALUE.-->
<queue-capacity>0</queue-capacity>
</executor-service>
<!--
<properties>
<property name="hazelcast.logging.type">slf4j</property>
<property name="db.name">test_service</property>
<property name="db.username">test</property>
<property name="db.password">test</property>
<property name="db.hostname">localhost</property>
<property name="db.port">3306</property>
</properties>
-->
<!--
<map name="testMap">
<async-backup-count>1</async-backup-count>
<near-cache>
<max-size>5000</max-size>
<invalidate-on-change>true</invalidate-on-change>
</near-cache>
<map-store enabled="false">
<class-name>testservice.common.loadstores.TestLoadStore</class-name>
<write-delay-seconds>0</write-delay-seconds>
</map-store>
</map>
-->
<!--
<serialization>
<portable-version>0</portable-version>
<serializers>
<serializer type-class="testservice.common.data.beans.Test">testservice.common.serializers.TestSerializer</serializer>
<serializer type-class="testservice.common.data.beans.Request">testservice.common.serializers.RequestSerializer</serializer>
<serializer type-class="testservice.common.data.beans.User">testservice.common.serializers.UserSerializer</serializer>
</serializers>
</serialization> -->
</hazelcast>
exception:
[run-main-9] HazelcastAccessor ERROR - Exception while starting Hazelcast server:1
java.lang.ArrayIndexOutOfBoundsException: 1
at com.hazelcast.config.AbstractXmlConfigHelper.schemaValidation(AbstractXmlConfigHelper.java:154) ~[hazelcast-all-3.6.jar:3.6]
at com.hazelcast.config.XmlConfigBuilder.parseAndBuildConfig(XmlConfigBuilder.java:218) ~[hazelcast-all-3.6.jar:3.6]
at com.hazelcast.config.XmlConfigBuilder.build(XmlConfigBuilder.java:201) ~[hazelcast-all-3.6.jar:3.6]
at com.hazelcast.config.ClasspathXmlConfig.<init>(ClasspathXmlConfig.java:100) ~[hazelcast-all-3.6.jar:3.6]
at com.hazelcast.config.ClasspathXmlConfig.<init>(ClasspathXmlConfig.java:57) ~[hazelcast-all-3.6.jar:3.6]
at com.hazelcast.config.ClasspathXmlConfig.<init>(ClasspathXmlConfig.java:44) ~[hazelcast-all-3.6.jar:3.6]
at com.latch.hazelcastserver.HazelcastAccessor.<init>(HazelcastAccessor.java:20) [classes/:na]
at com.latch.hazelcastserver.HazelcastAccessor.<clinit>(HazelcastAccessor.java:12) [classes/:na]
at com.latch.hazelcastserver.HazelcastServer.main(HazelcastServer.java:25) [classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_72]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_72]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_72]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_72]
at sbt.Run.invokeMain(Run.scala:67) [run-0.13.9.jar:0.13.9]
at sbt.Run.run0(Run.scala:61) [run-0.13.9.jar:0.13.9]
at sbt.Run.sbt$Run$$execute$1(Run.scala:51) [run-0.13.9.jar:0.13.9]
at sbt.Run$$anonfun$run$1.apply$mcV$sp(Run.scala:55) [run-0.13.9.jar:0.13.9]
at sbt.Run$$anonfun$run$1.apply(Run.scala:55) [run-0.13.9.jar:0.13.9]
at sbt.Run$$anonfun$run$1.apply(Run.scala:55) [run-0.13.9.jar:0.13.9]
at sbt.Logger$$anon$4.apply(Logger.scala:85) [logging-0.13.9.jar:0.13.9]
at sbt.TrapExit$App.run(TrapExit.scala:248) [run-0.13.9.jar:0.13.9]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72]

Your xsi:schemaLocation is invalid, it must be :
xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.6.xsd"
Yours don't have the http://www.hazelcast.com/schema/config

Related

SAP CPI iFlow returns Operation not Supported

I have created an iFlow to fetch the PDF documents from S4:
Unfortunately, it is returning the following response:
<?xml version='1.0' encoding='UTF-8'?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code>BAD_REQUEST</code>
<message xml:lang="en">Operation not supported</message>
</error>
Still, the iFlow was processed on CPI successfully and the output was mapped as expected. I, therefore, expect the error within the communication layer between CPI and Commerce Cloud. I use ODATA services and registered a simple EDMX with the following structure:
<edmx:Edmx xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" Version="1.0">
<edmx:DataServices xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:DataServiceVersion="2.0">
<Schema xmlns="http://schemas.microsoft.com/ado/2008/09/edm" xmlns:s="http://schemas.sap.com/commerce" Namespace="HybrisCommerceOData" s:schema-version="1">
<EntityType Name="Invoice">
<Key>
<PropertyRef Name="integrationKey"/>
</Key>
<Property Name="invoiceNumber" Nullable="true" Type="Edm.String" s:IsUnique="true"/>
<Property Name="integrationKey" Nullable="false" Type="Edm.String" s:Alias="Invoice_invoiceNumber"/>
</EntityType>
<EntityType Name="CoClPdfDocument">
<Key>
<PropertyRef Name="MessageId"/>
</Key>
<Property Name="MessageId" Nullable="false" Type="Edm.String" />
<Property Name="Message" Nullable="true" Type="Edm.String" />
<Property Name="Code" Nullable="true" Type="Edm.String" />
<Property Name="PDF" Nullable="false" Type="Edm.String" />
</EntityType>
<EntityContainer Name="Container" m:IsDefaultEntityContainer="true">
<EntitySet EntityType="HybrisCommerceOData.Invoice" Name="Invoices"/>
<EntitySet EntityType="HybrisCommerceOData.CoClPdfDocument" Name="Documents" />
</EntityContainer>
</Schema>
</edmx:DataServices>
</edmx:Edmx>
In request fills the Invoice entity by giving the document number from the ERP. The result from the ERP fetch is written successfully into the CoClPdfDocument entity. Afterwards the process completes with message "successful", but the response I get in Postman still contains the error above.
What am I missing?

Jetty IncludeCipherSuites

i face the issue, that my jetty (9.4.7) doesn't want to start due a configuration error after including CipherSuites in jetty-ssl.xml.
I just receive following configuration error:
2018-09-13 16:10:02.896:WARN:oejx.XmlConfiguration:main: Config error at <Set name="IncludeCipherSuites">|/jetty-ssl.xml
2018-09-13 16:10:02.897:WARN:oejx.XmlConfiguration:main: Config error at <New class="org.eclipse.jetty.server.SslConnectionFactory"><Set name="IncludeCipherSuites">| <Array l
2018-09-13 16:10:02.897:WARN:oejx.XmlConfiguration:main:
java.security.PrivilegedActionException: org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$1: class org.eclipse.jetty.server.SslConnectionFactory.setIncludeCipherSuites(class [Ljava.lang.String;)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1507)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:221)
at org.eclipse.jetty.start.Main.start(Main.java:506)
at org.eclipse.jetty.start.Main.main(Main.java:78)
Caused by:
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$1: class org.eclipse.jetty.server.SslConnectionFactory.setIncludeCipherSuites(class [Ljava.lang.String;)
I've used the following xml to include Cipher Suites:
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "configure_9_3.dtd">
<!-- ============================================================= -->
<!-- Base SSL configuration -->
<!-- This configuration needs to be used together with 1 or more -->
<!-- of jetty-https.xml or jetty-http2.xml -->
<!-- ============================================================= -->
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<!-- =========================================================== -->
<!-- Add a SSL Connector with no protocol factories -->
<!-- =========================================================== -->
<Call name="addConnector">
<Arg>
<New id="sslConnector" class="org.eclipse.jetty.server.ServerConnector">
<Arg name="server"><Ref refid="Server" /></Arg>
<Arg name="acceptors" type="int"><Property name="jetty.ssl.acceptors" deprecated="ssl.acceptors" default="-1"/></Arg>
<Arg name="selectors" type="int"><Property name="jetty.ssl.selectors" deprecated="ssl.selectors" default="-1"/></Arg>
<Arg name="factories">
<Array type="org.eclipse.jetty.server.ConnectionFactory">
<!-- uncomment to support proxy protocol
<Item>
<New class="org.eclipse.jetty.server.ProxyConnectionFactory"/>
</Item>-->
</Array>
</Arg>
<Set name="host"><Property name="jetty.ssl.host" deprecated="jetty.host" /></Set>
<Set name="port"><Property name="jetty.ssl.port" deprecated="ssl.port" default="20743" /></Set>
<Set name="idleTimeout"><Property name="jetty.ssl.idleTimeout" deprecated="ssl.timeout" default="30000"/></Set>
<Set name="soLingerTime"><Property name="jetty.ssl.soLingerTime" deprecated="ssl.soLingerTime" default="-1"/></Set>
<Set name="acceptorPriorityDelta"><Property name="jetty.ssl.acceptorPriorityDelta" deprecated="ssl.acceptorPriorityDelta" default="0"/></Set>
<Set name="acceptQueueSize"><Property name="jetty.ssl.acceptQueueSize" deprecated="ssl.acceptQueueSize" default="0"/></Set>
<Get name="SelectorManager">
<Set name="connectTimeout"><Property name="jetty.ssl.connectTimeout" default="15000"/></Set>
<Set name="reservedThreads"><Property name="jetty.ssl.reservedThreads" default="-2"/></Set>
</Get>
<New class="org.eclipse.jetty.server.SslConnectionFactory">
<Set name="IncludeCipherSuites">
<Array type="java.lang.String">
<Item>ECDHE-ECDSA-CHACHA20-POLY1305</Item>
<Item>ECDHE-RSA-CHACHA20-POLY1305</Item>
<Item>ECDHE-ECDSA-AES128-GCM-SHA256</Item>
<Item>ECDHE-RSA-AES128-GCM-SHA256</Item>
<Item>ECDHE-ECDSA-AES256-GCM-SHA384</Item>
<Item>ECDHE-RSA-AES256-GCM-SHA384</Item>
<Item>DHE-RSA-AES128-GCM-SHA256</Item>
<Item>DHE-RSA-AES256-GCM-SHA384</Item>
<Item>ECDHE-ECDSA-AES128-SHA256</Item>
<Item>ECDHE-RSA-AES128-SHA256</Item>
<Item>ECDHE-ECDSA-AES128-SHA</Item>
<Item>ECDHE-RSA-AES256-SHA384</Item>
<Item>ECDHE-RSA-AES128-SHA</Item>
<Item>ECDHE-ECDSA-AES256-SHA384</Item>
<Item>ECDHE-ECDSA-AES256-SHA</Item>
<Item>ECDHE-RSA-AES256-SHA</Item>
<Item>DHE-RSA-AES128-SHA256</Item>
<Item>DHE-RSA-AES128-SHA</Item>
<Item>DHE-RSA-AES256-SHA256</Item>
<Item>DHE-RSA-AES256-SHA</Item>
<Item>ECDHE-ECDSA-DES-CBC3-SHA</Item>
<Item>ECDHE-RSA-DES-CBC3-SHA</Item>
<Item>EDH-RSA-DES-CBC3-SHA</Item>
<Item>AES128-GCM-SHA256</Item>
<Item>AES256-GCM-SHA384</Item>
<Item>AES128-SHA256</Item>
<Item>AES256-SHA256</Item>
<Item>AES128-SHA</Item>
<Item>AES256-SHA</Item>
<Item>DES-CBC3-SHA</Item>
</Array>
</Set>
</New>
</New>
</Arg>
</Call>
<!-- =========================================================== -->
<!-- Create a TLS specific HttpConfiguration based on the -->
<!-- common HttpConfiguration defined in jetty.xml -->
<!-- Add a SecureRequestCustomizer to extract certificate and -->
<!-- session information -->
<!-- =========================================================== -->
<New id="sslHttpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
<Arg><Ref refid="httpConfig"/></Arg>
<Call name="addCustomizer">
<Arg>
<New class="org.eclipse.jetty.server.SecureRequestCustomizer">
<Arg name="sniHostCheck" type="boolean"><Property name="jetty.ssl.sniHostCheck" default="true"/></Arg>
<Arg name="stsMaxAgeSeconds" type="int"><Property name="jetty.ssl.stsMaxAgeSeconds" default="-1"/></Arg>
<Arg name="stsIncludeSubdomains" type="boolean"><Property name="jetty.ssl.stsIncludeSubdomains" default="false"/></Arg>
</New>
</Arg>
</Call>
</New>
</Configure>
I've also tried different ways of setting this CipherSuites, but always it ends in the same behavior.
Thanks for your help in advance.
Wrong class was used.
Had to use <New class="org.eclipse.jetty.util.ssl.SslContextFactory">
Problem is solved.
Thanks!

node-soap appending "Request" to wsdl methods

so I'm trying to execute the following
soapClient.getDeptUser({
UserName : "temp",
UserPassword : "temp"
},
userNumber : "xxxxxx"
}}, (err,result) => {
if(err){
console.log(soapClient.lastRequest);
}else{
console.log(result);
}
});
But I keep getting the error from the web service as: Cannot identify any WSDL operation from request.
My last request looks like this:
<soap:Body Id="_0">
<getDeptUserRequest>
<User>
<UserName>temp</UserName>
<UserPassword>temp</UserPassword
</User>
<userNumber>xxxxx</userNumber>
</getDeptUserRequest>
</soap:Body>
I think the problem is because there is no method called getDeptUserRequest but I'm trying to call getDeptUser not sure how to prevent the word Request from being appended onto the method name.
WSDL
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://webservices.cxfdept.fbem"
xmlns:tns1="http://pojo.webservices.cxf.fbem"
xmlns:schema="http://methods.webservices.cxf.fbem"
xmlns:tns="http://webservices.cxfdept.fbem"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<!-- ****************************************************** -->
<!-- *** import complex types definitions for this XSD ***-->
<!-- ****************************************************** -->
<wsdl:import namespace="http://methods.webservices.cxf.fbem" location="WsFBEMDept_methods_01.xsd"></wsdl:import>
<!-- *************************************************** -->
<!-- ******* Set messages ****************************-->
<!-- *************************************************** -->
<!-- getDeptUserRequest -->
<wsdl:message name="getDeptUserRequest">
<wsdl:part name="parameters" element="schema:getDeptUser"/>
</wsdl:message>
<wsdl:message name="getDeptUserResponse">
<wsdl:part name="parameters" element="schema:getDeptUserResponse"/>
</wsdl:message>
<!-- ****************************************************** -->
<!-- ******* Set portTypes *** -->
<!-- ****************************************************** -->
<wsdl:portType name="WsFBEMDeptServiceV1001PortType">
<wsdl:operation name="getDeptUser">
<wsdl:input name="getDeptUserRequest" message="tns:getDeptUserRequest"/>
<wsdl:output name="getDeptUserResponse" message="tns:getDeptUserResponse"/>
</wsdl:operation>
<!-- ****************************************************** -->
<!-- **** Set Bindings *** -->
<!-- ****************************************************** -->
<wsdl:binding name="WsFBEMDeptServiceV1001HttpBinding" type="tns:WsFBEMDeptServiceV1001PortType">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<!-- getDeptUser -->
<wsdl:operation name="getDeptUser">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getDeptUserRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getDeptUserResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<!-- ****************************************************** -->
<!-- *** Set Service *** -->
<!-- ****************************************************** -->
<wsdl:service name="WsFBEMDeptServiceV1001">
<wsdl:port name="WsFBEMDeptServiceV1001HttpPort" binding="tns:WsFBEMDeptServiceV1001HttpBinding">
<wsdlsoap:address location="http://127.0.0.1:8080/fbem_cxfDept/services/WsFBEMDeptServiceV1001"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

Check security header in Mule http:listener

I have a need to check some security HTTP header (called for example X-MyApp-Security) value before processing it after Mule http:listener. Header should be checked like basic auth header but more simply.
I found some Mule documentation about this but don't understand how to use it my simple flow:
<http:listener-config name="HTTP_Listener_Configuration" host="${httpServer.host}" port="${httpServer.port}" doc:name="HTTP Listener Configuration" />
<flow name="planadoWebhookFlow">
<http:listener config-ref="HTTP_Listener_Configuration" path="/" doc:name="HTTP" allowedMethods="POST"/>
<set-payload value="Hello from security area!" doc:name="Set Payload"/>
</flow>
Please help me with header authentication in Mule 3.7.
You can use the "http:basic-security-filter" element, here you have an example:
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:spring="http://www.springframework.org/schema/beans"
xmlns:scripting="http://www.mulesoft.org/schema/mule/scripting"
xmlns:http="http://www.mulesoft.org/schema/mule/http"
xmlns:jms="http://www.mulesoft.org/schema/mule/jms"
xmlns:vm="http://www.mulesoft.org/schema/mule/vm"
xmlns:file="http://www.mulesoft.org/schema/mule/file"
xmlns:ftp="http://www.mulesoft.org/schema/mule/ftp"
xmlns:db="http://www.mulesoft.org/schema/mule/db"
xmlns:mule-xml="http://www.mulesoft.org/schema/mule/xml"
xmlns:jersey="http://www.mulesoft.org/schema/mule/jersey"
xmlns:json="http://www.mulesoft.org/schema/mule/json"
xmlns:ws="http://www.mulesoft.org/schema/mule/ws"
xmlns:smtps="http://www.mulesoft.org/schema/mule/smtps"
xmlns:email="http://www.mulesoft.org/schema/mule/email"
xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
xmlns:mule-ss="http://www.mulesoft.org/schema/mule/spring-security"
xmlns:ss="http://www.springframework.org/schema/security"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/scripting http://www.mulesoft.org/schema/mule/scripting/current/mule-scripting.xsd
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd
http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/current/mule-jms.xsd
http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/current/mule-vm.xsd
http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd
http://www.mulesoft.org/schema/mule/ftp http://www.mulesoft.org/schema/mule/ftp/current/mule-ftp.xsd
http://www.mulesoft.org/schema/mule/db http://www.mulesoft.org/schema/mule/db/current/mule-db.xsd
http://www.mulesoft.org/schema/mule/xml http://www.mulesoft.org/schema/mule/xml/current/mule-xml.xsd
http://www.mulesoft.org/schema/mule/jersey http://www.mulesoft.org/schema/mule/jersey/current/mule-jersey.xsd
http://www.mulesoft.org/schema/mule/json http://www.mulesoft.org/schema/mule/json/current/mule-json.xsd
http://www.mulesoft.org/schema/mule/ws http://www.mulesoft.org/schema/mule/ws/current/mule-ws.xsd
http://www.mulesoft.org/schema/mule/smtps http://www.mulesoft.org/schema/mule/smtps/current/mule-smtps.xsd
http://www.mulesoft.org/schema/mule/email http://www.mulesoft.org/schema/mule/email/current/mule-email.xsd
http://www.mulesoft.org/schema/mule/spring-security http://www.mulesoft.org/schema/mule/spring-security/3.1/mule-spring-security.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd
">
<spring:beans>
<ss:authentication-manager alias="authenticationManager">
<ss:authentication-provider>
<ss:user-service id="userService">
<ss:user name="user" password="password" authorities="ROLE_ADMIN" />
<ss:user name="anon" password="anon" authorities="ROLE_ANON" />
</ss:user-service>
</ss:authentication-provider>
</ss:authentication-manager>
</spring:beans>
<mule-ss:security-manager>
<mule-ss:delegate-security-provider name="memory-provider" delegate-ref="authenticationManager" />
</mule-ss:security-manager>
<http:listener-config name="HTTP_Listener_Configuration" host="localhost" port="9091" doc:name="HTTP Listener Configuration"/>
<flow name="testingFlow">
<http:listener config-ref="HTTP_Listener_Configuration" path="/*" doc:name="HTTP"/>
<logger message="Before Authentication" level="INFO" doc:name="Log Failure"/>
<http:basic-security-filter realm="mule-realm"/>
<logger message="After Authentication" level="INFO" doc:name="Log Failure"/>
</flow>
</mule>
You can find more information in the next link:
https://docs.mulesoft.com/mule-user-guide/v/3.7/http-listener-connector#authentication

Alfresco custom data list layout

I have created a custom data list in Alfresco, and have populated its model with the desired data columns. However, when I view the list in Alfresco share, the order is completely off, and there are elements that I have not defined in the model.
I have searched extensively as to how to fix this, and have not been successful. From what I understand, I need to define the layout in the share-config-custom.xml, which I have attempted below (snippet of only what I added):
<config evaluator="model-type" condition="orpdl:orpList">
<forms>
<form>
<field-visibility>
<show id="orpdl:programName" />
</field-visibility>
<create-form template="../data-lists/forms/dataitem.ftl" />
<appearance>
<field id="orpdl:programName">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
<config evaluator="node-type" condition="orpdl:orpList">
<forms>
<form>
<field-visibility>
<show id="orpdl:programName" />
</field-visibility>
<create-form template="../data-lists/forms/dataitem.ftl" />
<appearance>
<field id="orpdl:programName">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
Content model:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Definition of new Model -->
<model name="orpdl:orpDataListModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!-- Optional meta-data about the model -->
<description>Information retrieved from the Opportunity Registration Process workflow form.</description>
<author>Alan George</author>
<version>1.0</version>
<!-- Imports are required to allow references to definitions in other models -->
<imports>
<!-- Import Alfresco Dictionary Definitions -->
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<!-- Import Alfresco Content Domain Model Definitions -->
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys" />
<import uri="http://www.alfresco.org/model/datalist/1.0" prefix="dl" />
</imports>
<!-- Introduction of new namespaces defined by this model -->
<namespaces>
<namespace uri="http://www.test.com/model/orpDataListModel/1.0" prefix="orpdl" />
</namespaces>
<constraints>
<constraint name="orpdl:contractTypeList" type="LIST">
<parameter name="allowedValues">
<list>
<value>T&M</value>
<value>FFP</value>
<value>CPFF</value>
<value>CPIF</value>
</list>
</parameter>
</constraint>
</constraints>
<types>
<type name="orpdl:orpList">
<title>Opportunity Registration Process</title>
<description>Information retrieved from the Opportunity Registration Process workflow form.</description>
<parent>dl:dataListItem</parent>
<properties>
<property name="orpdl:programName">
<title>Program Name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="orpdl:programDescription">
<title>Program Description</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="orpdl:client">
<title>Client</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="orpdl:contractType">
<title>Contract Type</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="orpdl:contractTypeList" />
</constraints>
</property>
<property name="orpdl:value">
<title>Value</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
</types>
</model>
The goal of this code is to have only the programName text box appear. But this is what I'm seeing:
What am I missing?
You are entering wrong condition in <config> tag.
Below
<config evaluator="model-type" condition="orpdl:orpDataListModel">
should replace with
<config evaluator="model-type" condition="orpdl:issuesList">
This will also apply to node-type.

Resources