Skip to content
New issue

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

App Pass-through #188

Merged
merged 48 commits into from
Jun 6, 2024
Merged

App Pass-through #188

merged 48 commits into from
Jun 6, 2024

Conversation

jlacivita
Copy link
Contributor

This add support for the x-provided-by extension and push-pull method tag.

return paramsSchema
}

const createPullRequestor = (pusher, json) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still want to keep this even though it is not used?

src/shared/modules.mjs Outdated Show resolved Hide resolved
@jlacivita jlacivita merged commit 83fa0fc into next Jun 6, 2024
6 checks passed
kschrief pushed a commit that referenced this pull request Jun 6, 2024
# [3.0.0-next.4](v3.0.0-next.3...v3.0.0-next.4) (2024-06-06)

### Features

* App Pass-through ([#188](#188)) ([83fa0fc](83fa0fc))
@kschrief
Copy link
Contributor

kschrief commented Jun 6, 2024

🎉 This PR is included in version 3.0.0-next.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

kevinshahfws added a commit that referenced this pull request Jun 14, 2024
* Integration of CPPSDK support (#176)

* BREAKING CHANGE: Generalized templating engine to support both JavaScript and CPP (and other languages).

* feat(languages): Add support for a distinct JSON-type for each schema

* feat(accessors): New macro section for schema property accessors

* Add support to generate file inclusion for common schema also (#97)

* Detach setter declaration from property template and add setter template, remove unredundant warnings
Cleanup changes, add separator between prefix and subSchema name generation
Introduce excludeDeclarations flag to handle declaration exclusion specific to language
Alignement changes + cleanup + OUT params support added to differentiate method signature parameters
Update in static code

* CPPSDK : Add Async communication support and CPP code generation for x-uses + x-allow-focus=true (#170)


* chore(release): 3.0.0-next.1 [skip ci]

# [3.0.0-next.1](v2.3.0-next.1...v3.0.0-next.1) (2024-03-26)

* Integration of CPPSDK support (#176) ([89294cc](89294cc)), closes [#176](#176) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#127](#127) [#137](#137) [#135](#135) [#134](#134) [#136](#136) [#139](#139) [#138](#138) [#140](#140) [#142](#142) [#144](#144) [#145](#145) [#141](#141) [#149](#149) [#150](#150) [#152](#152) [#151](#151) [#153](#153) [#154](#154) [#156](#156) [#157](#157) [#158](#158) [#160](#160) [#159](#159) [#161](#161) [#163](#163) [#164](#164) [#165](#165) [#167](#167) [#169](#169) [#171](#171) [#173](#173) [#172](#172) [#170](#170)

* chore: Copy JS templates to C and create language.config.json

* feat(accessors): New macro section for schema property accessors

* feat: CI/CD Merging from next (#183)

# [3.0.0-next.2](v3.0.0-next.1...v3.0.0-next.2) (2024-04-08)

### Features

* CI/CD Merging from next ([#183](#183)) ([14476a9](14476a9))


* Detach setter declaration from property template and add setter template, remove unredundant warnings
Cleanup changes, add separator between prefix and subSchema name generation
Introduce excludeDeclarations flag to handle declaration exclusion specific to language
Alignement changes + cleanup + OUT params support added to differentiate method signature parameters
Update in static code

* Add support to generate file inclusion for common schema also (#97)

* C-Language: Templates based property methods (#100)

* feat: Add method templates for properties

* feat: Property setters using templates

* fix: Macro name correction

* Add support to keep original file permissions of template/sdk files (#99)

* Event template implementation added (#101)

* Template for Polymorphic pull method (#102)



* chore(release): 3.0.0-next.3 [skip ci]

# [3.0.0-next.3](v3.0.0-next.2...v3.0.0-next.3) (2024-05-09)

### Bug Fixes

* Account for new OpenRPC spec URL contents ([#186](#186)) ([66bd6ac](66bd6ac))

* feat: App Pass-through (#188)

This feature enables one Firebolt App to provide a capability that may be used by another Firebolt App, with the platform as a permission broker that passes the requests and responses to each app without feature-specific logic.

This document covers the App Pass-through Firebolt OpenRPC extension as well as how Firebolt implementations should detect and execute app provided pass-through APIs.

Some APIs require an app to fulfill the request on behalf of another app, e.g. to provide a UX or cross-app data sharing. Generally the calling app doesn't care, or have a say in, which other app provides the API, that is up to the Firebolt distributor.

To facilitate these APIs, Firebolt denotes an `x-provided-by` OpenRPC tag with OpenRPC extensions to connect the `provide` API to the `use` API.

* chore(release): 3.0.0-next.4 [skip ci]

# [3.0.0-next.4](v3.0.0-next.3...v3.0.0-next.4) (2024-06-06)

### Features

* App Pass-through ([#188](#188)) ([83fa0fc](83fa0fc))

* chore(release): 3.0.0-next.5 [skip ci]

# [3.0.0-next.5](v3.0.0-next.4...v3.0.0-next.5) (2024-06-13)
kschrief pushed a commit that referenced this pull request Jun 14, 2024
# [3.0.0](v2.3.0...v3.0.0) (2024-06-14)

* 3.0.0 Release (#194) ([b374818](b374818)), closes [#194](#194) [#176](#176) [#97](#97) [#170](#170) [#176](#176) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#127](#127) [#137](#137) [#135](#135) [#134](#134) [#136](#136) [#139](#139) [#138](#138) [#140](#140) [#142](#142) [#144](#144) [#145](#145) [#141](#141) [#149](#149) [#150](#150) [#152](#152) [#151](#151) [#153](#153) [#154](#154) [#156](#156) [#157](#157) [#158](#158) [#160](#160) [#159](#159) [#161](#161) [#163](#163) [#164](#164) [#165](#165) [#167](#167) [#169](#169) [#171](#171) [#173](#173) [#172](#172) [#170](#170) [#183](#183) [#183](#183) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#186](#186) [#188](#188) [#188](#188)

### BREAKING CHANGES

* Generalized templating engine to support both JavaScript and CPP (and other languages).

* feat(languages): Add support for a distinct JSON-type for each schema

* feat(accessors): New macro section for schema property accessors
kschrief pushed a commit that referenced this pull request Aug 8, 2024
# [3.0.0](v2.3.0...v3.0.0) (2024-08-08)

### Bug Fixes

* Account for new OpenRPC spec URL contents ([#186](#186)) ([66bd6ac](66bd6ac))
* Added CPP Event prioritization ([#197](#197)) ([11d25e9](11d25e9))
* Added firebolt header to the call-metrics ([#201](#201)) ([1b3f261](1b3f261))
* Added x-response-name in EventTag ([#200](#200)) ([d2130a8](d2130a8))
* Build issues with CPP Manage SDK ([#203](#203)) ([e06f6e2](e06f6e2))
* Manually update version to 3.1.0-next.1 ([#204](#204)) ([699fd65](699fd65))
* Resolve conflicts ([adf6762](adf6762))
* SchemasMatch handling null ([#199](#199)) ([07c47db](07c47db))

* Integration of CPPSDK support (#176) ([89294cc](89294cc)), closes [#176](#176) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#127](#127) [#137](#137) [#135](#135) [#134](#134) [#136](#136) [#139](#139) [#138](#138) [#140](#140) [#142](#142) [#144](#144) [#145](#145) [#141](#141) [#149](#149) [#150](#150) [#152](#152) [#151](#151) [#153](#153) [#154](#154) [#156](#156) [#157](#157) [#158](#158) [#160](#160) [#159](#159) [#161](#161) [#163](#163) [#164](#164) [#165](#165) [#167](#167) [#169](#169) [#171](#171) [#173](#173) [#172](#172) [#170](#170)

### Features

* App Pass-through ([#188](#188)) ([83fa0fc](83fa0fc))
* CI/CD Merging from next ([#183](#183)) ([14476a9](14476a9))
* CPP App-Passthrough ([#196](#196)) ([eeabccb](eeabccb))

### BREAKING CHANGES

* Generalized templating engine to support both JavaScript and CPP (and other languages).

* chore: Copy JS templates to C and create language.config.json

* feat(languages): Add support for a distinct JSON-type for each schema

Also started tweaking C templates and adding a few useful macros.

* chore: Dropped debug logs

* fix: Stop passing non-schemas in to getSchemaType

* feat(accessors): New macro section for schema property accessors
kschrief pushed a commit that referenced this pull request Aug 8, 2024
# [3.0.0](v2.3.0...v3.0.0) (2024-08-08)

### Bug Fixes

* Account for new OpenRPC spec URL contents ([#186](#186)) ([66bd6ac](66bd6ac))
* Added CPP Event prioritization ([#197](#197)) ([11d25e9](11d25e9))
* Added firebolt header to the call-metrics ([#201](#201)) ([1b3f261](1b3f261))
* Added x-response-name in EventTag ([#200](#200)) ([d2130a8](d2130a8))
* Build issues with CPP Manage SDK ([#203](#203)) ([e06f6e2](e06f6e2))
* Manually create 3.1.0-next.2 ([f9c2c3c](f9c2c3c))
* Manually update version to 3.1.0-next.1 ([#204](#204)) ([699fd65](699fd65))
* Resolve conflicts ([adf6762](adf6762))
* SchemasMatch handling null ([#199](#199)) ([07c47db](07c47db))

* Integration of CPPSDK support (#176) ([89294cc](89294cc)), closes [#176](#176) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#127](#127) [#137](#137) [#135](#135) [#134](#134) [#136](#136) [#139](#139) [#138](#138) [#140](#140) [#142](#142) [#144](#144) [#145](#145) [#141](#141) [#149](#149) [#150](#150) [#152](#152) [#151](#151) [#153](#153) [#154](#154) [#156](#156) [#157](#157) [#158](#158) [#160](#160) [#159](#159) [#161](#161) [#163](#163) [#164](#164) [#165](#165) [#167](#167) [#169](#169) [#171](#171) [#173](#173) [#172](#172) [#170](#170)

### Features

* App Pass-through ([#188](#188)) ([83fa0fc](83fa0fc))
* CI/CD Merging from next ([#183](#183)) ([14476a9](14476a9))
* CPP App-Passthrough ([#196](#196)) ([eeabccb](eeabccb))

### BREAKING CHANGES

* Generalized templating engine to support both JavaScript and CPP (and other languages).

* chore: Copy JS templates to C and create language.config.json

* feat(languages): Add support for a distinct JSON-type for each schema

Also started tweaking C templates and adding a few useful macros.

* chore: Dropped debug logs

* fix: Stop passing non-schemas in to getSchemaType

* feat(accessors): New macro section for schema property accessors
kschrief pushed a commit that referenced this pull request Aug 8, 2024
# [3.0.0](v2.3.0...v3.0.0) (2024-08-08)

### Bug Fixes

* Account for new OpenRPC spec URL contents ([#186](#186)) ([66bd6ac](66bd6ac))
* Added CPP Event prioritization ([#197](#197)) ([11d25e9](11d25e9))
* Added firebolt header to the call-metrics ([#201](#201)) ([1b3f261](1b3f261))
* Added x-response-name in EventTag ([#200](#200)) ([d2130a8](d2130a8))
* Build issues with CPP Manage SDK ([#203](#203)) ([e06f6e2](e06f6e2))
* Manually create 3.1.0-next.2 ([f9c2c3c](f9c2c3c))
* Manually release 3.1.0-next.3 ([e8b0075](e8b0075))
* Manually update version to 3.1.0-next.1 ([#204](#204)) ([699fd65](699fd65))
* Resolve conflicts ([adf6762](adf6762))
* SchemasMatch handling null ([#199](#199)) ([07c47db](07c47db))

* Integration of CPPSDK support (#176) ([89294cc](89294cc)), closes [#176](#176) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#127](#127) [#137](#137) [#135](#135) [#134](#134) [#136](#136) [#139](#139) [#138](#138) [#140](#140) [#142](#142) [#144](#144) [#145](#145) [#141](#141) [#149](#149) [#150](#150) [#152](#152) [#151](#151) [#153](#153) [#154](#154) [#156](#156) [#157](#157) [#158](#158) [#160](#160) [#159](#159) [#161](#161) [#163](#163) [#164](#164) [#165](#165) [#167](#167) [#169](#169) [#171](#171) [#173](#173) [#172](#172) [#170](#170)

### Features

* App Pass-through ([#188](#188)) ([83fa0fc](83fa0fc))
* CI/CD Merging from next ([#183](#183)) ([14476a9](14476a9))
* CPP App-Passthrough ([#196](#196)) ([eeabccb](eeabccb))

### BREAKING CHANGES

* Generalized templating engine to support both JavaScript and CPP (and other languages).

* chore: Copy JS templates to C and create language.config.json

* feat(languages): Add support for a distinct JSON-type for each schema

Also started tweaking C templates and adding a few useful macros.

* chore: Dropped debug logs

* fix: Stop passing non-schemas in to getSchemaType

* feat(accessors): New macro section for schema property accessors
kschrief pushed a commit that referenced this pull request Aug 8, 2024
# [3.1.0](v3.0.0...v3.1.0) (2024-08-08)

### Bug Fixes

* Account for new OpenRPC spec URL contents ([#186](#186)) ([66bd6ac](66bd6ac))
* Added CPP Event prioritization ([#197](#197)) ([11d25e9](11d25e9))
* Added firebolt header to the call-metrics ([#201](#201)) ([1b3f261](1b3f261))
* Added x-response-name in EventTag ([#200](#200)) ([d2130a8](d2130a8))
* Build issues with CPP Manage SDK ([#203](#203)) ([e06f6e2](e06f6e2))
* Manual release 3.1.0-next.4 ([53d4a14](53d4a14))
* Manually create 3.1.0-next.2 ([f9c2c3c](f9c2c3c))
* Manually release 3.1.0-next.3 ([e8b0075](e8b0075))
* Manually update version to 3.1.0-next.1 ([#204](#204)) ([699fd65](699fd65))
* Resolve conflicts ([adf6762](adf6762))
* SchemasMatch handling null ([#199](#199)) ([07c47db](07c47db))

### Features

* App Pass-through ([#188](#188)) ([83fa0fc](83fa0fc))
* CPP App-Passthrough ([#196](#196)) ([eeabccb](eeabccb))
@kschrief
Copy link
Contributor

kschrief commented Aug 8, 2024

🎉 This PR is included in version 3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants