We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description: I am trying to connect to the github api through a siddhi app using the bellow code,
@app:name("SiddhiAppGitHub2") @app:description("Description of the plan")
@sink(type='http-request' , publisher.url='https://api.github.com/repos/wso2/product-sp/releases', method='GET', sink.id='releases_data', @Map(type='json')) define stream GitReleaseInputStream(state string);
@source(type='http-response' , sink.id='release_data', http.status.code='200', @Map(type='json', @attributes(state='$.assets.[0].state'))) define stream GitReleaseCatchInputStream(state string);
@sink(type='log') define stream GitReleaseOutputStream(state string);
from GitReleaseCatchInputStream select state insert into GitReleaseOutputStream;
But I am not getting a response. Bellow is the response I received when I requested through "Postman"
The text was updated successfully, but these errors were encountered:
moved to siddhi-io/siddhi-io-http#80 (comment)
Sorry, something went wrong.
No branches or pull requests
Description:
I am trying to connect to the github api through a siddhi app using the bellow code,
@app:name("SiddhiAppGitHub2")
@app:description("Description of the plan")
@sink(type='http-request' , publisher.url='https://api.github.com/repos/wso2/product-sp/releases', method='GET', sink.id='releases_data', @Map(type='json'))
define stream GitReleaseInputStream(state string);
@source(type='http-response' , sink.id='release_data', http.status.code='200', @Map(type='json', @attributes(state='$.assets.[0].state')))
define stream GitReleaseCatchInputStream(state string);
@sink(type='log')
define stream GitReleaseOutputStream(state string);
from GitReleaseCatchInputStream
select state
insert into GitReleaseOutputStream;
But I am not getting a response. Bellow is the response I received when I requested through "Postman"
The text was updated successfully, but these errors were encountered: