feat: org plugin - #2461
Merged
Merged
Conversation
mindlesscloud
force-pushed
the
team-solution
branch
2 times, most recently
from
July 13, 2022 16:40
4a35643 to
061c030
Compare
klesh
reviewed
Jul 14, 2022
| "github.com/apache/incubator-devlake/plugins/helper" | ||
| ) | ||
|
|
||
| func MakePipelinePlan(subtaskMetas []core.SubTaskMeta, connectionId uint64, scope []*core.BlueprintScopeV100) (core.PipelinePlan, error) { |
Contributor
There was a problem hiding this comment.
I don't think this is needed. Only data-source plugins need to implement this for the new config-ui flow.
Contributor
Author
There was a problem hiding this comment.
OK, I will remove it
| // @Success 200 | ||
| // @Failure 400 {object} shared.ApiBody "Bad Request" | ||
| // @Failure 500 {object} shared.ApiBody "Internal Error" | ||
| // @Router /plugins/org/accounts.csv [put] |
Contributor
There was a problem hiding this comment.
/plugins/org/user_account_mapping.csv
| // @Success 200 | ||
| // @Failure 400 {object} shared.ApiBody "Bad Request" | ||
| // @Failure 500 {object} shared.ApiBody "Internal Error" | ||
| // @Router /plugins/org/accounts.csv [get] |
Contributor
There was a problem hiding this comment.
/plugins/org/user_account_mapping.csv
| if err != nil { | ||
| return err | ||
| } | ||
| err = db.Delete(&crossdomain.UserAccount{}, dal.Where("1=1")) |
Contributor
There was a problem hiding this comment.
We shouldn't delete the existing relationship, but try to connect orphaned accounts to possible matched users
mindlesscloud
force-pushed
the
team-solution
branch
from
July 14, 2022 13:25
b26a1e7 to
5ec4398
Compare
mindlesscloud
force-pushed
the
team-solution
branch
from
July 15, 2022 02:40
57074fd to
3597cb9
Compare
This was referenced Jun 23, 2026
Closed
This was referenced Jul 2, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A new plugin
orgwas created to fulfill the requirement of #2361Does this close any open issues?
relate #2361
Screenshots
Include any relevant screenshots here.
Other Information
Any other information that is important to this PR.