Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
LOFAR2.0
SKA TANGO Grafana Exporter
Commits
92b329b1
Commit
92b329b1
authored
Nov 24, 2020
by
Matteo Di Carlo
Browse files
yet another try
parent
e05c663c
Changes
5
Hide whitespace changes
Inline
Side-by-side
grafana/Makefile
View file @
92b329b1
NAME
:=
grafana-tango-plugins
VERSION
:=
1.0.
5
VERSION
:=
1.0.
6
TAG
:=
$(VERSION)
include
../make/Makefile.mk
grafana/grafana-plugins/webjive/src/WebjivePanel.tsx
View file @
92b329b1
...
...
@@ -16,10 +16,6 @@ export const WebjivePanel: React.FC<Props> = ({ options, data, width, height })
},
redirect
:
'
follow
'
,
// manual, *follow, error
referrerPolicy
:
'
no-referrer
'
,
// no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url
body
:
JSON
.
stringify
({
user
:
'
user1
'
,
password
:
'
abc123
'
,
}),
// body data type must match "Content-Type" header
});
console
.
log
(
result
);
...
...
helm-chart/values.yaml
View file @
92b329b1
...
...
@@ -25,7 +25,7 @@ grafana:
image
:
registry
:
nexus.engageska-portugal.pt/ska-docker
image
:
grafana-tango-plugins
tag
:
1.0.
5
tag
:
1.0.
6
pullPolicy
:
IfNotPresent
tango_gql_proxy
:
...
...
@@ -33,7 +33,7 @@ tango_gql_proxy:
image
:
registry
:
nexus.engageska-portugal.pt/ska-docker
image
:
tangogql-proxy
tag
:
1.0.1
0
tag
:
1.0.1
1
pullPolicy
:
IfNotPresent
webjive_auth_url
:
http://webjive-webjive-test-mid.integration-mid.svc.cluster.local:8080/login
webjive_user
:
"
mandatory"
...
...
tangogql-proxy/Makefile
View file @
92b329b1
NAME
:=
tangogql-proxy
VERSION
:=
1.0.1
0
VERSION
:=
1.0.1
1
TAG
:=
$(VERSION)
include
../make/Makefile.mk
...
...
tangogql-proxy/code/tangogql-proxy.py
View file @
92b329b1
...
...
@@ -33,7 +33,7 @@ def login_webjive():
response
=
"webjive login result"
,
status
=
r
.
status_code
)
response
.
set_cookie
(
'webjive_jwt'
,
r
.
cookies
.
get_dict
()[
'webjive_jwt'
]
,
samesite
=
'None'
,
secure
=
True
)
response
.
set_cookie
(
'webjive_jwt'
,
r
.
cookies
.
get_dict
()[
'webjive_jwt'
])
return
response
@
app
.
route
(
'/mutation'
,
methods
=
[
'POST'
])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment