integrationListDirectory.js 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. export function ProviderList() {
  2. return {
  3. providers: [
  4. {
  5. canAdd: true,
  6. canDisable: false,
  7. features: ['commits', 'issue-basic'],
  8. key: 'bitbucket',
  9. metadata: {
  10. aspects: {},
  11. author: 'The Sentry Team',
  12. description:
  13. 'Connect your Sentry organization to Bitbucket, enabling the following features:',
  14. features: [],
  15. issue_url:
  16. 'https://github.com/getsentry/sentry/issues/new?template=bug.yml&title=Bitbucket%20Integration:%20&labels=Component%3A%20Integrations',
  17. noun: 'Installation',
  18. source_url:
  19. 'https://github.com/getsentry/sentry/tree/master/src/sentry/integrations/bitbucket',
  20. },
  21. name: 'Bitbucket',
  22. setupDialog: {
  23. height: 600,
  24. url: '/organizations/sentry/integrations/bitbucket/setup/',
  25. width: 600,
  26. },
  27. slug: 'bitbucket',
  28. },
  29. ],
  30. };
  31. }
  32. export function BitbucketIntegrationConfig() {
  33. return {
  34. accountType: null,
  35. configData: {},
  36. configOrganization: [],
  37. domainName: 'bitbucket.org/%7Bfb715533-bbd7-4666-aa57-01dc93dd9cc0%7D',
  38. icon: 'https://secure.gravatar.com/avatar/8b4cb68e40b74c90427d8262256bd1c8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FNN-0.png',
  39. id: '4',
  40. name: '{fb715533-bbd7-4666-aa57-01dc93dd9cc0}',
  41. provider: {
  42. aspects: {},
  43. canAdd: true,
  44. canDisable: false,
  45. features: ['commits', 'issue-basic'],
  46. key: 'bitbucket',
  47. name: 'Bitbucket',
  48. slug: 'bitbucket',
  49. },
  50. status: 'active',
  51. };
  52. }
  53. export function GithubIntegrationConfig() {
  54. return {
  55. accountType: null,
  56. configData: {},
  57. configOrganization: [],
  58. domainName: 'github.com',
  59. icon: 'https://secure.gravatar.com/avatar/8b4cb68e40b74c90427d8262256bd1c8',
  60. id: '5',
  61. name: 'NisanthanNanthakumar',
  62. provider: {
  63. aspects: {},
  64. canAdd: true,
  65. canDisable: false,
  66. features: ['commits', 'issue-basic'],
  67. key: 'github',
  68. name: 'Github',
  69. slug: 'github',
  70. },
  71. status: 'active',
  72. };
  73. }
  74. export function OrgOwnedApps() {
  75. return [
  76. {
  77. allowedOrigins: [],
  78. author: 'Sentry',
  79. clientId: 'a6d35972d4164ef18845b1e2ca954fe70ac196e0b20d4d1e8760a38772cf6f1c',
  80. clientSecret: '8f47dcef40f7486f9bacfeca257022e092a483add7cf4d619993b9ace9775a79',
  81. events: [],
  82. isAlertable: false,
  83. name: 'My Headband Washer',
  84. overview: null,
  85. owner: {id: 1, slug: 'sentry'},
  86. redirectUrl: null,
  87. schema: {},
  88. scopes: ['project:read', 'team:read', 'team:write'],
  89. slug: 'my-headband-washer-289499',
  90. status: 'internal',
  91. uuid: 'a806ab10-9608-4a4f-8dd9-ca6d6c09f9f5',
  92. verifyInstall: false,
  93. webhookUrl: 'https://myheadbandwasher.com',
  94. featureData: [],
  95. },
  96. {
  97. allowedOrigins: [],
  98. author: 'La Croix',
  99. clientId: '8cc36458a0f94c93816e06dce7d808f882cbef59af6040d2b9ec4d67092c80f1',
  100. clientSecret: '2b2aeb743c3745ab832e03bf02a7d91851908d379646499f900cd115780e8b2b',
  101. events: [],
  102. isAlertable: false,
  103. name: 'La Croix Monitor',
  104. overview: null,
  105. owner: {id: 1, slug: 'sentry'},
  106. redirectUrl: null,
  107. schema: {},
  108. scopes: ['project:read', 'project:write', 'team:read'],
  109. slug: 'la-croix-monitor',
  110. status: 'unpublished',
  111. uuid: 'a59c8fcc-2f27-49f8-af9e-02661fc3e8d7',
  112. verifyInstall: false,
  113. webhookUrl: 'https://lacroix.com',
  114. featureData: [
  115. {
  116. description:
  117. 'La Croix can **utilize the Sentry API** to pull data or update resources in Sentry (with permissions granted, of course).',
  118. featureGate: 'integrations-api',
  119. },
  120. ],
  121. },
  122. {
  123. allowedOrigins: [],
  124. author: 'Nisanthan',
  125. clientId: 'c215db1accc040919e0b0dce058e0ecf4ea062bb82174d70aee8eba62351be24',
  126. clientSecret: '193583e573d14d61832de96a9efc32ceb64e59a494284f58b50328a656420a55',
  127. events: [],
  128. isAlertable: false,
  129. name: 'ClickUp',
  130. overview: null,
  131. owner: {id: 1, slug: 'sentry'},
  132. redirectUrl: null,
  133. schema: {},
  134. scopes: [],
  135. slug: 'clickup',
  136. status: 'published',
  137. uuid: '5d547ecb-7eb8-4ed2-853b-40256177d526',
  138. verifyInstall: false,
  139. webhookUrl: 'http://localhost:7000',
  140. featureData: [
  141. {
  142. description:
  143. 'Clickup can **utilize the Sentry API** to pull data or update resources in Sentry (with permissions granted, of course).',
  144. featureGate: 'integrations-api',
  145. },
  146. ],
  147. },
  148. ];
  149. }
  150. export function PublishedApps() {
  151. return [
  152. {
  153. allowedOrigins: [],
  154. author: 'Nisanthan',
  155. clientId: 'c215db1accc040919e0b0dce058e0ecf4ea062bb82174d70aee8eba62351be24',
  156. clientSecret: '193583e573d14d61832de96a9efc32ceb64e59a494284f58b50328a656420a55',
  157. events: [],
  158. isAlertable: false,
  159. name: 'ClickUp',
  160. overview: null,
  161. owner: {id: 1, slug: 'sentry'},
  162. redirectUrl: null,
  163. schema: {},
  164. scopes: [],
  165. slug: 'clickup',
  166. status: 'published',
  167. popularity: 9,
  168. uuid: '5d547ecb-7eb8-4ed2-853b-40256177d526',
  169. verifyInstall: false,
  170. webhookUrl: 'http://localhost:7000',
  171. featureData: [
  172. {
  173. description:
  174. 'Clickup can **utilize the Sentry API** to pull data or update resources in Sentry (with permissions granted, of course).',
  175. featureGate: 'integrations-api',
  176. },
  177. ],
  178. },
  179. ];
  180. }
  181. export function SentryAppInstalls() {
  182. return [
  183. {
  184. app: {
  185. slug: 'my-headband-washer-289499',
  186. uuid: 'a806ab10-9608-4a4f-8dd9-ca6d6c09f9f5',
  187. },
  188. code: 'e5b855d51ad64fa0b6c180ed7e664c5d',
  189. organization: {slug: 'sentry'},
  190. status: 'installed',
  191. uuid: '5379e8e1-0554-468f-90ca-2e0c88f1ac32',
  192. },
  193. ];
  194. }
  195. export function PluginListConfig() {
  196. return [
  197. {
  198. assets: [],
  199. author: {name: 'Sentry Team', url: 'https://github.com/getsentry/sentry'},
  200. canDisable: true,
  201. contexts: [],
  202. description: 'Forward Sentry events to Amazon SQS.',
  203. doc: '',
  204. featureDescriptions: [
  205. {
  206. description: 'Forward Sentry errors and events to Amazon SQS.',
  207. featureGate: 'data-forwarding',
  208. },
  209. ],
  210. features: ['data-forwarding'],
  211. hasConfiguration: true,
  212. id: 'amazon-sqs',
  213. isHidden: false,
  214. isTestable: false,
  215. metadata: {},
  216. name: 'Amazon SQS',
  217. projectList: [],
  218. resourceLinks: [
  219. {
  220. title: 'Report Issue',
  221. url: 'https://github.com/getsentry/sentry/issues',
  222. },
  223. {
  224. title: 'View Source',
  225. url: 'https://github.com/getsentry/sentry/tree/master/src/sentry_plugins',
  226. },
  227. ],
  228. shortName: 'Amazon SQS',
  229. slug: 'amazon-sqs',
  230. status: 'beta',
  231. type: 'data-forwarding',
  232. version: '10.1.0.dev0',
  233. },
  234. {
  235. status: 'unknown',
  236. description: 'Send alerts to PagerDuty.',
  237. isTestable: true,
  238. isHidden: true,
  239. hasConfiguration: true,
  240. shortName: 'PagerDuty',
  241. id: 'pagerduty',
  242. assets: [],
  243. featureDescriptions: [
  244. {
  245. description:
  246. 'Configure rule based PagerDuty alerts to automatically be triggered in a specific\n service - or in multiple services!',
  247. featureGate: 'alert-rule',
  248. },
  249. ],
  250. features: ['alert-rule'],
  251. name: 'PagerDuty',
  252. author: {url: 'https://github.com/getsentry/sentry', name: 'Sentry Team'},
  253. contexts: [],
  254. doc: '',
  255. resourceLinks: [
  256. {
  257. url: 'https://github.com/getsentry/sentry/issues',
  258. title: 'Report Issue',
  259. },
  260. {
  261. url: 'https://github.com/getsentry/sentry/tree/master/src/sentry_plugins',
  262. title: 'View Source',
  263. },
  264. ],
  265. slug: 'pagerduty',
  266. projectList: [
  267. {
  268. projectId: 2,
  269. configured: true,
  270. enabled: true,
  271. projectSlug: 'javascript',
  272. projectPlatform: 'javascript',
  273. projectName: 'JavaScript',
  274. },
  275. ],
  276. version: '10.1.0.dev0',
  277. canDisable: true,
  278. type: 'notification',
  279. metadata: {},
  280. },
  281. ];
  282. }