This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
] INFO {org.apache.synapse.transport.passthru.SourceHandler} - Writer null when calling informWriterError | |
TID: [-1] [] [2021-04-29 09:00:44,221] DEBUG {org.apache.synapse.transport.http.wire} - HTTPS-Listener I/O dispatcher-1 << "HTTP/1.1 400 Bad request[\r][\n]" | |
TID: [-1] [] [2021-04-29 09:00:44,221] DEBUG {org.apache.synapse.transport.http.wire} - HTTPS-Listener I/O dispatcher-1 << "Connection: Close[\r][\n]" | |
TID: [-1] [] [2021-04-29 09:00:44,221] DEBUG {org.apache.synapse.transport.http.wire} - HTTPS-Listener I/O dispatcher-1 << "Date: Thu, 29 Apr 2021 07:00:44 GMT[\r][\n]" | |
TID: [-1] [] [2021-04-29 09:00:44,221] DEBUG {org.apache.synapse.transport.http.wire} - HTTPS-Listener I/O dispatcher-1 << "Content-Length: 0[\r][\n]" | |
TID: [-1] [] [2021-04-29 09:00:44,221] DEBUG {org.apache.synapse.transport.http.wire} - HTTPS-Listener I/O dispatcher-1 << "[\r][\n]" | |
TID: [-1] [] [2021-04-29 09:00:46,752] DEBUG {org.apache.synapse.transport.http.wire} - HTTPS-Listener I/O dispatcher-2 >> "GET /services/Version[\r][\n]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import groovy.transform.Field | |
// Constantants | |
@Field final def BITBUCKET_URL = "https://github.com/yasassri/unittest-build-demo.git" | |
@Field final def DOCKER_IMAGE = "ycrnet/wso2mi-1.2.0-unittest:1.0.0" | |
@Field final def DOCKER_CONTAINER_NAME = "wso2-mi-test" | |
pipeline { | |
agent {label ''} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<proxy xmlns="http://ws.apache.org/ns/synapse" | |
name="IterateSample" | |
startOnLoad="true" | |
statistics="disable" | |
trace="disable" | |
transports="http,https"> | |
<target> | |
<inSequence> | |
<log level="custom"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create Certs | |
============= | |
openssl genrsa -out wso2.key 1024 | |
openssl req -new -key wso2.key -out wso2.csr | |
openssl x509 -req -days 3650 -in wso2.csr -signkey wso2.key -out wso2.crt | |
cat wso2.crt wso2.key | tee wso2.pem | |
HaProxy Configuration | |
===================== | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 443 ssl; | |
server_name employee.external.com; | |
ssl_certificate /usr/local/etc/nginx/keys/wso2.crt; | |
ssl_certificate_key /usr/local/etc/nginx/keys/wso2.key; | |
location / { | |
proxy_set_header Host employee.apps-crc.testing; | |
proxy_pass https://192.168.64.7; | |
proxy_redirect https://employee.apps-crc.testing/ https://employee.external.com/; | |
proxy_ssl_name employee.apps-crc.testing; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global | |
log 127.0.0.1 local0 | |
log 127.0.0.1 local1 debug | |
maxconn 4096 | |
defaults | |
log global | |
mode http | |
option httplog | |
option dontlognull |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
at java.lang.Thread.run(Thread.java:748) | |
Caused by: Error : 933, Position : 84, Sql = SELECT * FROM AM_POLICY_SUBSCRIPTION WHERE NAME IN (:1 ) AND TENANT_ID =:2 ;, OriginalSql = SELECT * FROM AM_POLICY_SUBSCRIPTION WHERE NAME IN (?) AND TENANT_ID =? ;, Error Msg = ORA-00933: SQL command not properly ended | |
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:498) | |
... 96 more |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1)add | |
logger.org-wso2-carbon-identity-application-authentication-framework.name=org.wso2.carbon.identity.application.authentication.framework | |
logger.org-wso2-carbon-identity-application-authentication-framework.level=DEBUG | |
2) Append | |
loggers = org-wso2-carbon-identity-application-authentication-framework | |
logger.httpclient-wire.name=httpclient.wire.content | |
logger.httpclient-wire.level=DEBUG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TID: [-1234] [AuthenticationAdmin] [2020-01-06 11:46:19,343] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin@carbon.super [-1234]' logged in at [2020-01-06 11:46:19,343+0000] | |
TID: [-1234] [AuthenticationAdmin] [2020-01-06 11:46:21,059] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin@carbon.super [-1234]' logged in at [2020-01-06 11:46:21,059+0000] | |
TID: [-1234] [AuthenticationAdmin] [2020-01-06 11:46:21,202] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin@carbon.super [-1234]' logged in at [2020-01-06 11:46:21,202+0000] | |
TID: [-1234] [AuthenticationAdmin] [2020-01-06 11:46:21,263] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin@carbon.super [-1234]' logged in at [2020-01-06 11:46:21,263+0000] | |
TID: [-1234] [APILocalEntryAdmin] [2020-01-06 11:46:21,272] INFO {org.wso2.carbon.mediation.dependency.mgt.DependencyTracker} - Local entry : 6dc018a1-69c5-4d71-b3d8-9a6e80db0499 was removed from the Synapse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker rmi $(docker images -qa -f "dangling=true") |
NewerOlder