Skip to content

api: return opaque engine handle in onEngineRunning#2368

Closed
jpsim wants to merge 14 commits intomainfrom
api-return-opaque-engine-handle-in-onenginerunning
Closed

api: return opaque engine handle in onEngineRunning#2368
jpsim wants to merge 14 commits intomainfrom
api-return-opaque-engine-handle-in-onenginerunning

Conversation

@jpsim
Copy link
Contributor

@jpsim jpsim commented Jun 15, 2022

To support interop between APIs across different languages.

This is needed to support the engine singleton removal work in #2129 because previously no matter the language, you could always assume that the engine handle would be 1, but with the singleton removed, we need to expose a mechanism to pass the engine instance from the higher level language APIs to the C++ APIs.

Risk Level: Moderate
Testing: Unit tests, integration tests and in Lyft's downstream Envoy Mobile cross-language integration
Docs Changes: Updated
Release Notes: Added

To Do:

  • Update Swift
  • Update ObjC
  • Update Java
  • Update Kotlin
  • Update C++
  • Update Python (not exposing in the API for now)

Signed-off-by: JP Simard jp@jpsim.com

jpsim added 14 commits June 14, 2022 20:16
To support interop between the Swift/Kotlin and C++ APIs.

Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
I can't get the tests to run locally and they fail on CI. Punting on
this for now.

Signed-off-by: JP Simard <jp@jpsim.com>
@jpsim jpsim marked this pull request as ready for review June 15, 2022 03:51
@jpsim
Copy link
Contributor Author

jpsim commented Jun 16, 2022

I'll go with a different approach.

@jpsim jpsim closed this Jun 16, 2022
@jpsim jpsim deleted the api-return-opaque-engine-handle-in-onenginerunning branch June 16, 2022 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant