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

Chore: Move service definitions to core services package #27546

Merged
merged 20 commits into from
Dec 27, 2022

Conversation

sampaiodiego
Copy link
Member

@sampaiodiego sampaiodiego commented Dec 14, 2022

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
Copy link

codecov bot commented Dec 15, 2022

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
Copy link
Member

@ggazzo ggazzo left a comment

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
@kodiakhq kodiakhq bot removed the stat: ready to merge PR tested and approved waiting for merge label Dec 20, 2022
@kodiakhq
Copy link
Contributor

kodiakhq bot commented Dec 20, 2022

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
_templates/service/new/service.ejs.t Show resolved Hide resolved
@@ -4,11 +4,11 @@ import type { IMessage } from '@rocket.chat/apps-engine/definition/messages';
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
Contributor

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
Member Author

Choose a reason for hiding this comment

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

🤔 interesting

@kodiakhq
Copy link
Contributor

kodiakhq bot commented Dec 26, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: QA skipped 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