Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
6227bdd
Create LICENSE
HenryWedge Aug 16, 2024
5745a27
Merge branch 'main' of github.com:cau-se/DistributedEventFactory
HenryWedge Aug 16, 2024
e40872d
move event selection provider
HenryWedge Sep 10, 2024
b0d380f
add github build pipeline
HenryWedge Sep 10, 2024
69d6981
add github build pipeline
HenryWedge Sep 10, 2024
e63e2f5
add publish on PyPI
HenryWedge Sep 10, 2024
e413287
add testpypi yml
HenryWedge Sep 11, 2024
af2c515
toml version
HenryWedge Sep 11, 2024
22b03d5
toml version
HenryWedge Sep 11, 2024
f7a7733
Refactor
HenryWedge Oct 13, 2024
6e75dcf
add interface to extend the parser registry
HenryWedge Oct 13, 2024
814e8e2
add interface to extend the parser registry
HenryWedge Oct 13, 2024
d4808bd
change project structure
HenryWedge Oct 13, 2024
05547c6
implement drifting sensor
HenryWedge Oct 15, 2024
65082ab
larger refactoring
HenryWedge Oct 15, 2024
53091cf
larger refactoring
HenryWedge Oct 16, 2024
423e3d8
larger refactoring
HenryWedge Oct 16, 2024
e948ac3
finish integration_test
HenryWedge Oct 18, 2024
d505c19
build unittest pipeline
HenryWedge Oct 18, 2024
c7b8c72
build unittest pipeline
HenryWedge Oct 18, 2024
79e0167
fix the integration test
HenryWedge Oct 21, 2024
448a2ae
refactor to three types of process simulators
HenryWedge Oct 21, 2024
4fb83c1
build in loadtest module
HenryWedge Oct 21, 2024
bc2b6e8
clean up
HenryWedge Oct 21, 2024
7b5a606
clean up
HenryWedge Oct 21, 2024
34b25cb
build pipeline only runs on release branch
HenryWedge Oct 21, 2024
2d9848f
replace event notion to process mining core package
HenryWedge Oct 22, 2024
5c4c28a
refactor the test config files
HenryWedge Oct 23, 2024
c8f9c6a
Add kafka sink yaml
HenryWedge Oct 23, 2024
99e813b
fix the dockerfile
HenryWedge Oct 25, 2024
d566162
add k8s build
HenryWedge Oct 25, 2024
0ad7ef9
Merge branch 'main' of github.com:cau-se/DistributedEventFactory
HenryWedge Oct 25, 2024
85e46fb
add k8s build
HenryWedge Oct 25, 2024
3a07fab
refactoring of the project structure
HenryWedge Oct 25, 2024
38cec89
Merge branch 'main' of github.com:cau-se/DistributedEventFactory
HenryWedge Oct 25, 2024
34ac34a
Merge branch 'main' of github.com:cau-se/DistributedEventFactory into…
HenryWedge Oct 25, 2024
7d4a743
make the def ready for usage in docker/k8s
HenryWedge Oct 25, 2024
4207b8d
make the def ready for usage in docker/k8s
HenryWedge Oct 25, 2024
1b7f3e6
fix the docker path
HenryWedge Oct 27, 2024
3b17f85
adjust load backend url for kubernetes
HenryWedge Oct 27, 2024
5e42dfe
adjust load backend url for kubernetes
HenryWedge Oct 27, 2024
42dd1ac
serialize case_id as caseid
HenryWedge Oct 27, 2024
2abe070
make Load configurable via environment variable
HenryWedge Oct 28, 2024
a075f79
adjust deployment to exercise
HenryWedge Nov 3, 2024
9516b2c
update the README to version 0.2.0
HenryWedge Nov 5, 2024
97c9824
release 0.2.0
HenryWedge Nov 8, 2024
cdb48b0
change folder of integration test
HenryWedge Nov 8, 2024
2cad016
build fix
HenryWedge Dec 11, 2024
7f8496a
build fix
HenryWedge Dec 12, 2024
3c85e84
build fix
HenryWedge Dec 12, 2024
97efb37
debugging
HenryWedge Dec 12, 2024
19cca18
debugging
HenryWedge Dec 12, 2024
9c988ac
refactor the paths of the docker container
HenryWedge Dec 13, 2024
1fee62c
distributions are enforced to be floats
HenryWedge Dec 13, 2024
5634d1b
Build concurrent case executions
HenryWedge Dec 18, 2024
7e1cf64
Fix Bug that load test producer sent the messages n times
HenryWedge Jan 14, 2025
c5bb86f
Change version to 0.2.2
HenryWedge Jan 14, 2025
ab6f6ac
corrected spelling in ReadMe
ulpi-ppi May 16, 2025
ad6d75c
first prototypes with events and objects
ulpi-ppi May 16, 2025
555f21f
renaming
ulpi-ppi May 16, 2025
0cad931
add object parsing
ulpi-ppi May 16, 2025
71658c2
change objects after parsing change
ulpi-ppi May 16, 2025
9a5ec7a
Adding output object parsing
ulpi-ppi May 21, 2025
88cdf61
add parsing of input objects and start of output
ulpi-ppi May 28, 2025
fd74b1b
output parsing works
ulpi-ppi May 28, 2025
be1c083
add route parsing
ulpi-ppi May 28, 2025
7ac935c
corrected test files
ulpi-ppi May 28, 2025
dd87a4f
add output in simulation
ulpi-ppi May 28, 2025
1fc51f4
add input and output logic
May 29, 2025
4b1ae66
Merge remote-tracking branch 'origin/objectCentricEventLogs' into obj…
ulpi-ppi Jun 2, 2025
4448d13
add sinks and fix object adding and removing
ulpi-ppi Jun 2, 2025
26eafbd
add input and output objects to event log
ulpi-ppi Jun 5, 2025
dd80e45
add routing logic base
ulpi-ppi Jun 5, 2025
da8252d
add object states
ulpi-ppi Jun 6, 2025
abe5226
refactor process simulation for readable reasons
ulpi-ppi Jun 6, 2025
86c6269
refactor for methods in process simulation for readable reasons
ulpi-ppi Jun 6, 2025
a46b9dd
add configurable warehouse stock for simulation start
ulpi-ppi Jun 7, 2025
1aefb5b
machine loop, order list, parallel event parsing
Jun 19, 2025
1b47b61
Merge remote-tracking branch 'origin/objectCentricEventLogs' into obj…
ulpi-ppi Jun 19, 2025
7eedf1d
refactoring and bug fixing of duplicates for input and timing in wait…
ulpi-ppi Jun 19, 2025
e966dd3
Comments + Emission of multiple events
ulpi-ppi Jun 20, 2025
f3cc5e8
new approach by checking available workstations
ulpi-ppi Jun 20, 2025
74bfc3f
use info of yaml for new approach
ulpi-ppi Jun 25, 2025
8164c31
add input and output change
ulpi-ppi Jun 25, 2025
276b219
bug fixes and independent scenario
ulpi-ppi Jun 26, 2025
73339c3
add transport
ulpi-ppi Jun 26, 2025
bf18667
add preferences in workstation selection
ulpi-ppi Jun 26, 2025
7b036d2
add workstation layer and first attempt to fix the time
ulpi-ppi Jun 27, 2025
7b8e401
shift time to workstation and add history of timestamps in simulation…
ulpi-ppi Jun 27, 2025
9174456
add unique object id
ulpi-ppi Jul 2, 2025
ad5af8a
first attempt of parallel steps
ulpi-ppi Jul 3, 2025
09212ea
bug fixes with last difficulties
ulpi-ppi Jul 5, 2025
2c41da3
fixed problem with workstation implementation
ulpi-ppi Jul 6, 2025
146b3f2
refactoring and stopping only to use the shortest possible step
ulpi-ppi Jul 6, 2025
d21733a
refactoring and renaming
ulpi-ppi Jul 6, 2025
c661de1
first steps to include workforce and routes, not integrated in simula…
ulpi-ppi Jul 9, 2025
420716f
integrated workforces and routing of transport workforces
ulpi-ppi Jul 11, 2025
2aedf71
bugfixes for workforces
ulpi-ppi Jul 11, 2025
3a02a58
use of size parameter
ulpi-ppi Jul 13, 2025
70763e1
start for ocel sink
ulpi-ppi Jul 18, 2025
ad0965c
ocel sink working
ulpi-ppi Jul 24, 2025
4457e55
bug fix, why we did not reach shipping anymore
ulpi-ppi Jul 24, 2025
a6ea5a7
small goldsmiths variants
ulpi-ppi Jul 30, 2025
c46ed00
add statistics and ocel petri net
ulpi-ppi Jul 30, 2025
84ab8a9
change example
ulpi-ppi Aug 6, 2025
7c43fb9
bug fix and adding original example
studiUlpi Aug 6, 2025
9a43b17
Merge remote-tracking branch 'origin/feature/refactorSimulator' into …
studiUlpi Aug 6, 2025
320d473
correct scenario goldsmith files and add files for different object t…
studiUlpi Aug 7, 2025
f2a79f0
clean up route configuration
studiUlpi Aug 7, 2025
3187aae
clean up object configuration
studiUlpi Aug 7, 2025
59c101d
clean up second example objects and routes
studiUlpi Aug 7, 2025
632ca0a
clean up another example and add another configuration for object typ…
studiUlpi Aug 7, 2025
fe4115a
Revert "clean up another example and add another configuration for ob…
studiUlpi Aug 7, 2025
b7ef833
Reapply "clean up another example and add another configuration for o…
studiUlpi Aug 7, 2025
a3d0f0f
revert misc change
studiUlpi Aug 8, 2025
e785a63
clean yaml
studiUlpi Aug 8, 2025
86422ca
add smart factory configs without WF without defects
studiUlpi Aug 8, 2025
baa7f41
add smart factory configs with WF without defects and with defects
studiUlpi Aug 8, 2025
0cd2199
fix no defects no wf
studiUlpi Aug 8, 2025
b8057a1
add shelf two product configs
studiUlpi Aug 10, 2025
96d477a
clean up simulation
studiUlpi Aug 28, 2025
17197e0
duration tests
studiUlpi Aug 28, 2025
5285f93
goldsmiths
studiUlpi Aug 28, 2025
81c3430
clean up scenarios
studiUlpi Aug 28, 2025
b4d415f
smart factory
studiUlpi Aug 28, 2025
41daf56
smart factory renaming
studiUlpi Aug 28, 2025
37e7031
add original designed smart shelf production
studiUlpi Aug 29, 2025
79b9cf1
fix problem with logging
studiUlpi Aug 29, 2025
352447c
durationTests
studiUlpi Aug 30, 2025
90b522d
durationTests
studiUlpi Aug 30, 2025
8bb2af1
add missing cases, delete unnecessary test and clean simulation return
studiUlpi Oct 7, 2025
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
  •  
  •  
  •  
20 changes: 20 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Docker Image CI

on:
push:
branches: [ "release/*" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build image
run: docker build . --file Dockerfile --tag hendrikreiter/distributed_event_factory:0.2.2
- name: Push image
run: docker push hendrikreiter/distributed_event_factory:0.2.2
60 changes: 60 additions & 0 deletions .github/workflows/test-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Publish to TestPyPI

on:
push:
branches: [ "release/*" ]

jobs:
build:
name: Build distribution 📦
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test
run: |
python3 -m unittest test.integration_test.IntegrationTest.test_integration
- name: Install pypa/build
run: >-
python3 -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/

publish-to-testpypi:
name: Publish Python 🐍 distribution 📦 to TestPyPI
needs:
- build
runs-on: ubuntu-latest

environment:
name: testpypi
url: https://test.pypi.org/p/distributed-event-factory

permissions:
id-token: write

steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
15 changes: 13 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ ipython_config.py

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# However, in case of collaboration, if having benchmark-specific dependencies or dependencies
# having no cross-benchmark support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

Expand Down Expand Up @@ -150,3 +150,14 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
.DS_Store
distributed_event_factory/.DS_Store
distributed_event_factory/core/.DS_Store
distributed_event_factory/parser/.DS_Store
distributed_event_factory/parser/datasource/.DS_Store
distributed_event_factory/parser/simulation/.DS_Store
distributed_event_factory/parser/sink/.DS_Store
distributed_event_factory/provider/.DS_Store
distributed_event_factory/provider/data/.DS_Store
distributed_event_factory/provider/eventselection/.DS_Store
distributed_event_factory/provider/transition/.DS_Store
14 changes: 0 additions & 14 deletions .idea/Sensors.iml

This file was deleted.

16 changes: 1 addition & 15 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/other.xml

This file was deleted.

7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
ARG PYTHON_VERSION=3.11.4
ARG PYTHON_VERSION=3.10.12
FROM python:${PYTHON_VERSION}-slim AS base

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PYTHONPATH=/app
ENV CONFIG_FILE=proposed.yml

WORKDIR /app

Expand All @@ -23,5 +22,5 @@ RUN --mount=type=cache,target=/root/.cache/pip \
python -m pip install -r requirements.txt

USER appuser
COPY . .
CMD python3 main.py
COPY distributed_event_factory distributed_event_factory
CMD python3 distributed_event_factory/event_factory_main.py
Loading