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

Final Package Cleanup and Refactor #104

Merged
merged 1 commit into from
Aug 25, 2021
Merged

Conversation

ajimae
Copy link
Contributor

@ajimae ajimae commented Aug 25, 2021

No description provided.

@ajimae ajimae requested a review from a team August 25, 2021 05:34
@changeset-bot
Copy link

changeset-bot bot commented Aug 25, 2021

⚠️ No Changeset found

Latest commit: cf9f5fe

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ajimae ajimae merged commit 7291eb0 into develop Aug 25, 2021
@ajimae ajimae deleted the chore/rename-sdk-client-package branch August 25, 2021 05:41
ajimae added a commit that referenced this pull request Aug 31, 2021
* feat(sdk-client): build the typescript sdk-client

* feat(sdk-middleware-auth): build out the sdk middleware auth

* feat(middleware-http): add the http middleware for the clent-sdk

* feat(typescript-client-sdk): build typescript sdk client
- add typescript client
- add auth middleware
- add http middleware
- include test coverage report

* chore(test): increase the timeout for time consuming tests in ml package

* Chore(client-sdk): Refactor SDK Dependencies (#80)

* chore(client-sdk): refactor as dependencies into a single client package

* chore(middleware): abstract all middleware builder functions
- refactor code to abstract the auth middleware
- refactor code to abstract the http middleware
- write test for the new refactored code

* chore(tests): debug tests to isolate issues causing circleci to fail

* debugging circleci

* debugging circleci error

* debugging circleci error

* debugging circleci errors

* chore(tsconfig): use existing tsconfig.json configurations from existing (history) package

* fix OOM issue on cicleci

* chore(sdk-client): refactor entire all middleware package into sdk-client package
- add a builder class
- add all sdk-middleware
- remove unwanted comments and code blocks

* chore(auth-middlewares): add other authentication middlewares methods to the build class

* refactor middleware order and auth methods

* refactor(ClientBuilder): rename ApiRootBuilder to ClientBuilder

refactor ClientBuilder to return the client only

* rewrite tests to conform with new ClientBuilder class

* chore(client-builder): remove the private identifier from the withMiddleware method.

Co-authored-by: Jens Schulze <jenschude@gmail.com>

* fix(usr-agent): fix user agent to conform with the new format (#87)

* Rebase on Master add Preconstruct Cli Tool (#96)

* Update generated SDKs (#68)

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

Co-authored-by: Auto Mation <automation@commercetools.com>

* chore(release): releasing component

 - @commercetools/history-sdk@1.15.0
 - @commercetools/importapi-sdk@1.15.0
 - @commercetools/ml-sdk@1.15.0
 - @commercetools/platform-sdk@1.15.0

* Update generated SDKs (#82)

* TASK: Updating Platform SDK

* Adding Generated Request builder unit tests (#83)

* improvement: Adding Generated unit tests of Request builders

* Update generated SDKs (#84)

* TASK: Updating Platform SDK
* Adding unit test for the request builders

* chore(release): releasing component

 - @commercetools/history-sdk@1.16.0
 - @commercetools/importapi-sdk@1.16.0
 - @commercetools/ml-sdk@1.16.0
 - @commercetools/platform-sdk@1.16.0

* Update generated SDKs (#86)

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

Co-authored-by: Auto Mation <automation@commercetools.com>

* chore(release): releasing component

 - @commercetools/history-sdk@1.17.0
 - @commercetools/importapi-sdk@1.17.0
 - @commercetools/ml-sdk@1.17.0
 - @commercetools/platform-sdk@1.17.0

* chore: setup changesets and release workflow (#91)

* chore: setup changesets and release workflow

* docs: update readmes

* chore(ci): use yarn cache

* Version Packages (#92)

* ci(changesets): version packages

* chore: regenerate lockfile

* fix(ci): build platform-sdk before running tests

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>

* Update generated SDKs (#94)

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* Create metal-bees-type.md

Co-authored-by: Auto Mation <automation@commercetools.com>
Co-authored-by: Jens Schulze <jens.schulze@commercetools.com>

* Improve monorepo setup and tooling (#93)

* chore: improve monorepo setup and tools to develop and build packages

* chore(ci): use node 14

* docs: add contributing and update readme

* docs: changeset

* fix: command

* chore(ci): also build packages

* feat(sdk-client): build the typescript sdk-client

* feat(sdk-middleware-auth): build out the sdk middleware auth

* feat(middleware-http): add the http middleware for the clent-sdk

* feat(typescript-client-sdk): build typescript sdk client
- add typescript client
- add auth middleware
- add http middleware
- include test coverage report

* chore(test): increase the timeout for time consuming tests in ml package

* Chore(client-sdk): Refactor SDK Dependencies (#80)

* chore(client-sdk): refactor as dependencies into a single client package

* chore(middleware): abstract all middleware builder functions
- refactor code to abstract the auth middleware
- refactor code to abstract the http middleware
- write test for the new refactored code

* chore(tests): debug tests to isolate issues causing circleci to fail

* debugging circleci

* debugging circleci error

* debugging circleci error

* debugging circleci errors

* chore(tsconfig): use existing tsconfig.json configurations from existing (history) package

* fix OOM issue on cicleci

* chore(sdk-client): refactor entire all middleware package into sdk-client package
- add a builder class
- add all sdk-middleware
- remove unwanted comments and code blocks

* chore(auth-middlewares): add other authentication middlewares methods to the build class

* refactor middleware order and auth methods

* refactor(ClientBuilder): rename ApiRootBuilder to ClientBuilder

refactor ClientBuilder to return the client only

* rewrite tests to conform with new ClientBuilder class

* chore(client-builder): remove the private identifier from the withMiddleware method.

Co-authored-by: Jens Schulze <jenschude@gmail.com>

* fix(usr-agent): fix user agent to conform with the new format (#87)

* chore(preconstruct): rebase the develop on master branch and include preconstruct

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Auto Mation <automation@commercetools.com>
Co-authored-by: Michele George <michele.george@commercetools.de>
Co-authored-by: Michele George <30607195+MicheleRezk@users.noreply.github.com>
Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>
Co-authored-by: CT Release Bot <24736072+ct-release-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jens Schulze <jens.schulze@commercetools.com>
Co-authored-by: Jens Schulze <jenschude@gmail.com>

* chore(sdk-client-v2): final package cleanup and refactor (#104)

* feat(sdk-client): build the typescript sdk-client

* feat(sdk-middleware-auth): build out the sdk middleware auth

* feat(middleware-http): add the http middleware for the clent-sdk

* feat(typescript-client-sdk): build typescript sdk client
- add typescript client
- add auth middleware
- add http middleware
- include test coverage report

* chore(test): increase the timeout for time consuming tests in ml package

* Chore(client-sdk): Refactor SDK Dependencies (#80)

* chore(client-sdk): refactor as dependencies into a single client package

* chore(middleware): abstract all middleware builder functions
- refactor code to abstract the auth middleware
- refactor code to abstract the http middleware
- write test for the new refactored code

* chore(tests): debug tests to isolate issues causing circleci to fail

* debugging circleci

* debugging circleci error

* debugging circleci error

* debugging circleci errors

* chore(tsconfig): use existing tsconfig.json configurations from existing (history) package

* fix OOM issue on cicleci

* chore(sdk-client): refactor entire all middleware package into sdk-client package
- add a builder class
- add all sdk-middleware
- remove unwanted comments and code blocks

* chore(auth-middlewares): add other authentication middlewares methods to the build class

* refactor middleware order and auth methods

* refactor(ClientBuilder): rename ApiRootBuilder to ClientBuilder

refactor ClientBuilder to return the client only

* rewrite tests to conform with new ClientBuilder class

* chore(client-builder): remove the private identifier from the withMiddleware method.

Co-authored-by: Jens Schulze <jenschude@gmail.com>

* fix(usr-agent): fix user agent to conform with the new format (#87)

* Rebase on Master add Preconstruct Cli Tool (#96)

* Update generated SDKs (#68)

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

Co-authored-by: Auto Mation <automation@commercetools.com>

* chore(release): releasing component

 - @commercetools/history-sdk@1.15.0
 - @commercetools/importapi-sdk@1.15.0
 - @commercetools/ml-sdk@1.15.0
 - @commercetools/platform-sdk@1.15.0

* Update generated SDKs (#82)

* TASK: Updating Platform SDK

* Adding Generated Request builder unit tests (#83)

* improvement: Adding Generated unit tests of Request builders

* Update generated SDKs (#84)

* TASK: Updating Platform SDK
* Adding unit test for the request builders

* chore(release): releasing component

 - @commercetools/history-sdk@1.16.0
 - @commercetools/importapi-sdk@1.16.0
 - @commercetools/ml-sdk@1.16.0
 - @commercetools/platform-sdk@1.16.0

* Update generated SDKs (#86)

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

Co-authored-by: Auto Mation <automation@commercetools.com>

* chore(release): releasing component

 - @commercetools/history-sdk@1.17.0
 - @commercetools/importapi-sdk@1.17.0
 - @commercetools/ml-sdk@1.17.0
 - @commercetools/platform-sdk@1.17.0

* chore: setup changesets and release workflow (#91)

* chore: setup changesets and release workflow

* docs: update readmes

* chore(ci): use yarn cache

* Version Packages (#92)

* ci(changesets): version packages

* chore: regenerate lockfile

* fix(ci): build platform-sdk before running tests

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>

* Update generated SDKs (#94)

* TASK: Updating Platform SDK

* TASK: Updating Platform SDK

* Create metal-bees-type.md

Co-authored-by: Auto Mation <automation@commercetools.com>
Co-authored-by: Jens Schulze <jens.schulze@commercetools.com>

* Improve monorepo setup and tooling (#93)

* chore: improve monorepo setup and tools to develop and build packages

* chore(ci): use node 14

* docs: add contributing and update readme

* docs: changeset

* fix: command

* chore(ci): also build packages

* feat(sdk-client): build the typescript sdk-client

* feat(sdk-middleware-auth): build out the sdk middleware auth

* feat(middleware-http): add the http middleware for the clent-sdk

* feat(typescript-client-sdk): build typescript sdk client
- add typescript client
- add auth middleware
- add http middleware
- include test coverage report

* chore(test): increase the timeout for time consuming tests in ml package

* Chore(client-sdk): Refactor SDK Dependencies (#80)

* chore(client-sdk): refactor as dependencies into a single client package

* chore(middleware): abstract all middleware builder functions
- refactor code to abstract the auth middleware
- refactor code to abstract the http middleware
- write test for the new refactored code

* chore(tests): debug tests to isolate issues causing circleci to fail

* debugging circleci

* debugging circleci error

* debugging circleci error

* debugging circleci errors

* chore(tsconfig): use existing tsconfig.json configurations from existing (history) package

* fix OOM issue on cicleci

* chore(sdk-client): refactor entire all middleware package into sdk-client package
- add a builder class
- add all sdk-middleware
- remove unwanted comments and code blocks

* chore(auth-middlewares): add other authentication middlewares methods to the build class

* refactor middleware order and auth methods

* refactor(ClientBuilder): rename ApiRootBuilder to ClientBuilder

refactor ClientBuilder to return the client only

* rewrite tests to conform with new ClientBuilder class

* chore(client-builder): remove the private identifier from the withMiddleware method.

Co-authored-by: Jens Schulze <jenschude@gmail.com>

* fix(usr-agent): fix user agent to conform with the new format (#87)

* chore(preconstruct): rebase the develop on master branch and include preconstruct

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Auto Mation <automation@commercetools.com>
Co-authored-by: Michele George <michele.george@commercetools.de>
Co-authored-by: Michele George <30607195+MicheleRezk@users.noreply.github.com>
Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>
Co-authored-by: CT Release Bot <24736072+ct-release-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jens Schulze <jens.schulze@commercetools.com>
Co-authored-by: Jens Schulze <jenschude@gmail.com>

* chore(sdk-client-v2): final package cleanup and refactor (#104)

* fix(develop): fix all merge conflicts on develop

* chore(sdk-client): implement feedback
- rename builder to client-builder
- remove abortController property and fix http test
- add changeset for package release
- change sdk-client version to 0.0.1

Co-authored-by: Jens Schulze <jenschude@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Auto Mation <automation@commercetools.com>
Co-authored-by: Michele George <michele.george@commercetools.de>
Co-authored-by: Michele George <30607195+MicheleRezk@users.noreply.github.com>
Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>
Co-authored-by: CT Release Bot <24736072+ct-release-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jens Schulze <jens.schulze@commercetools.com>
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