Skip to content

Commit

Permalink
kie-issues#1060: Create Sonataflow management console webapp (#24)
Browse files Browse the repository at this point in the history
* Add WorkflowDefinitions page

* Add WorkflowForm page

* add WorkflowInstances

* Add WorkflowDetails

* add TriggerCloudEvent

* Apply PR:  NO-ISSUE: Add url package everywhere stream-http is used apache#2301

* add MonitoringPage

* Renamed pages

* rm EmptyPage

* Fix lint warnings

* styles

* Monitoring webapp configuration

* Commit defaultEnvJson

* Configured monitoring-webapp and HashRouter

* Add sonataflow-realm.json

* kie-issues#1173: Retrieve workflow definitions from data index instead of openapi.json (apache#2302)

Co-authored-by: Guilherme Caponetto <[email protected]>

* Aligned the code to pull apache#2302

* Removed use of sonataflowOpenApiBaseUrl

* Fix merge errors

---------

Co-authored-by: Paulo Martins <[email protected]>
Co-authored-by: Guilherme Caponetto <[email protected]>
  • Loading branch information
3 people authored Jun 14, 2024
1 parent 2aa58e2 commit f789d64
Show file tree
Hide file tree
Showing 32 changed files with 4,539 additions and 122 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ package-lock.json
## runtime-tools-management-console-webapp
!packages/runtime-tools-management-console-webapp/build

## sonataflow-management-console-webapp
!packages/sonataflow-management-console-webapp/build

## vscode-*
**/.vscode-test/
**/.vscode-test-web/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

const { env: buildEnv } = require("../env");

const version = require("../package.json").version;

module.exports = {
defaultEnvJson: {
// RUNTIME_TOOLS_MANAGEMENT_CONSOLE_KOGITO_ENV_MODE: buildEnv.runtimeToolsManagementConsoleWebapp.kogitoEnvMode,
RUNTIME_TOOLS_MANAGEMENT_CONSOLE_KOGITO_APP_NAME: "Management Console",
RUNTIME_TOOLS_MANAGEMENT_CONSOLE_KOGITO_APP_VERSION: version,
KOGITO_CONSOLES_KEYCLOAK_DISABLE_HEALTH_CHECK: false,
KOGITO_CONSOLES_KEYCLOAK_UPDATE_TOKEN_VALIDITY: 30,
KOGITO_CONSOLES_KEYCLOAK_HEALTH_CHECK_URL:
"http://localhost:8280/auth/realms/kogito/.well-known/openid-configuration",
KOGITO_CONSOLES_KEYCLOAK_REALM: "kogito",
KOGITO_CONSOLES_KEYCLOAK_URL: "http://localhost:8280/auth",
KOGITO_CONSOLES_KEYCLOAK_CLIENT_ID: "kogito-console-react",
SONATAFLOW_DATA_INDEX_URL: buildEnv.sonataflowManagementConsoleWebapp.sonataflowDataIndexUrl,
SONATAFLOW_OPENAPIBASE_URL: buildEnv.sonataflowManagementConsoleWebapp.sonataflowOpenApiBaseUrl,
},
};
Loading

0 comments on commit f789d64

Please sign in to comment.