Skip to content

added new service 'loginpoints'#286

Open
hauptmab wants to merge 4 commits intodevelopfrom
278_Nicht-alle-geladenen-Jira-Projekte-in-der-Login-Maske-anzeigen
Open

added new service 'loginpoints'#286
hauptmab wants to merge 4 commits intodevelopfrom
278_Nicht-alle-geladenen-Jira-Projekte-in-der-Login-Maske-anzeigen

Conversation

@hauptmab
Copy link
Contributor

@hauptmab hauptmab commented Mar 3, 2021

This pull request provides the backend logic to reduce the selection of projects a user can login to. This is done by identifying projects with identical 'login background'.

For example, several projects my be loaded from the same ALM server. Logging in to one project will always lead to be logged in to all projects (multi-project login realized via connectors). Instead of focussing on projects to login, we introduce the concept of LoginPoints to login in to.

LoginPoints are generated by asking every existing connector for an unique LoginPoint string (e.g., <ALM-Type>-<ALM-Server URL>). Connectors can decide themselves what information to embedd to the LoginPoint string in order to be comparable. In case multiple connectors generate the same LoginPoint string, they can be considered as one LoginPoint group. For each LoginPoint group, it is enough to login to just one project of that group in order to be logged in to each project.

We introduced a new REST endpoint called loginpoints.
This will return pairs of

  • login point names
  • a (random) representative project for this login point to perform the acutal login.

Example: http://<specmate-server>/services/rest/loginpoints

{
   "Project test-data" : "test-data",
   "Jira Server https://qualicen.atlassian.net/" : "jira-cloud_SPEM",
   "Jira Server http://127.0.0.1:2990/jira" : "jiraLocalhost1_MSP"
}

@hauptmab hauptmab requested a review from sebeder March 3, 2021 12:57
@sebeder
Copy link
Contributor

sebeder commented Mar 3, 2021

I think it would be cool to specify the default project in the config - or at least the project should always be the same, not random at login. Is that possible?

@fischJan fischJan added this to the Jira Projektstruktur milestone Mar 23, 2021
@sebeder sebeder requested review from junkerm and removed request for sebeder March 24, 2021 07:03
@sebeder
Copy link
Contributor

sebeder commented Mar 24, 2021

Hi @junkerm , I assigned the review to you since @hauptmab and I contributed code and you had conceptual input to that one.

@fischJan fischJan linked an issue Mar 30, 2021 that may be closed by this pull request
@sebeder sebeder self-assigned this Jul 6, 2021
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.

Nicht alle geladenen Jira Projekte in der Login Maske anzeigen

3 participants