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

Never add meta-data to sdk-mock and visualize meta-data in JSON format on CI #88

Merged
merged 4 commits into from
Apr 2, 2024

Conversation

jmatsu
Copy link
Contributor

@jmatsu jmatsu commented Apr 1, 2024

The current sdk-mock doesn't contain meta-data, however, they would be accidentally included due to human errors. We should make sure that meta-data should appear only in sdk. And also, it should be visualised for the maintainability reason.

@jmatsu jmatsu marked this pull request as ready for review April 1, 2024 08:29
@@ -14,8 +14,6 @@ on:
jobs:
sdk-build:
runs-on: ubuntu-latest
if: >
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This restriction was meaningless.

class SdkMockPlugin : BaseSdkPlugin() {
override fun createSdkExtension(): SdkExtension {
return SdkExtensionImpl(
displayName = "DeployGate SDK Mock",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Inlined.

@jmatsu jmatsu changed the title Do not add meta-data to sdk-mock and visualize meta-data in JSON format on CI Never add meta-data to sdk-mock and visualize meta-data in JSON format on CI Apr 1, 2024
@jmatsu jmatsu requested a review from satsukies April 1, 2024 08:33
Copy link
Member

@satsukies satsukies left a comment

Choose a reason for hiding this comment

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

LGTM

@jmatsu jmatsu merged commit 250ed74 into master Apr 2, 2024
6 checks passed
@jmatsu jmatsu deleted the jmatsu/fix/do_not_add_meta_data_to_mock branch April 2, 2024 06:28
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.

2 participants