|
| 1 | +/* |
| 2 | + * Licensed to the Apache Software Foundation (ASF) under one or more |
| 3 | + * contributor license agreements. See the NOTICE file distributed with |
| 4 | + * this work for additional information regarding copyright ownership. |
| 5 | + * The ASF licenses this file to You under the Apache License, Version 2.0 |
| 6 | + * (the "License"); you may not use this file except in compliance with |
| 7 | + * the License. You may obtain a copy of the License at |
| 8 | + * |
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + * |
| 11 | + * Unless required by applicable law or agreed to in writing, software |
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + * See the License for the specific language governing permissions and |
| 15 | + * limitations under the License. |
| 16 | + * |
| 17 | + */ |
| 18 | + |
| 19 | +const URLS = { |
| 20 | + TUTORIAL: 'https://devlake.apache.org/docs/v1.0/Configuration/Tutorial', |
| 21 | + ADVANCED_MODE: { |
| 22 | + EXAMPLES: 'https://devlake.apache.org/docs/v1.0/Configuration/AdvancedMode/#examples', |
| 23 | + }, |
| 24 | + DORA: 'https://devlake.apache.org/docs/v1.0/DORA/', |
| 25 | + PLUGIN: { |
| 26 | + AZUREDEVOPS: { |
| 27 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/AzureDevOps', |
| 28 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/AzureDevOps/#custom-rate-limit-optional', |
| 29 | + AUTH_TOKEN: 'https://devlake.apache.org/docs/v1.0/Configuration/AzureDevOps#auth-tokens', |
| 30 | + TRANSFORMATION: |
| 31 | + 'https://devlake.apache.org/docs/v1.0/Configuration/AzureDevOps#step-3---adding-transformation-rules-optional', |
| 32 | + }, |
| 33 | + AZUREDEVOPS_GO: { |
| 34 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/AzureDevOps', |
| 35 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/AzureDevOps/#custom-rate-limit-optional', |
| 36 | + AUTH_TOKEN: 'https://devlake.apache.org/docs/v1.0/Configuration/AzureDevOps#auth-tokens', |
| 37 | + TRANSFORMATION: |
| 38 | + 'https://devlake.apache.org/docs/v1.0/Configuration/AzureDevOps#step-3---adding-transformation-rules-optional', |
| 39 | + }, |
| 40 | + BAMBOO: { |
| 41 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/Bamboo', |
| 42 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/Bamboo/#custom-rate-limit-optional', |
| 43 | + TRANSFORMATION: |
| 44 | + 'https://devlake.apache.org/docs/v1.0/Configuration/Bamboo#step-3---adding-transformation-rules-optional', |
| 45 | + }, |
| 46 | + BITBUCKET: { |
| 47 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/BitBucket', |
| 48 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/BitBucket#fixed-rate-limit-optional', |
| 49 | + TRANSFORMATION: |
| 50 | + 'https://devlake.apache.org/docs/v1.0/Configuration/BitBucket#step-3---adding-transformation-rules-optional', |
| 51 | + }, |
| 52 | + BITBUCKET_SERVER: { |
| 53 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/BitBucket-Server', |
| 54 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/BitBucket-Server#fixed-rate-limit-optional', |
| 55 | + TRANSFORMATION: |
| 56 | + 'https://devlake.apache.org/docs/v1.0/Configuration/BitBucket-Server#step-3---adding-transformation-rules-optional', |
| 57 | + }, |
| 58 | + CIRCLECI: { |
| 59 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/CircleCI#fixed-rate-limit-optional', |
| 60 | + TRANSFORMATION: |
| 61 | + 'https://devlake.apache.org/docs/v1.0/Configuration/CircleCI#step-13---adding-scope-config-optional', |
| 62 | + }, |
| 63 | + GITHUB: { |
| 64 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/GitHub', |
| 65 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/GitHub#fixed-rate-limit-optional', |
| 66 | + AUTH_TOKEN: 'https://devlake.apache.org/docs/v1.0/Configuration/GitHub#auth-tokens', |
| 67 | + TRANSFORMATION: |
| 68 | + 'https://devlake.apache.org/docs/v1.0/Configuration/GitHub#step-3---adding-transformation-rules-optional', |
| 69 | + }, |
| 70 | + GITLAB: { |
| 71 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/GitLab', |
| 72 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/GitLab#fixed-rate-limit-optional', |
| 73 | + AUTH_TOKEN: 'https://devlake.apache.org/docs/v1.0/Configuration/GitLab#auth-tokens', |
| 74 | + TRANSFORMATION: |
| 75 | + 'https://devlake.apache.org/docs/v1.0/Configuration/GitLab#step-3---adding-transformation-rules-optional', |
| 76 | + }, |
| 77 | + JENKINS: { |
| 78 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/Jenkins', |
| 79 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/Jenkins#fixed-rate-limit-optional', |
| 80 | + TRANSFORMATION: |
| 81 | + 'https://devlake.apache.org/docs/v1.0/Configuration/Jenkins#step-3---adding-transformation-rules-optional', |
| 82 | + }, |
| 83 | + JIRA: { |
| 84 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/Jira', |
| 85 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/Jira#fixed-rate-limit-optional', |
| 86 | + API_TOKEN: 'https://devlake.apache.org/docs/v1.0/Configuration/Jira#api-token', |
| 87 | + PERSONAL_ACCESS_TOKEN: 'https://devlake.apache.org/docs/v1.0/Configuration/Jira#personal-access-token', |
| 88 | + TRANSFORMATION: |
| 89 | + 'https://devlake.apache.org/docs/v1.0/Configuration/Jira#step-3---adding-transformation-rules-optional', |
| 90 | + }, |
| 91 | + OPSGENIE: { |
| 92 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/Opsgenie', |
| 93 | + AUTH_TOKEN: 'https://devlake.apache.org/docs/v1.0/Configuration/Opsgenie#step-11---authentication', |
| 94 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/Opsgenie#fixed-rate-limit-optional', |
| 95 | + }, |
| 96 | + PAGERDUTY: { |
| 97 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/PagerDuty', |
| 98 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/PagerDuty/#custom-rate-limit-optional', |
| 99 | + }, |
| 100 | + SONARQUBE: { |
| 101 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/SonarQube', |
| 102 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/SonarQube/#custom-rate-limit-optional', |
| 103 | + }, |
| 104 | + TAPD: { |
| 105 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/Tapd', |
| 106 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/Tapd#fixed-rate-limit-optional', |
| 107 | + USERNAMEPASSWORD: 'https://devlake.apache.org/docs/v1.0/Configuration/Tapd/#usernamepassword', |
| 108 | + TRANSFORMATION: |
| 109 | + 'https://devlake.apache.org/docs/v1.0/Configuration/Tapd#step-3---adding-transformation-rules-optional', |
| 110 | + }, |
| 111 | + TEAMBITION: { |
| 112 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/Teambition', |
| 113 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/Teambition#ralte-limit-optional', |
| 114 | + }, |
| 115 | + WEBHOOK: { |
| 116 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/webhook', |
| 117 | + }, |
| 118 | + ZENTAO: { |
| 119 | + BASIS: 'https://devlake.apache.org/docs/v1.0/Configuration/Teambition', |
| 120 | + RATE_LIMIT: 'https://devlake.apache.org/docs/v1.0/Configuration/Teambition#ralte-limit-optional', |
| 121 | + }, |
| 122 | + REFDIFF: 'https://devlake.apache.org/docs/v1.0/Plugins/refdiff', |
| 123 | + }, |
| 124 | + METRICS: { |
| 125 | + BUG_AGE: 'https://devlake.apache.org/docs/v1.0/Metrics/BugAge', |
| 126 | + MTTR: 'https://devlake.apache.org/docs/v1.0/Metrics/MTTR', |
| 127 | + BUG_COUNT_PER_1K_LINES_OF_CODE: 'https://devlake.apache.org/docs/v1.0/Metrics/BugCountPer1kLinesOfCode', |
| 128 | + REQUIREMENT_LEAD_TIME: 'https://devlake.apache.org/docs/v1.0/Metrics/RequirementLeadTime', |
| 129 | + }, |
| 130 | + DATA_MODELS: { |
| 131 | + DEVLAKE_DOMAIN_LAYER_SCHEMA: { |
| 132 | + PULL_REQUEST: 'https://devlake.apache.org/docs/v1.0/DataModels/DevLakeDomainLayerSchema/#pull-request', |
| 133 | + }, |
| 134 | + }, |
| 135 | +}; |
| 136 | + |
| 137 | +export default URLS; |
0 commit comments