Giter Club home page Giter Club logo

Comments (16)

AMorgaut avatar AMorgaut commented on August 19, 2024 2

To me there is a specific usage of HTTP that totally makes sense for AsyncAPI and which is not WebSocket

I'm thinking about EventSource aka "Server-Sent Events" which is typically event-based

The protocol definition can be seen there:
https://html.spec.whatwg.org/multipage/server-sent-events.html#server-sent-events

but it probably deserve a seperated feature request issue

from glee.

Souvikns avatar Souvikns commented on August 19, 2024 1

Hey, @ritik307 I was working on this issue and made some progress as well #265, since we need to update the bindings I am focusing on that right now asyncapi/bindings#131. I would love to mentor you (if you want me as a mentor) if this idea gets issue gets selected.

from glee.

Souvikns avatar Souvikns commented on August 19, 2024 1

So I will be mentoring this issue if it gets selected 😄 . To answer both @ayushpaharia and @ritik307 you should start getting familiar with glee and its codebase. I would suggest you fork and play around with glee. look into the examples folder to get a better understanding of how glee is working. Secondly, start reading the codebase and tweaking some code here and there to get a feel of things.

Also, check out #265, and even review it. You guys can also join the asyncapi/community#352 meeting for understanding how the HTTP binding will shape up. Lastly, feel free to ask any questions you have here or on slack.

from glee.

ritik307 avatar ritik307 commented on August 19, 2024 1

@Souvikns Will surely start exploring the glee. 😄

from glee.

fmvilas avatar fmvilas commented on August 19, 2024

That's a good point, @AMorgaut. I don't think it should be separated. We should aim for full HTTP support IMHO.

from glee.

Souvikns avatar Souvikns commented on August 19, 2024

@fmvilas by client do you mean glee server will make a API call to the client server as per the bindings information and the data that is returned from operationId function?

from glee.

fmvilas avatar fmvilas commented on August 19, 2024

Nope. I mean Glee should behave like a client not like a server. It should make calls to some APIs but it shouldn't be a server itself.

from glee.

Souvikns avatar Souvikns commented on August 19, 2024

Nope. I mean Glee should behave like a client not like a server. It should make calls to some APIs but it shouldn't be a server itself.

ðŸĪ” Kinda confused, I should be able to create a http REST API with glee if I want right, so like I would make an API call to glee through http and get a response. Would you call it a server?

from glee.

fmvilas avatar fmvilas commented on August 19, 2024

Yeah sorry, somehow I got confused by your question too. What I mean is that Glee should behave in two different ways, depending on how you configure your AsyncAPI document:

  1. As a server: this would, for instance, leverage ExpressJS or something similar behind the scenes. This is for people who want to create a REST API.
  2. As a client: this would let you make calls to other REST APIs. Say, for instance, every time you receive a message via MQTT you want to call a 3rd-party REST API. That should be possible too.

Note that a Glee application may be a mix of both, a client and a server. For instance, imagine we want to create a REST API, and every time the user does POST /users we want to call an external service, e.g., the Google Analytics API, another API in our system, etc.

Does that make sense?

from glee.

ritik307 avatar ritik307 commented on August 19, 2024

Hi, @fmvilas I would like to work on this issue. So can you kindly help me out in figuring out where to start? Like should I start making REST APIs or some other approach? 😊

from glee.

ayushpaharia avatar ayushpaharia commented on August 19, 2024

Hello @Souvikns Can you give some context on this issue. I'm interested in working on this as a Mentorship project

from glee.

ayushpaharia avatar ayushpaharia commented on August 19, 2024

#265 - Looks interesting. I'll get started with playing around with glee. See you in asyncapi/community/#352 ðŸ’Ŋ @Souvikns

from glee.

Souvikns avatar Souvikns commented on August 19, 2024

So this idea was selected for AsyncAPI Mentorship 2022 ->
asyncapi/community#376 (comment)

@ritik307 since you contributed to cli, modelina, website, and many more projects, I would like to select you as a mentee for this issue- would you like to become an AsyncAPI-sponsored mentee for this idea? 🙏🏞I would be your mentor for the coming months.

from glee.

ritik307 avatar ritik307 commented on August 19, 2024

@Souvikns I will be more than happy to be mentee for the mentioned issue 😁. Thank you so much for providing me the opportunity.ðŸĨģ

from glee.

github-actions avatar github-actions commented on August 19, 2024

This issue has been automatically marked as stale because it has not had recent activity ðŸ˜ī

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience âĪïļ

from glee.

Souvikns avatar Souvikns commented on August 19, 2024

@fmvilas can you please reopen this, as it is being currently worked on #320

from glee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google âĪïļ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.