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
endpoint http:APIListener listener { | |
port:9090, | |
authProviders:[basicAuthProvider] | |
}; | |
// Add the authConfig in the ServiceConfig annotation to protect the service using Auth | |
@http:ServiceConfig { | |
basePath:"/e-shop", | |
authConfig:{ | |
authProviders:["basic1"], |
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/local/Cellar/node/7.7.1_1/bin/node', | |
1 verbose cli '/usr/local/bin/npm', | |
1 verbose cli 'run', | |
1 verbose cli 'build' ] | |
2 info using npm@4.1.2 | |
3 info using node@v7.7.1 | |
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] | |
5 info lifecycle ballerina-composer@0.970.0~prebuild: ballerina-composer@0.970.0 | |
6 silly lifecycle ballerina-composer@0.970.0~prebuild: no script for prebuild, continuing |
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
MSH|^~\&|GHH LAB|ELAB-3|GHH OE|BLDG4|200202150930||ORU^R01|CNTRL-3456|P|2.4<cr> | |
PID|||555-44-4444||EVERYWOMAN^EVE^E^^^^L|JONES|19620320|F|||153 FERNWOOD DR.^ | |
^STATESVILLE^OH^35292||(206)3345232|(206)752-121||||AC555444444||67-A4335^OH^20030520<cr> | |
OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||200202150730||||||||| | |
555-55-5555^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||444-44-4444^HIPPOCRATES^HOWARD H^^^^MD<cr> | |
OBX|1|SN|1554-5^GLUCOSE^POST 12H CFST:MCNC:PT:SER/PLAS:QN||^182|mg/dl|70_105|H|||F<cr> |
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
{ | |
"resourceType" : "AllergyIntolerance", | |
// from Resource: id, meta, implicitRules, and language | |
// from DomainResource: text, contained, extension, and modifierExtension | |
"identifier" : [{ Identifier }], // External ids for this item | |
"clinicalStatus" : "<code>", // C? active | inactive | resolved | |
"verificationStatus" : "<code>", // C? R! unconfirmed | confirmed | refuted | entered-in-error | |
"type" : "<code>", // allergy | intolerance - Underlying mechanism (if known) | |
"category" : ["<code>"], // food | medication | environment | biologic | |
"criticality" : "<code>", // low | high | unable-to-assess |
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
{ | |
"name": "Alice", | |
"links": [ { | |
"rel": "self", | |
"href": "http://localhost:8080/customer/1" | |
} ] | |
} |
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 TABLE APIPORTAL.TEST_TABLE | |
( | |
FIRST_NAME VARCHAR2(30 CHAR) NOT NULL, | |
LAST_NAME VARCHAR2(30 CHAR) NOT NULL, | |
NAME VARCHAR2(50 CHAR) NOT NULL, | |
CAMPUS_ID VARCHAR2(16 CHAR) NOT NULL, | |
"NetID" VARCHAR2(20 CHAR), | |
CRSE_ID VARCHAR2(6 CHAR) NOT NULL, | |
SUBJECT VARCHAR2(8 CHAR) NOT NULL, | |
CATALOG_NBR VARCHAR2(10 CHAR) NOT NULL, |
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
-----------------[2017-08-01 12:04:04,875] ERROR {org.wso2.carbon.apimgt.impl.utils.APIUtil} - Error occurred while creating ServiceProvider for app TUDOR.COM_tudornuwan_testingx_PRODUCTION | |
org.wso2.carbon.identity.application.common.IdentityApplicationManagementException: Error while creating application role: Application/TUDOR.COM_tudornuwan_testingx_PRODUCTION with user TUDOR.COM/tudornuwan | |
at org.wso2.carbon.identity.application.mgt.ApplicationMgtUtil.createAppRole(ApplicationMgtUtil.java:145) | |
at org.wso2.carbon.identity.application.mgt.ApplicationManagementServiceImpl.createApplication(ApplicationManagementServiceImpl.java:129) | |
at org.wso2.carbon.apimgt.keymgt.service.APIKeyMgtSubscriberService.createOAuthApplicationByApplicationInfo(APIKeyMgtSubscriberService.java:138) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43 |
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] [] [2017-08-01 12:04:04,901] ERROR {org.wso2.carbon.apimgt.impl.utils.APIUtil} - Error occurred while executing SubscriberKeyMgtClient. {org.wso2.carbon.apimgt.impl.utils.APIUtil} | |
org.wso2.carbon.apimgt.api.APIManagementException: Can not create OAuth application : testingx_PRODUCTION | |
at org.wso2.carbon.apimgt.impl.AMDefaultKeyManagerImpl.handleException(AMDefaultKeyManagerImpl.java:639) | |
at org.wso2.carbon.apimgt.impl.AMDefaultKeyManagerImpl.createApplication(AMDefaultKeyManagerImpl.java:112) | |
at org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.dogenerateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:139) | |
at org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.generateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:118) | |
at org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.complete(ApplicationRegistrationSimpleWorkflowExecutor.java:78) | |
at org. |
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
function readLog(string limit) (json){ | |
sql:ClientConnector foodlog = create sql:ClientConnector(dbprops); | |
sql:Parameter[] params = []; | |
sql:Parameter para1 = {sqlType:"integer",value:limit}; | |
params = [para1]; | |
datatable dt = sql:ClientConnector.select(foodlog, "select * from log ORDER BY id DESC LIMIT ?", params); | |
var logObj,err = <logEntry>dt; | |
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
function readLog(string limit) (json){ | |
sql:ClientConnector foodlog = create sql:ClientConnector(dbprops); | |
sql:Parameter[] params = []; | |
sql:Parameter para1 = {sqlType:"integer",value:limit}; | |
params = [para1]; | |
datatable dt = sql:ClientConnector.select(foodlog, "select * from log ORDER BY id DESC LIMIT ?", params); | |
var logEntry,err = <json>dt; | |