You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/10/13 02:13:12 UTC

[GitHub] [incubator-devlake] e2corporation opened a new issue, #3411: [Refactor][Config-UI] Add providerId to Entity Type Data Models

e2corporation opened a new issue, #3411:
URL: https://github.com/apache/incubator-devlake/issues/3411

   ## Config-UI / Entity `Data Models`
   
   The "Entity" Type Data Models should have a hard-coded `providerId` property added/defined which will provide easier access to the Data Provider ID without having to always depend on a lookup to `$activeProvider`
   
   Add `providerId` to the following Data Models (`models/`):
   
   - GitHubProject
   - GitlabProject
   - JiraBoard
   - JenkinsJob


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] e2corporation commented on issue #3411: [Refactor][Config-UI] Add providerId to Entity Type Data Models

Posted by GitBox <gi...@apache.org>.
e2corporation commented on issue #3411:
URL: https://github.com/apache/incubator-devlake/issues/3411#issuecomment-1280104131

   Also create a `Variants` Global Data Constant or another Model to provide access to the available Entity Variants.
   
   ```
   # @/data/Variants.js
   
   const Variants  = {
     PROJECT: 'project',
     BOARD: 'board',
     JOB: 'job'
   }
   
   export { Variants }
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] likyh closed issue #3411: [Refactor][Config-UI] Add providerId to Entity Type Data Models

Posted by GitBox <gi...@apache.org>.
likyh closed issue #3411: [Refactor][Config-UI] Add providerId to Entity Type Data Models
URL: https://github.com/apache/incubator-devlake/issues/3411


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org