Skip to content

Set up Github Action for go SDK component test #5588

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

Merged
merged 2 commits into from
May 21, 2024

Conversation

acefei
Copy link
Contributor

@acefei acefei commented Apr 24, 2024

This PR is scaffold for sdk component testing, please find the details in ocaml/sdk-gen/component-test/README.md

@acefei acefei force-pushed the private/feis/CP-48777 branch from 63a9a76 to e3bec86 Compare April 24, 2024 01:48
@acefei acefei changed the title Set up Github action Go container and set up JSON-RPC httpserver Set up Github action Go container and JSON-RPC server Apr 28, 2024
@acefei acefei force-pushed the private/feis/CP-48777 branch from e3bec86 to 0260290 Compare May 6, 2024 06:58
@acefei acefei force-pushed the private/feis/CP-48777 branch from 0260290 to 86abbf0 Compare May 6, 2024 07:18
@acefei acefei force-pushed the private/feis/CP-48777 branch from 86abbf0 to 83f3d1d Compare May 6, 2024 07:23
@acefei acefei force-pushed the private/feis/CP-48777 branch 3 times, most recently from ce5798a to d8359b6 Compare May 11, 2024 02:14
@acefei acefei force-pushed the private/feis/CP-48777 branch 2 times, most recently from 8b7d417 to 35f9c66 Compare May 15, 2024 06:28
@acefei acefei force-pushed the private/feis/CP-48777 branch 3 times, most recently from ae55a43 to 92ef445 Compare May 17, 2024 02:48
Signed-off-by: Fei Su <fei.su@cloud.com>
@acefei acefei force-pushed the private/feis/CP-48777 branch from 92ef445 to 697a1dc Compare May 17, 2024 02:57
@acefei acefei force-pushed the private/feis/CP-48777 branch 6 times, most recently from 271cd03 to b7f9f09 Compare May 17, 2024 07:12
@acefei acefei force-pushed the private/feis/CP-48777 branch from b7f9f09 to 9e3ab61 Compare May 17, 2024 08:25
@acefei acefei changed the title Set up Github action Go container and JSON-RPC server Set up Github Action for go SDK component test May 17, 2024
@acefei acefei force-pushed the private/feis/CP-48777 branch 4 times, most recently from 9fb2fb8 to 7a326bb Compare May 20, 2024 09:07
## How Component Testing Works

#### jsonrpc-server
The jsonrpc-server is a mock HTTP server which aligns with [jsonrpc 2.0 specification](https://www.jsonrpc.org/specification) and to emulate the xen-api server. It parses the test data from JSON files located in the spec/ directory, executes the method and parameters specified in spec files with incoming requests and then sending back a jsonrpc response that includes the expect_result.
Copy link
Member

Choose a reason for hiding this comment

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

sends back

Signed-off-by: Fei Su <fei.su@cloud.com>
@acefei acefei force-pushed the private/feis/CP-48777 branch from 7a326bb to 85d1e34 Compare May 21, 2024 03:28
@xueqingz xueqingz merged commit 9439b25 into xapi-project:feature/go_sdk May 21, 2024
14 checks passed
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.

7 participants