@backstage-community/plugin-splunk-on-call 0.16.0 → 0.17.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @backstage-community/plugin-splunk-on-call
|
|
2
2
|
|
|
3
|
+
## 0.17.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c3dc262: Replaces global JSX with React.JSX
|
|
8
|
+
|
|
9
|
+
## 0.17.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- f8d80bc: Backstage version bump to v1.46.1
|
|
14
|
+
|
|
3
15
|
## 0.16.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SplunkOnCallPage.esm.js","sources":["../../src/components/SplunkOnCallPage.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Grid from '@material-ui/core/Grid';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { EntitySplunkOnCallCard } from './EntitySplunkOnCallCard';\nimport {\n Content,\n ContentHeader,\n Page,\n Header,\n SupportButton,\n} from '@backstage/core-components';\n\nconst useStyles = makeStyles(() => ({\n overflowXScroll: {\n overflowX: 'scroll',\n },\n}));\n\n/** @public */\nexport type SplunkOnCallPageProps = {\n title?: string;\n subtitle?: string;\n pageTitle?: string;\n};\n\nexport const SplunkOnCallPage = (props: SplunkOnCallPageProps): JSX.Element => {\n const { title, subtitle, pageTitle } = props;\n const classes = useStyles();\n\n return (\n <Page themeId=\"tool\">\n <Header title={title} subtitle={subtitle} />\n <Content className={classes.overflowXScroll}>\n <ContentHeader title={pageTitle}>\n <SupportButton>\n This is used to help you automate incident management.\n </SupportButton>\n </ContentHeader>\n <Grid container spacing={3} direction=\"row\">\n <Grid item xs={12} sm={6} md={4}>\n <EntitySplunkOnCallCard />\n </Grid>\n </Grid>\n </Content>\n </Page>\n );\n};\n\nSplunkOnCallPage.defaultProps = {\n title: 'Splunk On-Call',\n subtitle: 'Automate incident management',\n pageTitle: 'Dashboard',\n};\n"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"SplunkOnCallPage.esm.js","sources":["../../src/components/SplunkOnCallPage.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { JSX } from 'react';\nimport Grid from '@material-ui/core/Grid';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { EntitySplunkOnCallCard } from './EntitySplunkOnCallCard';\nimport {\n Content,\n ContentHeader,\n Page,\n Header,\n SupportButton,\n} from '@backstage/core-components';\n\nconst useStyles = makeStyles(() => ({\n overflowXScroll: {\n overflowX: 'scroll',\n },\n}));\n\n/** @public */\nexport type SplunkOnCallPageProps = {\n title?: string;\n subtitle?: string;\n pageTitle?: string;\n};\n\nexport const SplunkOnCallPage = (props: SplunkOnCallPageProps): JSX.Element => {\n const { title, subtitle, pageTitle } = props;\n const classes = useStyles();\n\n return (\n <Page themeId=\"tool\">\n <Header title={title} subtitle={subtitle} />\n <Content className={classes.overflowXScroll}>\n <ContentHeader title={pageTitle}>\n <SupportButton>\n This is used to help you automate incident management.\n </SupportButton>\n </ContentHeader>\n <Grid container spacing={3} direction=\"row\">\n <Grid item xs={12} sm={6} md={4}>\n <EntitySplunkOnCallCard />\n </Grid>\n </Grid>\n </Content>\n </Page>\n );\n};\n\nSplunkOnCallPage.defaultProps = {\n title: 'Splunk On-Call',\n subtitle: 'Automate incident management',\n pageTitle: 'Dashboard',\n};\n"],"names":[],"mappings":";;;;;;AA4BA,MAAM,SAAA,GAAY,WAAW,OAAO;AAAA,EAClC,eAAiB,EAAA;AAAA,IACf,SAAW,EAAA;AAAA;AAEf,CAAE,CAAA,CAAA;AASW,MAAA,gBAAA,GAAmB,CAAC,KAA8C,KAAA;AAC7E,EAAA,MAAM,EAAE,KAAA,EAAO,QAAU,EAAA,SAAA,EAAc,GAAA,KAAA;AACvC,EAAA,MAAM,UAAU,SAAU,EAAA;AAE1B,EACE,uBAAA,IAAA,CAAC,IAAK,EAAA,EAAA,OAAA,EAAQ,MACZ,EAAA,QAAA,EAAA;AAAA,oBAAC,GAAA,CAAA,MAAA,EAAA,EAAO,OAAc,QAAoB,EAAA,CAAA;AAAA,oBACzC,IAAA,CAAA,OAAA,EAAA,EAAQ,SAAW,EAAA,OAAA,CAAQ,eAC1B,EAAA,QAAA,EAAA;AAAA,sBAAA,GAAA,CAAC,iBAAc,KAAO,EAAA,SAAA,EACpB,QAAC,kBAAA,GAAA,CAAA,aAAA,EAAA,EAAc,oEAEf,CACF,EAAA,CAAA;AAAA,sBACA,GAAA,CAAC,QAAK,SAAS,EAAA,IAAA,EAAC,SAAS,CAAG,EAAA,SAAA,EAAU,OACpC,QAAC,kBAAA,GAAA,CAAA,IAAA,EAAA,EAAK,MAAI,IAAC,EAAA,EAAA,EAAI,IAAI,EAAI,EAAA,CAAA,EAAG,IAAI,CAC5B,EAAA,QAAA,kBAAA,GAAA,CAAC,sBAAuB,EAAA,EAAA,CAAA,EAC1B,CACF,EAAA;AAAA,KACF,EAAA;AAAA,GACF,EAAA,CAAA;AAEJ;AAEA,gBAAA,CAAiB,YAAe,GAAA;AAAA,EAC9B,KAAO,EAAA,gBAAA;AAAA,EACP,QAAU,EAAA,8BAAA;AAAA,EACV,SAAW,EAAA;AACb,CAAA;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { Entity } from '@backstage/catalog-model';
|
|
4
|
+
import * as react from 'react';
|
|
4
5
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
5
6
|
import { DiscoveryApi, ConfigApi } from '@backstage/core-plugin-api';
|
|
7
|
+
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
6
8
|
|
|
7
9
|
/** @public */
|
|
8
10
|
declare const isSplunkOnCallAvailable: (entity: Entity) => boolean;
|
|
@@ -24,7 +26,7 @@ declare const splunkOnCallPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
|
24
26
|
}, {}, {}>;
|
|
25
27
|
/** @public */
|
|
26
28
|
declare const SplunkOnCallPage: {
|
|
27
|
-
(props: SplunkOnCallPageProps): JSX.Element;
|
|
29
|
+
(props: SplunkOnCallPageProps): react.JSX.Element;
|
|
28
30
|
defaultProps: {
|
|
29
31
|
title: string;
|
|
30
32
|
subtitle: string;
|
|
@@ -231,7 +233,7 @@ type RequestOptions = {
|
|
|
231
233
|
declare class UnauthorizedError extends Error {
|
|
232
234
|
}
|
|
233
235
|
/** @public */
|
|
234
|
-
declare const splunkOnCallApiRef:
|
|
236
|
+
declare const splunkOnCallApiRef: _backstage_frontend_plugin_api.ApiRef<SplunkOnCallApi>;
|
|
235
237
|
/** @public */
|
|
236
238
|
declare class SplunkOnCallClient implements SplunkOnCallApi {
|
|
237
239
|
private readonly config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-splunk-on-call",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "A Backstage plugin that integrates towards Splunk On-Call",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@backstage/catalog-model": "^1.7.6",
|
|
46
|
-
"@backstage/core-components": "^0.18.
|
|
47
|
-
"@backstage/core-plugin-api": "^1.12.
|
|
48
|
-
"@backstage/plugin-catalog-react": "^1.21.
|
|
46
|
+
"@backstage/core-components": "^0.18.4",
|
|
47
|
+
"@backstage/core-plugin-api": "^1.12.1",
|
|
48
|
+
"@backstage/plugin-catalog-react": "^1.21.4",
|
|
49
49
|
"@material-ui/core": "^4.12.2",
|
|
50
50
|
"@material-ui/icons": "^4.9.1",
|
|
51
51
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"react-use": "^17.2.4"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@backstage/cli": "^0.
|
|
58
|
-
"@backstage/core-app-api": "^1.19.
|
|
59
|
-
"@backstage/dev-utils": "^1.1.
|
|
60
|
-
"@backstage/test-utils": "^1.7.
|
|
57
|
+
"@backstage/cli": "^0.35.1",
|
|
58
|
+
"@backstage/core-app-api": "^1.19.3",
|
|
59
|
+
"@backstage/dev-utils": "^1.1.18",
|
|
60
|
+
"@backstage/test-utils": "^1.7.14",
|
|
61
61
|
"@testing-library/dom": "^10.0.0",
|
|
62
62
|
"@testing-library/jest-dom": "^6.0.0",
|
|
63
63
|
"@testing-library/react": "^15.0.0",
|