Skip to content
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

Composed Action spike #546

Open
lukaszo opened this issue Oct 29, 2021 · 1 comment
Open

Composed Action spike #546

lukaszo opened this issue Oct 29, 2021 · 1 comment
Labels
area/community Relates to all community activities area/documentation Related to all activities around documentation area/ocf Relates to Open Capability Format enhancement New feature or request

Comments

@lukaszo
Copy link
Contributor

lukaszo commented Oct 29, 2021

Description

Sometimes we need to create so-called "Umbrella" manifests where we want to deploy several applications. This requires creating one Interface, InterfaceGroup, Types and so on. The unique part about it is that it has only one Implementation.
The only purpose of this implementation is to group actions in one place and pass artifacts between them.
This requires a lot of boilerplate YAML.

The solution may be to allow to run Composed Actions(CA) directly from API, without requiring them to exist in hub.
The syntax of CA would be very similar to the Implementation. It could have embedded policy and input.
It could be possible to store CA in files on remote locations and run actions by just providing a link to the file.

This would be similar to what Docker Compose is to Docker.

Problems:

  • Composed actions may become big. This will require creating some guideline which tells when to use what
  • It may also require defining temporal Types

Alternatives:

  • Allow creating Implementations without Interfaces

To discuss:

  • Do we need Interfaces for such Implementations? Probably not
  • Should they be stored in Hub? Probably yes

Reason

  • Improve User Experience
  • Reduce number of "Umbrella" manifests in hub

Use cases

System user will be able to create advanced deploy scenarios without having access to the HUB.

@lukaszo lukaszo added the enhancement New feature or request label Oct 29, 2021
@pkosiec pkosiec added area/community Relates to all community activities area/documentation Related to all activities around documentation area/ocf Relates to Open Capability Format labels Nov 16, 2021
@mszostok mszostok changed the title Composed action proposal Composed Action SPIKE Mar 29, 2022
@mszostok mszostok changed the title Composed Action SPIKE [SPIKE] Composed Action Mar 29, 2022
@mszostok mszostok changed the title [SPIKE] Composed Action Composed Action spike Mar 29, 2022
@mszostok
Copy link
Member

Could solve also: #563

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/community Relates to all community activities area/documentation Related to all activities around documentation area/ocf Relates to Open Capability Format enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants