@pagerduty/backstage-plugin 0.12.0-next.10 → 0.12.0-next.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- export { E as EntityPagerDutyCard, H as HomePagePagerDutyCard, d as PagerDutyCard, b as PagerDutyClient, a as PagerDutyPage, T as TriggerButton, U as UnauthorizedError, i as isPagerDutyAvailable, i as isPluginApplicableToEntity, c as pagerDutyApiRef, p as pagerDutyPlugin, p as plugin } from './esm/index-16ba060f.esm.js';
1
+ export { E as EntityPagerDutyCard, H as HomePagePagerDutyCard, d as PagerDutyCard, b as PagerDutyClient, a as PagerDutyPage, T as TriggerButton, U as UnauthorizedError, i as isPagerDutyAvailable, i as isPluginApplicableToEntity, c as pagerDutyApiRef, p as pagerDutyPlugin, p as plugin } from './esm/index-b0b494e4.esm.js';
2
2
  import '@backstage/core-plugin-api';
3
3
  import '@backstage/errors';
4
4
  import '@backstage/plugin-home-react';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pagerduty/backstage-plugin",
3
3
  "description": "A Backstage plugin that integrates towards PagerDuty",
4
- "version": "0.12.0-next.10",
4
+ "version": "0.12.0-next.3",
5
5
  "main": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -33,7 +33,6 @@
33
33
  "clean": "backstage-cli package clean"
34
34
  },
35
35
  "dependencies": {
36
- "@backstage/catalog-client": "^1.6.3",
37
36
  "@backstage/catalog-model": "^1.4.3",
38
37
  "@backstage/core-components": "^0.13.8",
39
38
  "@backstage/core-plugin-api": "^1.8.0",
@@ -1,232 +0,0 @@
1
- import React from 'react';
2
- import { Tooltip, FormControl, InputLabel, Select, MenuItem, Grid } from '@material-ui/core';
3
- import { Progress, ResponseErrorPanel, Table, Page, Header, Content } from '@backstage/core-components';
4
- import { makeStyles } from '@material-ui/core/styles';
5
- import useAsync from 'react-use/lib/useAsync';
6
- import { useApi } from '@backstage/core-plugin-api';
7
- import { catalogApiRef } from '@backstage/plugin-catalog-react';
8
-
9
- const exampleServices = {
10
- results: [
11
- {
12
- name: "Ads",
13
- team: "Intelligence Team",
14
- escalation_policy: "Intelligence",
15
- oncall: [
16
- {
17
- name: "Carolyn Moore",
18
- email: "carolyn.moore@example.com",
19
- picture: "https://api.dicebear.com/6.x/open-peeps/svg?seed=Carolyn"
20
- }
21
- ],
22
- mapping: "Ads"
23
- },
24
- {
25
- name: "Cache",
26
- team: "Web Team",
27
- escalation_policy: "Web",
28
- oncall: [
29
- {
30
- name: "Esma Berbero\u011Flu",
31
- email: "esma.berberoglu@example.com",
32
- picture: "https://api.dicebear.com/6.x/open-peeps/svg?seed=Esma"
33
- }
34
- ]
35
- },
36
- {
37
- name: "Catalog",
38
- team: "Web Team",
39
- escalation_policy: "Web",
40
- oncall: [
41
- {
42
- name: "Isabella Rhodes",
43
- email: "isabella.rhodes@example.com",
44
- picture: "https://api.dicebear.com/6.x/open-peeps/svg?seed=Isabella"
45
- }
46
- ]
47
- },
48
- {
49
- name: "Checkout",
50
- team: "Billing Team",
51
- escalation_policy: "Billing",
52
- oncall: [
53
- {
54
- name: "Derrick Carter",
55
- email: "derrick.carter@example.com",
56
- picture: "https://api.dicebear.com/6.x/open-peeps/svg?seed=Derrick"
57
- }
58
- ]
59
- },
60
- {
61
- name: "Currency",
62
- team: "Billing Team",
63
- escalation_policy: "Billing",
64
- oncall: [
65
- {
66
- name: "Mattie Lambert",
67
- email: "mattie.lambert@example.com",
68
- picture: "https://api.dicebear.com/6.x/open-peeps/svg?seed=Mattie"
69
- }
70
- ]
71
- },
72
- {
73
- name: "Notifications",
74
- team: "Communications Team",
75
- escalation_policy: "Communications",
76
- oncall: [
77
- {
78
- name: "Mijat Raki\u0107",
79
- email: "mijat.rakic@example.com",
80
- picture: "https://api.dicebear.com/6.x/open-peeps/svg?seed=Mijat"
81
- }
82
- ]
83
- },
84
- {
85
- name: "Payments",
86
- team: "Billing Team",
87
- escalation_policy: "Billing",
88
- oncall: [
89
- {
90
- name: "Javier Reid",
91
- email: "javier.reid@example.com",
92
- picture: "https://api.dicebear.com/6.x/open-peeps/svg?seed=Javier"
93
- }
94
- ]
95
- },
96
- {
97
- name: "Recommendations",
98
- team: "Intelligence Team",
99
- escalation_policy: "Intelligence",
100
- oncall: [
101
- {
102
- name: "Isabella Li",
103
- email: "isabella.li@example.com",
104
- picture: "https://api.dicebear.com/6.x/open-peeps/svg?seed=Isabella"
105
- }
106
- ]
107
- },
108
- {
109
- name: "Shipping",
110
- team: "Shipping Team",
111
- escalation_policy: "Shipping",
112
- oncall: [
113
- {
114
- name: "Stephanie Garrett",
115
- email: "stephanie.garrett@example.com",
116
- picture: "https://api.dicebear.com/6.x/open-peeps/svg?seed=Stephanie"
117
- }
118
- ]
119
- },
120
- {
121
- name: "Shopping Cart",
122
- team: "Billing Team",
123
- escalation_policy: "Billing",
124
- oncall: [
125
- {
126
- name: "Antonia N\xFA\xF1ez",
127
- email: "antonia.nunez@example.com",
128
- picture: "https://api.dicebear.com/6.x/open-peeps/svg?seed=Antonia"
129
- }
130
- ]
131
- },
132
- {
133
- name: "Web Frontend",
134
- team: "Web Team",
135
- escalation_policy: "Web",
136
- oncall: [
137
- {
138
- name: "Donald Young",
139
- email: "donald.young@example.com",
140
- picture: "https://api.dicebear.com/6.x/open-peeps/svg?seed=Donald"
141
- }
142
- ]
143
- }
144
- ]
145
- };
146
- const useStyles = makeStyles({
147
- avatar: {
148
- height: 32,
149
- width: 32,
150
- borderRadius: "50%"
151
- }
152
- });
153
- const DenseTable = ({ services }) => {
154
- const classes = useStyles();
155
- const columns = [
156
- { title: "Name", field: "name" },
157
- { title: "Team", field: "team" },
158
- { title: "Escalation Policy", field: "escalation_policy" },
159
- { title: "On call", field: "oncall" },
160
- { title: "Mapping", field: "mapping" }
161
- ];
162
- const data = services.map((service) => {
163
- return {
164
- name: service.name,
165
- team: service.team,
166
- oncall: /* @__PURE__ */ React.createElement(Tooltip, { title: service.oncall[0].name }, /* @__PURE__ */ React.createElement(
167
- "img",
168
- {
169
- src: service.oncall[0].picture,
170
- className: classes.avatar,
171
- alt: service.oncall[0].name
172
- }
173
- )),
174
- escalation_policy: service.escalation_policy,
175
- mapping: (
176
- // dropdown menu with static options. If service.mapping is defined select that option
177
- /* @__PURE__ */ React.createElement(FormControl, null, /* @__PURE__ */ React.createElement(InputLabel, { id: "demo-simple-select-helper-label" }, "Service"), /* @__PURE__ */ React.createElement(
178
- Select,
179
- {
180
- labelId: "demo-simple-select-helper-label",
181
- id: "demo-simple-select-helper",
182
- value: service.mapping
183
- },
184
- /* @__PURE__ */ React.createElement(MenuItem, { value: "" }, /* @__PURE__ */ React.createElement("em", null, "None")),
185
- /* @__PURE__ */ React.createElement(MenuItem, { value: "Ads" }, "Ads"),
186
- /* @__PURE__ */ React.createElement(MenuItem, { value: "Cache" }, "Cache"),
187
- /* @__PURE__ */ React.createElement(MenuItem, { value: "Catalog" }, "Catalog"),
188
- /* @__PURE__ */ React.createElement(MenuItem, { value: "Checkout" }, "Checkout")
189
- ))
190
- )
191
- };
192
- });
193
- return /* @__PURE__ */ React.createElement(
194
- Table,
195
- {
196
- title: "Service Mapping",
197
- options: {
198
- search: true,
199
- paging: true,
200
- pageSize: 10,
201
- pageSizeOptions: [10, 25, 50],
202
- sorting: true,
203
- emptyRowsWhenPaging: false,
204
- showFirstLastPageButtons: true
205
- },
206
- columns,
207
- data
208
- }
209
- );
210
- };
211
- const ServiceMappingComponent = () => {
212
- const catalogApi = useApi(catalogApiRef);
213
- let entities;
214
- const { value, loading, error } = useAsync(async () => {
215
- entities = await catalogApi.getEntities();
216
- return exampleServices.results;
217
- }, []);
218
- if (loading) {
219
- return /* @__PURE__ */ React.createElement(Progress, null);
220
- } else if (error) {
221
- return /* @__PURE__ */ React.createElement(ResponseErrorPanel, { error });
222
- }
223
- value == null ? void 0 : value.forEach((service, i) => {
224
- service.name = entities.items[i].metadata.name;
225
- });
226
- return /* @__PURE__ */ React.createElement(DenseTable, { services: value || [] });
227
- };
228
-
229
- const AdvancedConfiguration = () => /* @__PURE__ */ React.createElement(Page, { themeId: "tool" }, /* @__PURE__ */ React.createElement(Header, { title: "PagerDuty", subtitle: "Advanced configurations" }), /* @__PURE__ */ React.createElement(Content, null, /* @__PURE__ */ React.createElement(Grid, { container: true, spacing: 3, direction: "column" }, /* @__PURE__ */ React.createElement(Grid, { item: true }, /* @__PURE__ */ React.createElement(ServiceMappingComponent, null)))));
230
-
231
- export { AdvancedConfiguration };
232
- //# sourceMappingURL=index-6d0594e9.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-6d0594e9.esm.js","sources":["../../src/components/PagerDutyPage/ServiceMapping.tsx","../../src/components/PagerDutyPage/AdvancedConfiguration.tsx"],"sourcesContent":["import React from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport {\n Table,\n TableColumn,\n Progress,\n ResponseErrorPanel,\n} from \"@backstage/core-components\";\nimport useAsync from \"react-use/lib/useAsync\";\nimport { FormControl, InputLabel, MenuItem, Select, Tooltip } from \"@material-ui/core\";\nimport { useApi } from \"@backstage/core-plugin-api\";\nimport { catalogApiRef } from \"@backstage/plugin-catalog-react\";\nimport { GetEntitiesResponse } from \"@backstage/catalog-client\";\n\nexport const exampleServices = {\n results: [\n {\n name: \"Ads\",\n team: \"Intelligence Team\",\n escalation_policy: \"Intelligence\",\n oncall: [\n {\n name: \"Carolyn Moore\",\n email: \"carolyn.moore@example.com\",\n picture: \"https://api.dicebear.com/6.x/open-peeps/svg?seed=Carolyn\",\n },\n ],\n mapping: \"Ads\",\n },\n {\n name: \"Cache\",\n team: \"Web Team\",\n escalation_policy: \"Web\",\n oncall: [\n {\n name: \"Esma Berberoğlu\",\n email: \"esma.berberoglu@example.com\",\n picture: \"https://api.dicebear.com/6.x/open-peeps/svg?seed=Esma\",\n },\n ],\n },\n {\n name: \"Catalog\",\n team: \"Web Team\",\n escalation_policy: \"Web\",\n oncall: [\n {\n name: \"Isabella Rhodes\",\n email: \"isabella.rhodes@example.com\",\n picture: \"https://api.dicebear.com/6.x/open-peeps/svg?seed=Isabella\",\n },\n ],\n },\n {\n name: \"Checkout\",\n team: \"Billing Team\",\n escalation_policy: \"Billing\",\n oncall: [\n {\n name: \"Derrick Carter\",\n email: \"derrick.carter@example.com\",\n picture: \"https://api.dicebear.com/6.x/open-peeps/svg?seed=Derrick\",\n },\n ],\n },\n {\n name: \"Currency\",\n team: \"Billing Team\",\n escalation_policy: \"Billing\",\n oncall: [\n {\n name: \"Mattie Lambert\",\n email: \"mattie.lambert@example.com\",\n picture: \"https://api.dicebear.com/6.x/open-peeps/svg?seed=Mattie\",\n },\n ],\n },\n {\n name: \"Notifications\",\n team: \"Communications Team\",\n escalation_policy: \"Communications\",\n oncall: [\n {\n name: \"Mijat Rakić\",\n email: \"mijat.rakic@example.com\",\n picture: \"https://api.dicebear.com/6.x/open-peeps/svg?seed=Mijat\",\n },\n ],\n },\n {\n name: \"Payments\",\n team: \"Billing Team\",\n escalation_policy: \"Billing\",\n oncall: [\n {\n name: \"Javier Reid\",\n email: \"javier.reid@example.com\",\n picture: \"https://api.dicebear.com/6.x/open-peeps/svg?seed=Javier\",\n },\n ],\n },\n {\n name: \"Recommendations\",\n team: \"Intelligence Team\",\n escalation_policy: \"Intelligence\",\n oncall: [\n {\n name: \"Isabella Li\",\n email: \"isabella.li@example.com\",\n picture: \"https://api.dicebear.com/6.x/open-peeps/svg?seed=Isabella\",\n },\n ],\n },\n {\n name: \"Shipping\",\n team: \"Shipping Team\",\n escalation_policy: \"Shipping\",\n oncall: [\n {\n name: \"Stephanie Garrett\",\n email: \"stephanie.garrett@example.com\",\n picture: \"https://api.dicebear.com/6.x/open-peeps/svg?seed=Stephanie\",\n },\n ],\n },\n {\n name: \"Shopping Cart\",\n team: \"Billing Team\",\n escalation_policy: \"Billing\",\n oncall: [\n {\n name: \"Antonia Núñez\",\n email: \"antonia.nunez@example.com\",\n picture: \"https://api.dicebear.com/6.x/open-peeps/svg?seed=Antonia\",\n },\n ],\n },\n {\n name: \"Web Frontend\",\n team: \"Web Team\",\n escalation_policy: \"Web\",\n oncall: [\n {\n name: \"Donald Young\",\n email: \"donald.young@example.com\",\n picture: \"https://api.dicebear.com/6.x/open-peeps/svg?seed=Donald\",\n },\n ],\n },\n ],\n};\n\nconst useStyles = makeStyles({\n avatar: {\n height: 32,\n width: 32,\n borderRadius: \"50%\",\n },\n});\n\ntype Service = {\n name: string; // \"Ads\"\n team: string; // Team A\n escalation_policy: string; // \"Escalation Policy A\"\n oncall: User[]; // \"John Doe\"\n mapping?: string; // \"Ads\"\n};\n\ntype User = {\n name: string; // \"John Doe\"\n email: string; // \"john.doe@email.com\"\n picture: string; // \"https://api.dicebear.com/6.x/open-peeps/svg?seed=John\"\n};\n\ntype DenseTableProps = {\n services: Service[];\n};\n\nexport const DenseTable = ({ services }: DenseTableProps) => {\n const classes = useStyles();\n\n const columns: TableColumn[] = [\n { title: \"Name\", field: \"name\" },\n { title: \"Team\", field: \"team\" },\n { title: \"Escalation Policy\", field: \"escalation_policy\" },\n { title: \"On call\", field: \"oncall\" },\n { title: \"Mapping\", field: \"mapping\" },\n ];\n\n const data = services.map((service) => {\n return {\n name: service.name,\n team: service.team,\n oncall: (\n <Tooltip title={service.oncall[0].name}>\n <img\n src={service.oncall[0].picture}\n className={classes.avatar}\n alt={service.oncall[0].name}\n />\n </Tooltip>\n ),\n escalation_policy: service.escalation_policy,\n mapping: (\n // dropdown menu with static options. If service.mapping is defined select that option\n <FormControl>\n <InputLabel id=\"demo-simple-select-helper-label\">Service</InputLabel>\n <Select\n labelId=\"demo-simple-select-helper-label\"\n id=\"demo-simple-select-helper\"\n value={service.mapping}\n // onChange={handleChange}\n >\n <MenuItem value=\"\">\n <em>None</em>\n </MenuItem>\n <MenuItem value=\"Ads\">Ads</MenuItem>\n <MenuItem value=\"Cache\">Cache</MenuItem>\n <MenuItem value=\"Catalog\">Catalog</MenuItem>\n <MenuItem value=\"Checkout\">Checkout</MenuItem>\n </Select>\n </FormControl>\n // <select title=\"Mapping\" value={service.mapping}>\n // <option aria-label=\"None\" value=\"\" />\n // <option value=\"Ads\">Ads</option>\n // <option value=\"Cache\">Cache</option>\n // <option value=\"Catalog\">Catalog</option>\n // <option value=\"Checkout\">Checkout</option>\n // </select>\n ),\n };\n });\n\n return (\n <Table\n title=\"Service Mapping\"\n options={{\n search: true,\n paging: true,\n pageSize: 10,\n pageSizeOptions: [10, 25, 50],\n sorting: true,\n emptyRowsWhenPaging: false,\n showFirstLastPageButtons: true,\n }}\n columns={columns}\n data={data}\n />\n );\n};\n\nexport const ServiceMappingComponent = () => {\n const catalogApi = useApi(catalogApiRef);\n let entities : GetEntitiesResponse;\n const { value, loading, error } = useAsync(async (): Promise<Service[]> => {\n entities = await catalogApi.getEntities();\n\n // Would use fetch in a real world example\n return exampleServices.results;\n }, []);\n\n if (loading) {\n return <Progress />;\n } else if (error) {\n return <ResponseErrorPanel error={error} />;\n }\n\n value?.forEach((service, i) => {\n service.name = entities.items[i].metadata.name;\n });\n return <DenseTable services={value || []} />;\n};\n","import React from \"react\";\nimport { Grid } from \"@material-ui/core\";\nimport {\n Header,\n Page,\n Content,\n} from \"@backstage/core-components\";\nimport { ServiceMappingComponent } from \"./ServiceMapping\";\n\nexport const AdvancedConfiguration = () => (\n <Page themeId=\"tool\">\n <Header title=\"PagerDuty\" subtitle=\"Advanced configurations\" />\n <Content>\n <Grid container spacing={3} direction=\"column\">\n <Grid item>\n <ServiceMappingComponent />\n </Grid>\n </Grid>\n </Content>\n </Page>\n);\n"],"names":[],"mappings":";;;;;;;;AAcO,MAAM,eAAkB,GAAA;AAAA,EAC7B,OAAS,EAAA;AAAA,IACP;AAAA,MACE,IAAM,EAAA,KAAA;AAAA,MACN,IAAM,EAAA,mBAAA;AAAA,MACN,iBAAmB,EAAA,cAAA;AAAA,MACnB,MAAQ,EAAA;AAAA,QACN;AA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