Skip to content

Commit

Permalink
Merge branch 'main' into fix/841-fill-bpn-in-tombstone
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmf committed Aug 1, 2024
2 parents 5290a25 + 866d50f commit 7c80642
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tavern-UMBRELLA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
sed "s/access_tok.*:s = '.*'//g" tavern-results.xml | sed "s/Authorization: Bearer .*/Authorization:/g" | uniq > result.xml
- name: Publish Tavern Results
uses: EnricoMi/publish-unit-test-result-action@v2.16.1
uses: EnricoMi/publish-unit-test-result-action@v2.17.0
if: always()
with:
files: |
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
sed "s/access_tok.*:s = '.*'//g" tavern-ess-results.xml | sed "s/Authorization: Bearer .*/Authorization:/g" | uniq > ess-result.xml
- name: Publish Tavern Results
uses: EnricoMi/publish-unit-test-result-action@v2.16.1
uses: EnricoMi/publish-unit-test-result-action@v2.17.0
if: always()
with:
files: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tavern-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
sed "s/access_tok.*:s = '.*'//g" tavern-ess-results.xml | sed "s/Authorization: Bearer .*/Authorization:/g" | uniq > ess-result.xml
- name: Publish Tavern Results
uses: EnricoMi/publish-unit-test-result-action@v2.16.1
uses: EnricoMi/publish-unit-test-result-action@v2.17.0
if: always()
with:
files: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tavern.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
sed "s/access_tok.*:s = '.*'//g" tavern-ess-results.xml | sed "s/Authorization: Bearer .*/Authorization:/g" | uniq > ess-result.xml
- name: Publish Tavern Results
uses: EnricoMi/publish-unit-test-result-action@v2.16.1
uses: EnricoMi/publish-unit-test-result-action@v2.17.0
if: always()
with:
files: |
Expand Down
59 changes: 47 additions & 12 deletions FAQ.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@

[[Back to main IRS README](README.md)]


# IRS FAQ


## Documentation and Getting Help

-----
**Q: Where do I find documentation that helps me understand the big picture?**

A: The following resources will help to understand the big picture:

- [README - Introduction](README.md#introduction)
- [More information describing the big picture](https://eclipse-tractusx.github.io/docs-kits/kits/Data%20Chain%20Kit/Adoption%20View%20Data%20Chain%20Kit/)
- [More information describing the big picture](https://eclipse-tractusx.github.io/docs-kits/kits/Data%20Chain%20Kit/Adoption%20View%20Data%20Chain%20Kit/)
including the two main flows IRS Iterative and IRS Recursive and involved components and services.

Further information can be found in the IRS Architecture Documentation, for example:

- [Architecture Documentation - Business Context](https://eclipse-tractusx.github.io/item-relationship-service/docs/arc42/full.html#_business_context)
- [Architecture Documentation - Structure](https://eclipse-tractusx.github.io/item-relationship-service/docs/arc42/full.html#_structure)
- [Architecture Documentation - Building block view](https://eclipse-tractusx.github.io/item-relationship-service/docs/arc42/full.html#_building_block_view)
- [Architecture Documentation - Runtime view](https://eclipse-tractusx.github.io/item-relationship-service/docs/arc42/full.html#_runtime_view)
- [Iterative Flow](https://eclipse-tractusx.github.io/item-relationship-service/docs/arc42/full.html#_irs_iterative)
- [Recursive Flow](https://eclipse-tractusx.github.io/item-relationship-service/docs/arc42/full.html#_irs_recursive)

- [Iterative Flow](https://eclipse-tractusx.github.io/item-relationship-service/docs/arc42/full.html#_irs_iterative)
- [Recursive Flow](https://eclipse-tractusx.github.io/item-relationship-service/docs/arc42/full.html#_irs_recursive)

-----
**Q: Where do I find the main documentation?**
Expand All @@ -33,7 +31,8 @@ A: See [Item Relationship Service Documentation](https://eclipse-tractusx.github
-----
**Q: Is there a glossary?**

A: Yes, see [Item Relationship Service Documentation](https://eclipse-tractusx.github.io/item-relationship-service/docs/arc42/full.html#_glossary).
A: Yes,
see [Item Relationship Service Documentation](https://eclipse-tractusx.github.io/item-relationship-service/docs/arc42/full.html#_glossary).


-----
Expand All @@ -59,10 +58,19 @@ A: See [SECURITY](SECURITY.md#reporting-a-vulnerability).
-----
**Q: Where can I report a bug?**

A: Normal bugs may be reported as [public github issues](https://github.com/orgs/eclipse-tractusx/projects/8/views/10).
A: Normal bugs may be reported as [public github issues](https://github.com/orgs/eclipse-tractusx/projects/8/views/10).
For reporting vulnerabilities see [SECURITY](SECURITY.md#reporting-a-vulnerability) please.


-----
**Q: Can I autoscale irs across multiple pods? What do I have to do?**

A: at the current state it is technically possible to use Kubernetes autoscaling by setting "autoscaling.enabled=true"
in [values.yaml](charts/item-relationship-service/values.yaml).
This will spin up additional IRS Pods once the target load is hit.
However, due to IRS being a stateful application, it is not very useful and would require additional implementation
efforts to balance IRS workload across multiple instances.

## Usage

-----
Expand All @@ -89,7 +97,6 @@ A: See [CONTRIBUTING](CONTRIBUTING.md#create-a-release).

A: See [CONTRIBUTING](CONTRIBUTING.md#code-formatting).


## Testing

-----
Expand All @@ -100,14 +107,42 @@ A: See [README - Tests](README.md#tests).
-----
**Q: Where do I find test data?**

A: Testdata is located under [local/testing/testdata](local/testing/testdata).
A: Testdata is located under [local/testing/testdata](local/testing/testdata).
For more information see the [test data README](local/testing/testdata/README.md).


## Monitoring

-----
**Q: Where do I find information concerning monitoring?**

See [README - Monitoring](README.md#monitoring).

## Troubleshooting

-----
**Q: How to reset / purge the minio database?**

A: To reset the MinIO database, simply uninstall the item-relationship-service helm chart and install it again by
running

```
helm uninstall your-irs-app-name
helm install -f your-values.yaml your-irs-app-name irs/item-relationship-service
```

-----
**Q: How can a job that has hung up (no reaction) be canceled?**

A: To cancel a running job, call the Job cancellation endpoint `PUT` `/irs/jobs/<job-id>`. This will stop all further
processes from executing and sets the Job state to "CANCELED".

-----
**Q: Which resources are recommended for which use case? (cores/RAM)**

A: The item-relationship-service helm chart has default resources set to 1.5Gi memory with a minimum of 250m
and a limit of 750m CPU.
Depending on your use-case, this might not be sufficient when requesting a lot of jobs in parallel or jobs which go very
deep in the chain.
Based on our testing, a CPU limit of 1.5 is capable of handling >40 Jobs with a depth of ~3 simultaneously without any
issues.
In case you run into OutOfMemory Exceptions, increase the memory request and limit.

0 comments on commit 7c80642

Please sign in to comment.