-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dashboard): Introduced a new module to enable DCM 2.0 Dashboards…
…. This module is lazy loaded by default, and will not cause any breaking changes.
- Loading branch information
Showing
131 changed files
with
4,537 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# DCM Dashboard | ||
Besides regular Blueriq UI components this repository now also includes specific components to use in a Blueriq application that servers as a dashboard. | ||
|
||
MyBlueriq documentation on DCM dashboard UI: https://my.blueriq.com/pages/viewpage.action?pageId=166822999 | ||
|
||
## Dashboard module | ||
The `DashboardModule` is an Angular module that loads under the root routing path `/dashboard`. | ||
The path following this root should be the name of a dashboard definition that is retrieved from a configurable endpoint inside `environment.ts`. | ||
You can use the module as is or use it as a template to build on. | ||
No extra steps are required on making it work expect of course having the right backend services running. | ||
Find a more detailed explanation on how and what on MyBlueriq. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-2.37 KB
(99%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-buttons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.14 KB
(99%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-checkboxes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-968 Bytes
(99%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-currency-fields.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.6 KB
(99%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-947 Bytes
(100%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-date-pickers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.32 KB
(99%)
...s-visual-screenshots/baseline/visualtesting.cy.ts-datetime-pickers-material.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-883 Bytes
(100%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-datetime-pickers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.95 KB
(99%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-dropdowns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-555 Bytes
(100%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-instance-linkers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-10.4 KB
(98%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-instance-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.23 KB
(99%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-integer-fields.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-10.3 KB
(97%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-layout-check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-598 Bytes
(100%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-493 Bytes
(100%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-number-fields.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.42 KB
(99%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-percentage-fields.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.05 KB
(99%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-radio-buttons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.75 KB
(99%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-slide-toggle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.16 KB
(99%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-string-fields.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-16.2 KB
(98%)
cypress-visual-screenshots/baseline/visualtesting.cy.ts-text-items.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
.git/ | ||
**/docker/ | ||
./angular/ | ||
./idea/ | ||
docker/ | ||
node_modules/ | ||
dist/ | ||
runtime-clone/ | ||
videos/ | ||
report/ | ||
screenshots/ | ||
local-dev/ | ||
tools/ | ||
src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM docker-internal.blueriq.com/tomcat9-jdk17:1.0 | ||
LABEL maintainer="support@blueriq.com" | ||
|
||
ARG BLUERIQ_LICENSE | ||
ENV JAVA_OPTS="-Dspring.config.additional-location=file:///config/blueriq-case-engine/ -Djava.security.egd=file:/dev/./urandom -Dlogging.file.name=runtime.log -Duser.timezone=Europe/Amsterdam -Xmx768m" | ||
ENV JAVA_TOOL_OPTIONS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000 | ||
ENV JPDA_ADDRESS="8000" | ||
ENV JPDA_TRANSPORT="dt_socket" | ||
EXPOSE 8080 8000 | ||
|
||
COPY preparations/blueriq-runtime-application-*.war /usr/local/tomcat/webapps/runtime.war | ||
COPY dashboards/config/case-engine /config/blueriq-case-engine/ | ||
COPY dashboards/config/exports /config/blueriq-case-engine/exports/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM openjdk:17-jdk-slim | ||
|
||
LABEL maintainer="support@blueriq.com" | ||
|
||
ENV JAVA_TOOL_OPTIONS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000 | ||
EXPOSE 8080 8000 | ||
|
||
COPY preparations/blueriq-customerdata-sql-store-standalone-*.jar ~/customerdata.jar | ||
COPY dashboards/config/customerdata/blueriq-customerdata-odata-service-v1.yml /config/blueriq-customerdata/ | ||
|
||
WORKDIR ~ | ||
|
||
ENTRYPOINT ["java", "-Dspring.config.additional-location=file:///config/blueriq-customerdata/", "-jar", "customerdata.jar", "-Xmx384m" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM openjdk:17-slim@sha256:aaa3b3cb27e3e520b8f116863d0580c438ed55ecfa0bc126b41f68c3f62f9774 | ||
|
||
LABEL maintainer="support@blueriq.com" | ||
|
||
EXPOSE 8080 | ||
|
||
COPY preparations/blueriq-dcm-dashboard-service-standalone-*.jar ~/dashboard.jar | ||
COPY dashboards/config/dashboard /config/blueriq-dashboard/ | ||
|
||
WORKDIR ~ | ||
|
||
ENTRYPOINT ["java", "-Dspring.config.additional-location=file:///config/blueriq-dashboard/", "-jar", "dashboard.jar", "-Xmx256m" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM nginx:1.13.12-alpine@sha256:9d46fd628d54ebe1633ee3cf0fe2acfcc419cfae541c63056530e39cd5620366 | ||
|
||
ARG HOST_PORT=unset | ||
|
||
COPY preparations/dist /usr/share/nginx/html | ||
COPY dashboards/config/frontend/nginx.conf.template /nginx.conf.template | ||
RUN envsubst '$$HOST_PORT' < /nginx.conf.template > /etc/nginx/conf.d/default.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM openjdk:17-jdk-slim | ||
|
||
LABEL maintainer="support@blueriq.com" | ||
|
||
ENV JAVA_TOOL_OPTIONS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000 | ||
EXPOSE 8080 8000 | ||
|
||
COPY preparations/blueriq-dcm-lists-standalone-*.jar ~/dcm-lists.jar | ||
COPY dashboards/config/dcm-lists/blueriq-dcm-lists.yml /config/blueriq-dcm-lists/ | ||
|
||
WORKDIR ~ | ||
|
||
ENTRYPOINT ["java", "-Dspring.config.additional-location=file:///config/blueriq-dcm-lists/", "-jar", "dcm-lists.jar", "-Xmx384m" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM openjdk:17-jdk-slim | ||
|
||
LABEL maintainer="support@blueriq.com" | ||
|
||
COPY preparations/blueriq-gateway-standalone-*.jar ~/gateway-service.jar | ||
COPY dashboards/config/gateway/blueriq-gateway-service.yaml /config/gateway-service/ | ||
|
||
WORKDIR ~ | ||
|
||
ENTRYPOINT ["java", "-Dspring.config.additional-location=file:///config/gateway-service/", "-jar", "gateway-service.jar", "-Xmx384m" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM oscarfonts/h2@sha256:68f8347a24b90cebf18b01172f81e8d2c32aa1e0a06af2bb53b6d375b3681d1f | ||
|
||
COPY dashboards/data /opt/h2-data/ | ||
|
||
WORKDIR /opt/h2-data | ||
|
||
CMD java -cp /opt/h2/bin/h2*.jar org.h2.tools.Server \ | ||
-web -webAllowOthers -webPort 81 \ | ||
-tcp -tcpAllowOthers -tcpPort 1521 \ | ||
-baseDir ${DATA_DIR} ${H2_OPTIONS} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM docker-internal.blueriq.com/build-keycloak-18.0.2:1.0 | ||
|
||
COPY /dashboards/config/keycloak/blueriq-realm.json /opt/keycloak/data/import/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM rabbitmq:3.10.7-management-alpine@sha256:6ffb4ddb517ba2ae95c604ba1156a0802206b8fa81a71f3787fc633f0c432e83 | ||
ADD dashboards/config/rabbitmq/rabbitmq.conf /etc/rabbitmq/ | ||
ADD dashboards/config/rabbitmq/definitions.json /etc/rabbitmq/ | ||
RUN chown rabbitmq:rabbitmq /etc/rabbitmq/rabbitmq.conf /etc/rabbitmq/definitions.json | ||
CMD ["rabbitmq-server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM docker-internal.blueriq.com/tomcat9-jdk17:1.0 | ||
LABEL maintainer="support@blueriq.com" | ||
|
||
ARG BLUERIQ_LICENSE | ||
ENV JAVA_OPTS="-Dspring.config.additional-location=file:///config/blueriq-runtime/ -Djava.security.egd=file:/dev/./urandom -Dlogging.file.name=runtime.log -Duser.timezone=Europe/Amsterdam -Xmx768m" | ||
ENV JAVA_TOOL_OPTIONS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000 | ||
ENV JPDA_ADDRESS="8000" | ||
ENV JPDA_TRANSPORT="dt_socket" | ||
|
||
EXPOSE 8080 8000 | ||
|
||
COPY preparations/blueriq-runtime-application-*.war /usr/local/tomcat/webapps/runtime.war | ||
COPY dashboards/config/runtime /config/blueriq-runtime/ | ||
COPY dashboards/config/exports /config/blueriq-runtime/exports/ |
12 changes: 12 additions & 0 deletions
12
cypress/docker/dashboards/config/case-engine/application-case-engine.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
blueriq.case.engine.data.mongodb.host=e2e-mongodb | ||
blueriq.case.engine.data.mongodb.port=27017 | ||
blueriq.case.engine.data.mongodb.database=caseEngine | ||
|
||
blueriq.locking.mongodb.host=e2e-mongodb | ||
blueriq.locking.mongodb.port=27017 | ||
blueriq.locking.mongodb.database=locks | ||
|
||
spring.quartz.job-store-type=memory | ||
|
||
spring.quartz.properties.org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool | ||
spring.quartz.properties.org.quartz.threadPool.threadCount=2 |
20 changes: 20 additions & 0 deletions
20
cypress/docker/dashboards/config/case-engine/application-externaldatasources.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#h2 embedded settings for external datasources profiles | ||
blueriq.datasource.h2.enabled=true | ||
|
||
blueriq.datasource.process-sql-store.url=jdbc:h2:tcp://e2e-h2:1521/process-sql-store | ||
blueriq.datasource.process-sql-store.username= | ||
blueriq.datasource.process-sql-store.password= | ||
blueriq.datasource.process-sql-store.driverClassName=org.h2.Driver | ||
blueriq.hibernate.process-sql-store.hbm2ddl.auto=update | ||
blueriq.hibernate.process-sql-store.dialect=org.hibernate.dialect.H2Dialect | ||
blueriq.hibernate.process-sql-store.globally_quoted_identifiers=true | ||
blueriq.hibernate.process-sql-store.globally_quoted_identifiers_skip_column_definitions=true | ||
|
||
blueriq.datasource.trace-sql-store.url=jdbc:h2:tcp://e2e-h2:1521/trace-sql-store | ||
blueriq.datasource.trace-sql-store.username= | ||
blueriq.datasource.trace-sql-store.password= | ||
blueriq.datasource.trace-sql-store.driverClassName=org.h2.Driver | ||
blueriq.hibernate.trace-sql-store.hbm2ddl.auto=update | ||
blueriq.hibernate.trace-sql-store.dialect=org.hibernate.dialect.H2Dialect | ||
blueriq.hibernate.trace-sql-store.globally_quoted_identifiers=true | ||
blueriq.hibernate.trace-sql-store.globally_quoted_identifiers_skip_column_definitions=true |
Oops, something went wrong.