From f2648c2c2892cf3e4c963056d06e1574d633602d Mon Sep 17 00:00:00 2001 From: ayyoob Date: Sun, 17 Apr 2016 12:21:17 +0530 Subject: [PATCH] few changes after testing with the apim --- modules/distribution/src/assembly/bin.xml | 7 + .../src/repository/conf/api-manager.xml | 12 +- .../src/repository/conf/axis2/axis2.xml | 454 ++++++++++++------ 3 files changed, 321 insertions(+), 152 deletions(-) diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index cff36ccb..46023646 100644 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -523,6 +523,13 @@ src/api-resources/synapse-configs/default/sequences ${pom.artifactId}-${pom.version}/repository/resources/apim-synapse-config/ + + src/api-resources/api_templates + ${pom.artifactId}-${pom.version}/repository/resources/api_templates + + **/**.xml + + diff --git a/modules/distribution/src/repository/conf/api-manager.xml b/modules/distribution/src/repository/conf/api-manager.xml index f293d46a..a20b8527 100755 --- a/modules/distribution/src/repository/conf/api-manager.xml +++ b/modules/distribution/src/repository/conf/api-manager.xml @@ -26,7 +26,7 @@ jdbc/WSO2AM_DB - None + Synapse @@ -94,7 +94,7 @@ jwt token, he needs to enable this parameter. The DefaultClaimsRetriever class adds user claims from the default carbon user store. --> - + org.wso2.carbon.apimgt.impl.token.DefaultClaimsRetriever - + http://wso2.org/claims - + SHA256withRSA - + true - http://${carbon.local.ip}:${mgt.transport.http.port},https://${carbon.local.ip}:${mgt.transport.https.port} + http://${carbon.local.ip}:${http.nio.port},https://${carbon.local.ip}:${https.nio.port} diff --git a/modules/distribution/src/repository/conf/axis2/axis2.xml b/modules/distribution/src/repository/conf/axis2/axis2.xml index a62a90b9..fbe95442 100644 --- a/modules/distribution/src/repository/conf/axis2/axis2.xml +++ b/modules/distribution/src/repository/conf/axis2/axis2.xml @@ -1,20 +1,20 @@ @@ -58,8 +58,8 @@ axis2modules - WSO2 ESB 4.9.0 - WSO2 ESB 4.9.0 + WSO2 IoT 1.0.0 + WSO2 IoT 1.O.0 @@ -153,9 +153,11 @@ + class="org.apache.axis2.transport.http.XFormURLEncodedFormatter"/> + - - - - - - + + + + + + + + - - + class="org.apache.synapse.format.hessian.HessianMessageFormatter"/> + @@ -198,6 +222,8 @@ + + class="org.apache.synapse.commons.json.JsonBuilder"/> + + + + + + + + - - - - - - + class="org.wso2.carbon.relay.BinaryRelayBuilder"/> + + + + + + + + + + + + - - - + 8280 true @@ -244,11 +291,19 @@ - + + + + + + + + 8243 true - TLSv1,TLSv1.1,TLSv1.2 org.wso2.carbon.mediation.transport.handlers.PassThroughNHttpGetProcessor @@ -271,13 +326,76 @@ supports optional|require or defaults to none --> + + + + + + + + + + + + + + + + + + + + + + check com.sun.mail.pop3 and com.sun.mail.imap package documentation for more details--> + + + + + - - - - - - - - - - + + + + + + + + - + + + + + + + + @@ -390,12 +486,46 @@ true - - - - + + + + + + + + + + + + + + + true @@ -417,13 +547,29 @@ - - - - + + + + + @@ -443,16 +589,20 @@ --> - - - - - - - - - + + + + + + + + + + + + + + @@ -461,6 +611,13 @@ + + + + @@ -493,7 +650,7 @@ is deemed to have left the cluster, it will be detected by the Group Membership Service (GMS) using a TCP ping mechanism. --> - wka + multicast @@ -537,7 +694,7 @@ The TCP port used by this member. This is the port through which other nodes will contact this member --> - 4100 + 4000 - - - - + - @@ -593,7 +744,7 @@ + - @@ -637,19 +791,21 @@ class="org.wso2.carbon.core.transports.smtp.SMTPFaultHandler"> + + + + - - - - - + @@ -689,6 +845,7 @@ + @@ -697,7 +854,7 @@ + @@ -725,13 +883,17 @@ class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"> + + + @@ -776,4 +938,4 @@ - + \ No newline at end of file