Skip to content

Allow loading of archived processes by id#1220

Open
1nf0rmagician wants to merge 1 commit into
devfrom
port/extend-process-control-facade-to-release/10
Open

Allow loading of archived processes by id#1220
1nf0rmagician wants to merge 1 commit into
devfrom
port/extend-process-control-facade-to-release/10

Conversation

@1nf0rmagician
Copy link
Copy Markdown
Member

@1nf0rmagician 1nf0rmagician commented May 13, 2026

Summary

Extend process control facade to access even more (specific) information, the process control facade should be extended, e.g. for accessing an archived process by a given id.

Checklist for Submitter

  • I have tested these changes locally
  • I have updated documentation as needed
  • I have added or updated tests as appropriate
  • I have used clear and descriptive commit messages

Review

Typical tasks

  • Merge request is well described
  • Critical sections are documented in code
  • Tests are extended
  • Documentation is created / updated
  • Running in test environment
  • Ports to other maintained versions are created

Clean code

  • All unused references are removed
  • Clean code rules are respected with passion (naming, ...)
  • Avoid copy and pasted code snippets

Extend process control facade to access even more (specific) information, the process control facade should be extended, e.g. for accessing an archived process by a given id.
@1nf0rmagician 1nf0rmagician self-assigned this May 13, 2026
@1nf0rmagician 1nf0rmagician added the enhancement New feature or request label May 13, 2026
@1nf0rmagician 1nf0rmagician requested a review from dbeuchler May 13, 2026 06:06
@1nf0rmagician 1nf0rmagician added this to the Framework 10.x milestone May 13, 2026
@1nf0rmagician 1nf0rmagician force-pushed the port/extend-process-control-facade-to-release/10 branch from 4e37579 to 2995525 Compare May 15, 2026 06:43
where processEntity.Id == id
select new { processEntity.Id, processEntity.Job.RecipeId, processEntity.ReferenceId };

var entity = query.FirstOrDefault();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can youse FirstOrDefaultAsync here

/// <summary>
/// Facade interface to get even more information from the control system
/// </summary>
public interface IProcessControlExtended : IProcessControl
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a TODO here for removing it in MORYX 12?

namespace Moryx.ControlSystem.ProcessEngine;

/// <summary>
/// Facade interface to get even more information from the control system
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

control system -> process engine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants