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

Create edge service packaging format to enable copying services #193

Open
t-fine opened this issue Jun 4, 2019 · 0 comments
Open

Create edge service packaging format to enable copying services #193

t-fine opened this issue Jun 4, 2019 · 0 comments
Assignees

Comments

@t-fine
Copy link
Collaborator

t-fine commented Jun 4, 2019

There is a poor man's example of copying services in https://raw.githubusercontent.com/open-horizon/examples/master/tools/loadResources . But a better approach is for us to define a packaging format for service definitions (and associated patterns and deployment policies):

  • tar format that holds the horizon dir
  • when we build the pkg, we push the built images to docker hub and include a reference in the pkg. Or we docker save the images to tar files and include them in the pkg.
  • add list of arches to horizon dir?
  • add post-publish script?
  • hzn sub-cmd to publish 1 service-pkg or a tar file of them:
    • 1st implement in script (both build pkg and publish pkg), then convert to hzn sub-cmd
    • unpacks and runs: hzn exchange service publish -O -P -f horizon/service.definition.json
    • also optionally publishes: pattern, dep pol, service pol
  • hzn sub-cmd to get a service from the exchange and package it
  • The enables a user to copy services from 1 org to another, or 1 exchange to another

As a reference, there is a sample telco pkging format: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/004/02.07.01_60/gs_NFV-SOL004v020701p.pdf

@t-fine t-fine added this to the Fall milestone Jun 4, 2019
@t-fine t-fine self-assigned this Jun 4, 2019
@bmpotter bmpotter removed this from the Fall milestone Oct 14, 2019
@bmpotter bmpotter added this to the Sprint 27: 1/17 milestone Oct 24, 2019
@bmpotter bmpotter removed this from the Sprint 28: 1/31 milestone Jan 24, 2020
@bmpotter bmpotter changed the title Add flag to the hzn command that would allow a service to be copied from one org to another. Consider adding a flag to the hzn command that would allow a exchange resources to be copied from one org to another Mar 5, 2020
@bmpotter bmpotter self-assigned this Jan 12, 2021
@bmpotter bmpotter changed the title Consider adding a flag to the hzn command that would allow a exchange resources to be copied from one org to another Create edge service packaging format to enable copying services Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants