-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation and project description #6
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this.
I could not but notice a parallelism between this
The minimum required version is 3.1.0. If saptune is not installed or the version does not meet the minimum requirement
and what we might already be happening in checks.
Is it correct to assume that very likely every operator would check something like that in the plan phase?
The plan phase is supposed to check for prerequisites so yes, in this case
the prerequisite is saptune anche the correct version
We will see much more complex approaches in the next operators when we deal
for examples with files
Il giorno mar 14 gen 2025 alle 14:25 Nelson Kopliku <
***@***.***> ha scritto:
… ***@***.**** approved this pull request.
Thanks for this.
I could not but notice a parallelism between this
The minimum required version is 3.1.0. If saptune is not installed or the
version does not meet the minimum requirement
and what we might already be happening in checks.
Is it correct to assume that very likely every operator would *check*
something like that in the plan phase?
—
Reply to this email directly, view it on GitHub
<#6 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACHZHXSV3FYXBKIY5MYQX6L2KUF4NAVCNFSM6AAAAABVE2ULRSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKNBZGY4TAOBUGM>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really good!
Thank you
README.md
Outdated
![flowchart](./flow_chart.png) | ||
|
||
An operator is a unit of code that can perform write operations on target machines. | ||
A write operation can either fail or succeed. If it succeeds, the operation will display a diff highlighting the changes before and after the commit phase. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm always in favor of using present term:
the operation displays a diff
..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
README.md
Outdated
#### COMMIT | ||
|
||
The COMMIT phase executes the actual write operations on the system, utilizing the information collected during the PLAN phase. | ||
If an error occurs during this phase, a rollback will be triggered. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a rollback is triggered
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
README.md
Outdated
If an error occurs during this phase, a rollback will be triggered. | ||
|
||
The COMMIT phase should be idempotent. If a requested change has already been applied, the commit operation is simply skipped without returning an error. | ||
Maintaining idempotency should be implemented appropriately based on the type of operations to be performed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the Maintaining
word is not needed here. Simply Idempotency should be...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Description
This PR aims to provide a basic documentation on how the operator works and the documentation for saptuneapplysolution operator.