Skip to content

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.

License

Notifications You must be signed in to change notification settings

thogar-computer/product-apim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#WSO2 API Management Server

Running Samples

Sample Integration Flow configurations are available at samples/SequenceDiagramDSLSamples directory.

Configuration can be deployed to server by dropping the file to <CARBON_HOME>/deployment/integration-flows/ directory.

####Sample Configuration

@Path ("/stock")
@Source (protocol="http", host="localhost", port=8080)
@Api (tags = {"stock_info","stock_update"}, description = "Rest api for do operations on admin", produces = MediaType.APPLICATION_JSON)
package com.sample;

constant endpoint stockEP = new HTTPEndPoint("http://localhost:8081/stockquote/WSO2");

@GET
@PUT
@POST
@Path ("/passthrough")
resource passthrough (message m) {
   reply invoke(stockEP, m);
}

About

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.3%
  • HTML 3.1%
  • CSS 2.8%
  • Java 2.7%
  • Other 0.1%