-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/idp' into feat/tls
# Conflicts: # DEPENDENCIES_FRONTEND # docs/adminGuide/Admin_Guide.md # frontend/DEPENDENCIES # frontend/package-lock.json # frontend/package.json # frontend/src/App.vue # frontend/src/main.js # frontend/src/router/index.js # frontend/src/services/AuthenticationService.js # local/keycloak/INSTALL.md # local/keycloak/puris-config/Catena-X-realm.json # local/keycloak/puris-config/Catena-X-users-0.json # local/miw/keycloak-setup.json
- Loading branch information
Showing
68 changed files
with
1,194 additions
and
2,285 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,5 +26,5 @@ indent_size = 4 | |
indent_style = space | ||
insert_final_newline = true | ||
|
||
[*.yml] | ||
[*.yaml] | ||
indent_size = 2 |
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,13 +1,56 @@ | ||
## Project Installation | ||
### Running using mvn (local develpment) or Running using docker (deployment) | ||
### Running for development using mvn/npm or using docker | ||
See the `INSTALL.md` files in the [backend](./backend/INSTALL.md) and [frontend](./frontend/INSTALL.md) folder. | ||
### Running local integration testing user docker compose | ||
See `Install.md` file in folder [local](./local/docker-compose.yaml) for integration testing environment with two deployed applications and EDCs. | ||
### Running using helm (deployment) | ||
1. Run the application: | ||
1. Configure the application: | ||
1. Open the `values.yaml` file in [charts/puris](./charts/puris/values.yaml). | ||
2. Edit the following properties to your requirements: | ||
- **Ingress**(if you want to enable ingress) for frontend/backend, under *frontend.ingress.* and *backend.ingress.* | ||
- **EDC**, under *backend.puris.edc* | ||
- **Own data**, under *backend.puris.own* | ||
- **Current role for demonstrator**, under *backend.puris.demonstrator.role* | ||
> **NOTE** | ||
Further information on the individual properties can be found in the following [README.md](./charts/puris/README.md). | ||
|
||
#### Run without Ingress | ||
|
||
2. Run the application: | ||
```shell | ||
cd charts/puris/ | ||
helm install puris charts/puris \ | ||
--namespace puris \ | ||
--create-namespace | ||
``` | ||
3. Forward ports for services: | ||
```shell | ||
kubectl -n puris port-forward svc/frontend 8080:8080 | ||
kubectl -n puris port-forward svc/backend 8081:8081 | ||
``` | ||
4. Done! The applications should be available at `http://localhost:<forwarded-port>`. | ||
|
||
helm install puris --namespace puris --create-namespace . --set frontend.ingress.enabled=true --set backend.ingress.enabled=true | ||
#### Run with Ingress | ||
|
||
Precondition: please refer to your runtime environment's official documentation on how to enable ingress. | ||
- [minikube](https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/) | ||
- [kind](https://kind.sigs.k8s.io/docs/user/ingress/) | ||
|
||
2. Run the application: | ||
```shell | ||
helm install puris charts/puris \ | ||
--namespace puris \ | ||
--create-namespace \ | ||
--set frontend.ingress.enabled=true \ | ||
--set backend.ingress.enabled=true | ||
``` | ||
3. Edit /etc/hosts: | ||
```shell | ||
# If you are using minikube use minikube ip to get you clusterIp, for kind this is localhost (127.0.0.1) | ||
sudo vim /etc/hosts | ||
>> add entry for frontend "<cluster ip> <frontend-url.top-level-domain>" | ||
>> add entry for backend "<cluster ip> <backend-url.top-level-domain>" | ||
>> :wq! (save changes) | ||
``` | ||
2. Done! The applications should be available at | ||
- (frontend) `http://YOURIP:30000` | ||
- (backend) `http://CLUSTERIP:30001/catena/swagger-ui/index.html` | ||
4. Done! The applications should be available at: | ||
- (frontend) `http://your-frontend-host-address.com` | ||
- (backend) `http://your-backend-host-address.com` |
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,6 +1,17 @@ | ||
# Security Policy | ||
|
||
## Reporting a Vulnerability | ||
Please do **not** report security vulnerabilities through public GitHub issues. | ||
|
||
Please report vulnerabilities to this repository via **GitHub security advisories** instead. | ||
|
||
How? Inside affected repository --> security tab | ||
|
||
for contributor: | ||
--> Report a vulnerability | ||
|
||
for committer: | ||
--> advisories --> New draft security advisory | ||
|
||
In severe cases, you can also report a found vulnerability via mail or eclipse issue here: https://www.eclipse.org/security/ | ||
|
||
Please report a found vulnerability here: | ||
[https://www.eclipse.org/security/](https://www.eclipse.org/security/) | ||
See [Eclipse Foundation Vulnerability Reporting Policy](https://www.eclipse.org/projects/handbook/#vulnerability) |
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,6 +1,17 @@ | ||
# Security Policy | ||
|
||
## Reporting a Vulnerability | ||
Please do **not** report security vulnerabilities through public GitHub issues. | ||
|
||
Please report vulnerabilities to this repository via **GitHub security advisories** instead. | ||
|
||
How? Inside affected repository --> security tab | ||
|
||
for contributor: | ||
--> Report a vulnerability | ||
|
||
for committer: | ||
--> advisories --> New draft security advisory | ||
|
||
In severe cases, you can also report a found vulnerability via mail or eclipse issue here: https://www.eclipse.org/security/ | ||
|
||
Please report a found vulnerability here: | ||
[https://www.eclipse.org/security/](https://www.eclipse.org/security/) | ||
See [Eclipse Foundation Vulnerability Reporting Policy](https://www.eclipse.org/projects/handbook/#vulnerability) |
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
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
Oops, something went wrong.