Hi @Diego Zuluaga … thanks for your response. I am able to import the proxy from Bitbucket to my Jenkins workspace. There is no connectivity issues from Jenkins to Management api server.
Below are the curl from Jenkins server:
curl -H Content-Type: multipart/form-data -v -X POST -d @MFA_Create_User2.0-uat.zip -k -u abc@xyz.com https://dal-uat-apigee-managementapi.com/v1/organizations/abc/apis?action=import&name=MFA_Create_User
-
About to connect() to dal-uat-apigee-managementapi.com port 443 (#0)
-
Trying 10.23.13.47…
-
Connected to dal-uat-apigee-managementapi.com (10.23.13.47) port 443 (#0)
-
Initializing NSS with certpath: sql:/etc/pki/nssdb
-
skipping SSL peer certificate verification
-
SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
-
Server certificate:
-
subject: CN=dal-uat-apigee-managementapi.com,OU=Digi-SSL Xp,OU=Provided by Digi-Sign Limited,OU=ISMS-EAM,O=abc,L=Hoboken,ST=NJ,C=US
-
start date: Dec 07 00:00:00 2016 GMT
-
expire date: Dec 07 23:59:59 2017 GMT
-
common name: dal-uat-apigee-managementapi.com
-
issuer: CN=Digi-Sign CA Digi-SSL,O=Digi-Sign Limited,L=Dublin,ST=County Dublin,C=IE
-
Server auth using Basic with user ‘abc@xyz.com’
POST /v1/organizations/abc/apis?action=import&name=MFA_Create_User HTTP/1.1
Authorization: Basic dfdsfsdagsgaswewerwer
User-Agent: curl/7.29.0
Host: dal-uat-apigee-managementapi.com
Accept: /
Content-Type: multipart/form-data
Content-Length: 2917
Expect: 100-continue
< HTTP/1.1 100 Continue
< HTTP/1.1 500 Server Error
< X-Apigee.fault-code:
< Content-Type: application/json
< Date: Tue, 06 Jun 2017 21:01:35 GMT
< Connection: close
<
{
“message” : “org.apache.cxf.interceptor.Fault: Couldn’t determine the boundary from the message!”,
“contexts” : ,
“cause” : {
“message” : “Couldn’t determine the boundary from the message!”,
“contexts” : ,
“cause” : {
“message” : “Couldn’t determine the boundary from the message!”,
“contexts” :
}
}
Apigee logs:
==> /opt/apigee/var/log/edge-management-server/logs/system.log <==
2017-06-06 16:01:35,054 org:abc qtp1389509050-6588 ERROR REST - ExceptionMapper.toResponse() : Error occurred : org.apache.cxf.interceptor.Fault: Couldn’t determine the boundary from the message!
org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody(JAXRSUtils.java:1043)
org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java:615)
org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java:579)
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:238)
2017-06-06 16:01:35,054 org:abc qtp1389509050-6588 ERROR REST - ExceptionMapper.toResponse() : Returning error response : ErrorResponse{errorCode = null, errorMessage = org.apache.cxf.interceptor.Fault: Couldn’t determine the boundary from the message!}
==> /opt/apigee/var/log/edge-management-server/logs/audit.log <==
2017-06-06 16:01:35,057 pool-2-thread-1 INFO AUDITLOG - AuditLog.logAudit() : {responsecode=500, useragent=curl/7.29.0, x-forwarded-for=19.23.124.13, requesturi=/v1/organizations/abc/apis/, clientip=10.23.13.47, serverip=19.30.21.37, serverhostname=localhost, id=08ca5277-749e-468f-884b-9bbb1e1730e7, user=abc@xyz.com, operation=CREATE, requesturiqp=/v1/organizations/abc/apis?action=import&name=MFA_Create_User, timestamp=06/06/2017 16:01:35}
==> /opt/apigee/var/log/edge-management-server/logs/access.log <==
2017-06-06 16:01:35,058 pool-2-thread-1 INFO ACCESSLOG - AccessInfo.logAuditInfo() : {RequestURIQP=/v1/organizations/abc/apis?action=import&name=MFA_Create_User, ResponseCode=500, User=abc@xyz.com, ServerHostName=localhost, ServerIP=172.30.210.37, UserAgent=curl/7.29.0, X-Forwarded-For=10.23.124.13, RequestURI=/v1/organizations/abc/apis, Operation=CREATE, authenticationType=basic, Timestamp=1496782895055, ClientIP=19.23.13.47}