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: add new endpoint for backfill #2601

Merged
merged 34 commits into from
Dec 7, 2023
Merged

chore: add new endpoint for backfill #2601

merged 34 commits into from
Dec 7, 2023

Conversation

kamaksheeAtl
Copy link
Contributor

@kamaksheeAtl kamaksheeAtl commented Dec 6, 2023

What's in this PR?
• New endpoint for backfilling subscriptions.
• Only handles cloud subscriptions.

Why
• Innovation Week.

How has this been tested?
• Test cases

@kamaksheeAtl kamaksheeAtl requested a review from a team as a code owner December 6, 2023 01:53
@kamaksheeAtl kamaksheeAtl marked this pull request as draft December 6, 2023 01:53
spa/src/api/subscriptions/index.ts Outdated Show resolved Hide resolved
src/rest/routes/sync/index.ts Outdated Show resolved Hide resolved
spa/src/api/subscriptions/index.ts Outdated Show resolved Hide resolved
src/rest/routes/sync/index.ts Outdated Show resolved Hide resolved
src/rest/routes/sync/index.ts Outdated Show resolved Hide resolved
src/rest/routes/sync/index.ts Outdated Show resolved Hide resolved
@kamaksheeAtl kamaksheeAtl marked this pull request as ready for review December 6, 2023 05:50
spa/src/api/subscriptions/index.ts Outdated Show resolved Hide resolved
src/rest/rest-router.ts Outdated Show resolved Hide resolved
src/rest/routes/sync/index.ts Outdated Show resolved Hide resolved
src/rest/routes/sync/index.ts Outdated Show resolved Hide resolved
@kamaksheeAtl kamaksheeAtl marked this pull request as draft December 7, 2023 03:13
@kamaksheeAtl kamaksheeAtl self-assigned this Dec 7, 2023
@krazziekay krazziekay self-requested a review December 7, 2023 04:12
gxueatlassian
gxueatlassian previously approved these changes Dec 7, 2023
Copy link
Collaborator

Choose a reason for hiding this comment

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

The logic for restSyncPost and this endpoint is the same. Would be better to pull this common logic out into another method and reuse it in both places.
As for the analytics, can add an extra attribute spa: true | false.

@kamaksheeAtl kamaksheeAtl marked this pull request as ready for review December 7, 2023 04:58
@kamaksheeAtl kamaksheeAtl merged commit 913b45d into main Dec 7, 2023
5 checks passed
@kamaksheeAtl kamaksheeAtl deleted the ARC-2714-Kamakshee branch December 7, 2023 05:49
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