Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ff5d301
remove migrated applications to cloudoperators (#600)
ArtieReus May 8, 2024
31b0875
replace all * dependencies with URLs (assets-server) (#601)
andypf May 10, 2024
2926344
fix unit tests (#602)
andypf May 10, 2024
31d6365
ci: enable build-libs task again, to meet the star depenedncies from …
andypf May 10, 2024
30c08df
ci: fix importmap generator, support URLs in dependencies
andypf May 11, 2024
e758cfd
ci: do not change depVersion while generating importmap
andypf May 11, 2024
a1a88fb
ci: do not run task 'build-libs'
andypf May 13, 2024
f265c73
Navigation rework (#598)
franzheidl May 15, 2024
bc8aef9
ci: update pipeline
andypf May 16, 2024
5e0b557
ci: build assets individually
andypf May 16, 2024
5f3ae70
ci: add a task to run all build manually
andypf May 16, 2024
82f2d86
ci: build oauth from cloudoperators
andypf May 16, 2024
eef6c69
cleanup (#603)
ArtieReus May 21, 2024
d99d8ab
deploy juno-ui-components from cloudoperators (#605)
ArtieReus May 21, 2024
1e47ed3
[ci/workflow] build assets with the policy-engine from cloudoperators…
ArtieReus May 23, 2024
b25dce0
[dev] update dev base image to node 20
edda May 23, 2024
61d59df
[dashboard] add esbuild dev dependency
edda May 23, 2024
743d474
bump juno-ui-components to the version from cloudoperators (#607)
ArtieReus May 24, 2024
3ebb213
[migration] remove migrated libs (#608)
ArtieReus May 24, 2024
b3fcc83
[CI] Build messages-provider from cloudoperators and block PRs from m…
ArtieReus May 24, 2024
939f4ed
fix [CI] build all migrated apps and libs from cloudoperators. Block…
ArtieReus Jun 3, 2024
1d744eb
Revert "remove migrated applications to cloudoperators (#600)"
ArtieReus Jun 3, 2024
99b1006
Revert "[migration] remove migrated libs (#608)"
ArtieReus Jun 3, 2024
bb90c1d
npm install after revert deleted apps and libs
ArtieReus Jun 3, 2024
e51570f
Move libs to the deprecated folder
ArtieReus Jun 3, 2024
b5d9a47
Move apps to a deprecated folder
ArtieReus Jun 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
37 changes: 28 additions & 9 deletions .github/workflows/block-apps.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Block PRs on following apps supernova, huereka, greenhouse and greenhouse-management
name: Block PRs on apps and libs migrated to cloudoperators

on:
pull_request:
Expand Down Expand Up @@ -68,19 +68,38 @@ jobs:
evaluate-changes:
needs: changes
runs-on: [ubuntu-latest]
env:
APPS: "supernova heureka greenhouse greenhouse-management exampleapp template"
LIBS: "communicator oauth policy-engine messages-provider juno-ui-components url-state-provider url-state-router utils"
steps:
- name: Show inputs
run: |
echo apps: ${{ needs.changes.outputs.apps }}
echo libs: ${{ needs.changes.outputs.libs }}
echo app changes: ${{ needs.changes.outputs.app-changes }}
echo lib changes: ${{ needs.changes.outputs.lib-changes }}
- name: Check if any of the apps are supernova, huereka, greenhouse or greenhouse-management
if: |
contains(needs.changes.outputs.app-changes, 'supernova') ||
contains(needs.changes.outputs.app-changes, 'huereka') ||
contains(needs.changes.outputs.app-changes, 'greenhouse') ||
contains(needs.changes.outputs.app-changes, 'greenhouse-management')

- name: Check if changes belong to restricted apps or libs
id: check-changes
run: |
echo "::error not allowed to make changes to supernova, huereka, greenhouse or greenhouse-management apps"
exit 1
check_changes() {
local changes=$1
local list=$2
local type=$3
for item in $list; do
if [[ $changes == *"$item"* ]]; then
echo "Not allowed to make changes to specified $type: $item"
exit 1
fi
done
echo "No restricted changes found in $type"
return 0
}

app_changes="${{ needs.changes.outputs.app-changes }}"
lib_changes="${{ needs.changes.outputs.lib-changes }}"

check_changes "$app_changes" "$APPS" "app"
check_changes "$lib_changes" "$LIBS" "lib"

echo "Changes are allowed."
2 changes: 2 additions & 0 deletions apps/assets-overview/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Assets Overview

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)

This app displays all available Juno apps using the manifest.json file. The manifest.json file is located on the assets server and contains various data, including the path to the build of the app.

This app uses the same techniques as all Juno apps and is integrated in the same way via widget-loader. It serves both as an overview of available apps and as an example of what such an app can look like.
Expand Down
2 changes: 1 addition & 1 deletion apps/assets-overview/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
testEnvironment: "jsdom",
setupFilesAfterEnv: ["<rootDir>/setupTests.js"],
transformIgnorePatterns: [
"node_modules/(?!(juno-ui-components|messages-provider)/)",
"node_modules/(?!(juno-ui-components|messages-provider|url-state-router|utils)/)",
],
moduleNameMapper: {
// Jest currently doesn't support resources with query parameters.
Expand Down
20 changes: 10 additions & 10 deletions apps/assets-overview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"github-markdown-css": "^5.1.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"luxon": "3.3.0",
"messages-provider": "*",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
"prop-types": "15.8.1",
Expand All @@ -45,10 +45,10 @@
"sass": "^1.60.0",
"shadow-dom-testing-library": "^1.7.1",
"tailwindcss": "^3.3.1",
"url-state-provider": "*",
"url-state-router": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"url-state-router": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"util": "^0.12.4",
"utils": "*",
"utils": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"zustand": "4.3.7"
},
"scripts": {
Expand All @@ -60,15 +60,15 @@
"peerDependencies": {
"@tanstack/react-query": "4.28.0",
"custom-event-polyfill": "1.0.7",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"luxon": "3.3.0",
"messages-provider": "*",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"prop-types": "15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"url-state-provider": "*",
"url-state-router": "*",
"utils": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"url-state-router": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"utils": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"zustand": "4.3.7"
},
"appProps": {
Expand Down
2 changes: 2 additions & 0 deletions apps/auth/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Auth App

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)

This app implements the OIDC flow to login the user.

## Usage
Expand Down
10 changes: 5 additions & 5 deletions apps/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
"autoprefixer": "^10.4.2",
"babel-jest": "^29.3.1",
"babel-plugin-transform-import-meta": "^2.2.0",
"communicator": "*",
"communicator": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"custom-event-polyfill": "^1.0.7",
"esbuild": "^0.17.12",
"interweave": "^13.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"oauth": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"oauth": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
"prop-types": "^15.8.1",
Expand All @@ -51,8 +51,8 @@
},
"peerDependencies": {
"custom-event-polyfill": "^1.0.7",
"juno-ui-components": "latest",
"oauth": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"oauth": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "^18.2.0"
Expand Down
2 changes: 2 additions & 0 deletions apps/dashboard/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Global Dashboard

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)

This app implements the global landing apge for Converged Cloud (CC). It offers a region and domain selection so that the user can navigate directly to the CC Dashboard in the desired region.
5 changes: 3 additions & 2 deletions apps/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
"autoprefixer": "^10.4.2",
"babel-jest": "^29.3.1",
"babel-plugin-transform-import-meta": "^2.2.0",
"esbuild": "^0.19.5",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"luxon": "^2.3.0",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
Expand All @@ -47,7 +48,7 @@
},
"peerDependencies": {
"custom-event-polyfill": "^1.0.7",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"luxon": "^2.3.0",
"prop-types": "^15.8.1",
"react": "18.2.0",
Expand Down
2 changes: 2 additions & 0 deletions apps/playground/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Payground app

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
8 changes: 4 additions & 4 deletions apps/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"esbuild": "^0.19.5",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
"prop-types": "^15.8.1",
Expand All @@ -40,7 +40,7 @@
"sass": "^1.60.0",
"shadow-dom-testing-library": "^1.7.1",
"tailwindcss": "^3.3.1",
"url-state-provider": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"util": "^0.12.4",
"zustand": "4.3.7"
},
Expand All @@ -50,11 +50,11 @@
"build": "NODE_ENV=production node esbuild.config.js"
},
"peerDependencies": {
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"url-state-provider": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"zustand": "4.3.7"
},
"importmapExtras": {
Expand Down
2 changes: 2 additions & 0 deletions apps/user-activity/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# User-activity App

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)

This app tracks the user activity (using event listeners as per example `mousemove`) to notify per broadcast events when the user has been inactive for a default period of 1800 seconds or again active. All other apps listening to the broadcast events can react accordingly and set the application to standby or reactivate and so save resources or reduce the amount of request during the inactive period.

Please visit the section **scrip tag** to see all available **props** and their **default values**.
Expand Down
2 changes: 1 addition & 1 deletion apps/user-activity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"autoprefixer": "^10.4.2",
"babel-jest": "^29.3.1",
"babel-plugin-transform-import-meta": "^2.2.0",
"communicator": "*",
"communicator": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"postcss": "^8.4.21",
Expand Down
2 changes: 2 additions & 0 deletions apps/volta/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# VOLTA UI

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)

This mircro frontent uses the Volta API to manage own certificates providing:

- Create signed certificates
Expand Down
2 changes: 1 addition & 1 deletion apps/volta/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
testEnvironment: "jsdom",
setupFilesAfterEnv: ["<rootDir>/setupTests.js"],
transformIgnorePatterns: [
"node_modules/(?!(juno-ui-components|messages-provider)/)",
"node_modules/(?!(juno-ui-components|messages-provider|utils)/)",
],
moduleNameMapper: {
// Jest currently doesn't support resources with query parameters.
Expand Down
22 changes: 11 additions & 11 deletions apps/volta/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"autoprefixer": "^10.4.2",
"babel-jest": "^29.3.1",
"babel-plugin-transform-import-meta": "^2.2.0",
"communicator": "*",
"communicator": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"lodash.uniqueid": "^4.0.1",
"luxon": "^2.3.0",
"messages-provider": "*",
"oauth": "*",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"oauth": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
"prop-types": "^15.8.1",
Expand All @@ -45,23 +45,23 @@
"sass": "^1.60.0",
"shadow-dom-testing-library": "^1.7.1",
"tailwindcss": "^3.3.1",
"url-state-provider": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"util": "^0.12.4",
"utils": "*",
"utils": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"zustand": "4.3.7"
},
"peerDependencies": {
"@tanstack/react-query": "4.28.0",
"custom-event-polyfill": "^1.0.7",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"luxon": "^2.3.0",
"messages-provider": "*",
"oauth": "*",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"oauth": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "^18.2.0",
"url-state-provider": "*",
"utils": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"utils": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"zustand": "4.3.7"
},
"importmapExtras": {
Expand Down
2 changes: 2 additions & 0 deletions apps/whois/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# WHOIS UI

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)

This is the micro frontend app for the whois service. Whois allows you to get detailed information about a specific IP in Converged Cloud.
10 changes: 5 additions & 5 deletions apps/whois/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
"babel-jest": "^29.3.1",
"babel-plugin-transform-import-meta": "^2.2.0",
"cidr-regex": "^3.1.1",
"communicator": "*",
"communicator": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"ip-regex": "^5.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"luxon": "^2.3.0",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
Expand All @@ -41,7 +41,7 @@
"sass": "^1.60.0",
"shadow-dom-testing-library": "^1.8.0",
"tailwindcss": "^3.3.1",
"url-state-provider": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"util": "^0.12.4"
},
"scripts": {
Expand All @@ -50,12 +50,12 @@
"build": "NODE_ENV=production node esbuild.config.js"
},
"peerDependencies": {
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"luxon": "^2.3.0",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "^18.2.0",
"url-state-provider": "*"
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz"
},
"appProps": {
"theme": {
Expand Down
2 changes: 2 additions & 0 deletions apps/widget-loader/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Widget Loader

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)

The Widget Loader streamlines the efficient loading of diverse applications. It initiates the process by loading an import map, serving as a comprehensive repository of dependencies for all assets. This import map is a collection of key-value pairs, where keys represent package names, and corresponding values indicate URLs leading to the package sources. It lays the foundation for subsequent loading steps, ensuring the runtime availability of all dependencies and enabling multiple applications to efficiently share libraries.

## Usage
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ module.exports = {
transform: { "\\.[jt]sx?$": "babel-jest" },
testEnvironment: "jsdom",
setupFilesAfterEnv: ["<rootDir>/setupTests.js"],
transformIgnorePatterns: ["node_modules/(?!(juno-ui-components)/)"],
transformIgnorePatterns: [
"node_modules/(?!(juno-ui-components|oauth|messages-provider|utils)/)",
],
moduleNameMapper: {
// Jest currently doesn't support resources with query parameters.
// Therefore we add the optional query parameter matcher at the end
Expand Down
Loading