Skip to content

Chore: Move service definitions to core services package - #27546

Merged
ggazzo merged 20 commits into
developfrom
move-service-definitions-to-core-sdk-package
Dec 27, 2022
Merged

ggazzo merged 20 commits into
developfrom
move-service-definitions-to-core-sdk-package

Conversation

@sampaiodiego

@sampaiodiego sampaiodiego commented Dec 14, 2022 •

Copy link
Copy Markdown
Member

Proposed changes (including videos or screenshots)

Issue(s)

ARCH-118

Steps to test or reproduce

Further comments

There are a few things missing:

  • Pass StreamerCentral to LocalBroker via dependency injection
  • Remove api export from apps/meteor/server/sdk/api.ts
  • getRoutingManagerConfig was removed, check if it was really not being used
  • packages/core-sdk/src/types/IVoipService.ts check how getConnector() is used and figure how to fix it out

@codecov

codecov Bot commented Dec 15, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #27546 (89fe6d7) into develop (4f2895a) will increase coverage by 1.25%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #27546      +/-   ##
===========================================
+ Coverage    42.46%   43.71%   +1.25%     
===========================================
  Files          839      812      -27     
  Lines        17695    17176     -519     
  Branches      1977     1902      -75     
===========================================
- Hits          7514     7509       -5     
+ Misses        9929     9416     -513     
+ Partials       252      251       -1     
Flag Coverage Δ
e2e 43.71% <ø> (+1.25%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@dionisio-bot dionisio-bot Bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: needs QA labels Dec 16, 2022
@sampaiodiego
sampaiodiego marked this pull request as ready for review December 16, 2022 11:50
@sampaiodiego
sampaiodiego requested review from a team as code owners December 16, 2022 11:50

@ggazzo ggazzo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@rocket.chat/core-sdk

its not a good naming strategy since we can have sdk for client and server

maybe @rocket.chat/serve-core-sdk ?

@sampaiodiego sampaiodiego changed the title Chore: Move service definitions to core sdk package Chore: Move service definitions to core services package Dec 19, 2022
@sampaiodiego
sampaiodiego requested a review from ggazzo December 19, 2022 18:08
@kodiakhq kodiakhq Bot removed the stat: ready to merge PR tested and approved waiting for merge label Dec 20, 2022
@kodiakhq

kodiakhq Bot commented Dec 20, 2022

Copy link
Copy Markdown
Contributor

This PR currently has a merge conflict. Please resolve this and then re-add the ['stat: ready to merge', 'automerge'] label.

@dionisio-bot dionisio-bot Bot added the stat: ready to merge PR tested and approved waiting for merge label Dec 20, 2022
Comment thread _templates/service/new/service.ejs.t
import type { IUser } from '@rocket.chat/apps-engine/definition/users';
import type { IRoom } from '@rocket.chat/apps-engine/definition/rooms';
import type { ISubscription } from '@rocket.chat/core-typings';
import { api } from '@rocket.chat/core-services';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🤔 I'm voting for renaming api to core.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

🤔 interesting

Comment thread packages/core-services/src/lib/asyncLocalStorage.ts
@kodiakhq

kodiakhq Bot commented Dec 26, 2022

Copy link
Copy Markdown
Contributor

This PR currently has a merge conflict. Please resolve this and then re-add the ['stat: ready to merge', 'automerge'] label.

@kodiakhq kodiakhq Bot removed the stat: ready to merge PR tested and approved waiting for merge label Dec 26, 2022
@dionisio-bot dionisio-bot Bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: conflict labels Dec 26, 2022
@ggazzo
ggazzo merged commit 9647793 into develop Dec 27, 2022
@ggazzo
ggazzo deleted the move-service-definitions-to-core-sdk-package branch December 27, 2022 02:14
@sampaiodiego sampaiodiego mentioned this pull request Feb 17, 2023
@sampaiodiego sampaiodiego mentioned this pull request Mar 9, 2023
13 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: ready to merge PR tested and approved waiting for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants