Skip to content

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
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
@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.

3 participants