Add gRPC API to applaunchd

Description

As part of AGL's development goals for the year, and to facilitate switching the main demo platform over to Flutter-based applications, a gRPC version of the API should be added to applaunchd.

Environment

None

Activity

Walt Miner 
November 16, 2022 at 10:06 PM

Close for NN 14.0.2

 

Scott Murray 
September 12, 2022 at 10:29 PM

Yes, I am of the opinion that they should be decoupled, as we don't want to tie potential users of agl-compositor to applaunchd if we can avoid it.  Having an example shell client API that can potentially be reused or reimplemented by whatever a member builds on top of agl-compositor seems better to me since it'll be more flexible.  One thing I'll note is that you may want to not copy the gRPC server implementation I've used in applaunchd as is, as the async or newer function callback APIs in gRPC may be better suited than the simpler sync option I went with for applaunchd.

Marius Vlad 
September 12, 2022 at 3:27 PM

I've been skimming through these changes, and revisiting the comments in , and our discussions are leaning towards having the changes that add support for various surface roles to be inside the client shell rather than going into applaunchd.

I just want to make sure this is the design we're after. If, for instance, a client would to like to start an application will use a gRPC interface to applaunchd, and if it wants as well to activate other application will have to use a gRPC that we might have in the shell client? Is that a correct assumption ?

If so, it seems to me that these are really decoupled and I can start writing some mock-ups with gRPC in homescreen, as the protobuf would will different than the applaunchd uses. I'm not familiar with protobuf design and implementation so I'll probably ask for some help and reviewing things.

Fixed

Details

Assignee

Reporter

Labels

Contract ID

Affects versions

Priority

Created September 10, 2022 at 4:03 PM
Updated November 16, 2022 at 10:06 PM
Resolved September 27, 2022 at 6:44 PM