Commit aabbf939 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Now calculations are ignored if functional type is not reported, updated gui...

Now calculations are ignored if functional type is not reported, updated gui image to include the latest changes with error reporting form and other fixes.
parent 3e7df81e
Pipeline #79165 failed with stages
in 22 minutes and 5 seconds
Subproject commit a8382fd0e3efe94692935e6aa2314876f9114155 Subproject commit 134d89fc0a25ea367c454d299c8603af893b3b66
...@@ -287,6 +287,16 @@ class EncyclopediaNormalizer(Normalizer): ...@@ -287,6 +287,16 @@ class EncyclopediaNormalizer(Normalizer):
# Put the encyclopedia section into backend # Put the encyclopedia section into backend
self.fill(context) self.fill(context)
# Check that the necessary information is in place
functional_type = method.functional_type
if functional_type is None:
sec_enc.status = status_enums.unsupported_method_type
self.logger.info(
"unsupported functinoal type for encyclopedia",
enc_status=status_enums.unsupported_method_type,
)
return
except Exception: except Exception:
status = status_enums.failure status = status_enums.failure
sec_enc.status = status sec_enc.status = status
......
...@@ -115,7 +115,7 @@ data: ...@@ -115,7 +115,7 @@ data:
conf.js: | conf.js: |
window.nomadEnv = { window.nomadEnv = {
apiRoot: "https://{{ .Values.proxy.external.host }}{{ .Values.proxy.external.path }}/api/encyclopedia/", apiRoot: "https://{{ .Values.proxy.external.host }}{{ .Values.proxy.external.path }}/api/encyclopedia/",
guiRoot: "https://{{ .Values.proxy.external.host }}{{ .Values.proxy.external.path }}", guiRoot: "https://{{ .Values.proxy.external.host }}{{ .Values.proxy.external.path }}/",
userCookieDomain: ".{{ .Values.proxy.external.host }}", userCookieDomain: ".{{ .Values.proxy.external.host }}",
guestUserToken: 'eyJhbGciOiJIUzI1NiIsImlhdCI6MTUyMzg4MDE1OSwiZXhwIjoxNjgxNTYwMTU5fQ.ey'+ guestUserToken: 'eyJhbGciOiJIUzI1NiIsImlhdCI6MTUyMzg4MDE1OSwiZXhwIjoxNjgxNTYwMTU5fQ.ey'+
'JpZCI6ImVuY2d1aSJ9.MsMWQa3IklH7cQTxRaIRSF9q8D_2LD5Fs2-irpWPTp4', 'JpZCI6ImVuY2d1aSJ9.MsMWQa3IklH7cQTxRaIRSF9q8D_2LD5Fs2-irpWPTp4',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment