Skip to content

feat: import rules from LD flags - #3233

Merged
matthewelwell merged 22 commits into
Flagsmith:mainfrom
Dogacel:import-ld-rules
Feb 9, 2024
Merged

feat: import rules from LD flags#3233
matthewelwell merged 22 commits into
Flagsmith:mainfrom
Dogacel:import-ld-rules

Conversation

@Dogacel

@DogacelDogacel commented Jan 3, 2024

Copy link
Copy Markdown
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

  • Support importing segments from launch darkly
  • Support importing targeting rules for segments from launch darkly
  • Support importing targeting rules for feature flags from launch darkly

How did you test this code?

There are mock responses from launch darkly for importing segments and flag rules.

@vercel

vercelBot commented Jan 3, 2024

Copy link
Copy Markdown

@Dogacel is attempting to deploy a commit to the Flagsmith Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercelBot commented Jan 3, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

NameStatusPreviewCommentsUpdated (UTC)
docs✅ Ready (Inspect)Visit Preview💬 Add feedbackFeb 5, 2024 4:54pm

@codecov-commenter

codecov-commenter commented Jan 3, 2024

Copy link
Copy Markdown

Codecov Report

Attention: 24 lines in your changes are missing coverage. Please review.

Comparison is base (0ef4764) 95.95% compared to head (4b29514) 95.91%.
Report is 53 commits behind head on main.

FilesPatch %Lines
api/integrations/launch_darkly/services.py92.54%12 Missing ⚠️
api/integrations/launch_darkly/client.py50.00%9 Missing ⚠️
api/integrations/launch_darkly/models.py25.00%3 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@## main #3233 +/- ##
==========================================
- Coverage 95.95% 95.91% -0.05% 
==========================================
Files 1067 1077 +10 Lines 32704 33271 +567 ==========================================
+ Hits 31381 31911 +530 - Misses 1323 1360 +37 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions

github-actionsBot commented Jan 3, 2024

Copy link
Copy Markdown
Contributor

Uffizzi Preview deployment-45529 was deleted.

@dabeeeensterdabeeeenster changed the title try importing rules from LD flagsfeat: try importing rules from LD flagsJan 3, 2024
Comment threadapi/integrations/launch_darkly/services.py Outdated
Comment threadapi/integrations/launch_darkly/services.py Outdated
Comment threadapi/integrations/launch_darkly/services.py Outdated
Comment threadapi/integrations/launch_darkly/services.py Outdated
Comment threadapi/integrations/launch_darkly/client.py Outdated
Comment threadapi/integrations/launch_darkly/services.py Outdated
Comment threadapi/integrations/launch_darkly/services.py
Comment threadapi/integrations/launch_darkly/services.py Outdated
Comment threadapi/integrations/launch_darkly/services.py Outdated
Comment threadapi/ld-openapi-filter.yaml
Comment threadapi/integrations/launch_darkly/services.py
Comment threadapi/integrations/launch_darkly/services.py
@Dogacel
Dogacel marked this pull request as ready for review January 16, 2024 20:40
@github-actionsgithub-actionsBot added the front-end Issue related to the React Front End Dashboard label Jan 22, 2024
@github-actionsgithub-actionsBot removed the front-end Issue related to the React Front End Dashboard label Jan 22, 2024
Comment threadapi/integrations/launch_darkly/client.py Outdated
Comment threadapi/integrations/launch_darkly/client.py
Comment threadapi/integrations/launch_darkly/models.py
Comment threadapi/integrations/launch_darkly/models.py Outdated
Comment threadapi/integrations/launch_darkly/services.py Outdated
Comment threadapi/integrations/launch_darkly/services.py
Comment threadapi/integrations/launch_darkly/services.py Outdated
Comment threadapi/integrations/launch_darkly/services.py
Comment threadapi/integrations/launch_darkly/services.py
@Dogacel

Copy link
Copy Markdown
ContributorAuthor

I am hoping the failing E2E will be handled by #3399

@matthewelwell

Copy link
Copy Markdown
Contributor

Thanks again for this @Dogacel !

@matthewelwell
matthewelwell added this pull request to the merge queue Feb 9, 2024
Merged via the queue into Flagsmith:main with commit 42634ecFeb 9, 2024
@matthewelwellmatthewelwell changed the title feat: try importing rules from LD flagsfeat: import rules from LD flagsFeb 20, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apiIssue related to the REST API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Dogacel@codecov-commenter@matthewelwell@dabeeeenster@khvn26