gofrendiasgard / ayanami Goto Github PK
View Code? Open in Web Editor NEWYour generator's generator (under development)
Home Page: https://state-alchemists.github.io/ayanami/
Your generator's generator (under development)
Home Page: https://state-alchemists.github.io/ayanami/
Is your feature request related to a problem? Please describe.
Currently there is no way to set custom header and cookies for response
Describe the solution you'd like
Gateway should also listen to <ID>.trig.response.in.header
Is your feature request related to a problem? Please describe.
This issue is related to #2 .
Instead of implementing <ID>.trig.response.header
, we can change the publish & subscribe mechanism instead.
Describe the solution you'd like
implement PublishRecursively(ID, rawEventName string, data interface{}) error
. When publish a data, we should also see, whether the data has subValues
or not, and publish subEvent
recursively. One possible solution (for map) is provided here: https://play.golang.org/p/BgIu6bfW4ov. Beside map, we should also handle slices: https://play.golang.org/p/7OkRT-SgeGt.
When service is ready to publish
, make check all output event. Is there any common parent event or not. Also, is our event is parent event, or it still have ancestors. For example if we publish: trig.response.in.code
and trig.response.in.content
, we should also publish trig.response.in
. The published data of the last event should be a map, containing code
and content
.
Is your feature request related to a problem? Please describe.
This repo could be intimidating. Some people might just want to know about the service or the generator, not both
Describe the solution you'd like
Keep this repo for the generator, make another repository ayanami-service-go
Describe alternatives you've considered
none
Additional context
none
Is your feature request related to a problem? Please describe.
Gateway and flows actually only need to subscribe into ID based event until a response is generated (e.g: <ID>.trig.response.in.code
or <ID>.srvc.<service>.out.<var>
). Once the response has been generated, gateway and flows doesn't need to listen to these events anymore.
Having a lot of subscriber could have a performance drawback sometime.
Describe the solution you'd like
There should be a way to unsubscribe from a particular event. Define Unsubscribe
in Common broker interface and make our brokers comply the interface
Describe the bug
While nats supporting >
and *
anywhere, memory broker only support *
as the first segment
To Reproduce
Simply create a subscriber in memory broker containing the characters.
Expected behavior
It should behave like nats
Is your feature request related to a problem? Please describe.
Config is not clear enough. Entity is a better term
Describe the solution you'd like
Use entity
instead of config
Describe alternatives you've considered
none
Additional context
none
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.