Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
cameo
cameo
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 43
    • Issues 43
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Cameo
  • cameocameo
  • Issues
  • #7

Closed
Open
Opened Apr 10, 2017 by yannick legoc@legoc
  • Report abuse
  • New issue
Report abuse New issue

Linked apps

Add the option LINKED to start() to the client APIs.

This implies:

  • When the app is terminated, the stop request is sent to each linked app (not kill).

A new function is added to the API: connectLinkedApps() : list of Instance So that a special stop can be made on the linked apps with the stop handler.

The link mechanism can be implemented:

  • App sa: the starter
  • App la: the linked app
  • Server of the starter: ss
  • Server of the linked app: ls

Solution:

  • The linked attribute is passed to ls.
  • An event thread listening to ls is started in ss if it is not already started.
  • The event thread must be synchronized.
  • When ls receives notification of a terminal state for sa, then la is stopped.
  • The event thread has a timeout: when there is no activity on a linked app, the thread terminates.
Edited Oct 10, 2020 by yannick legoc
To upload designs, you'll need to enable LFS. More information
Assignee
Assign to
Server v1 update (2)
Milestone
Server v1 update (2)
Assign milestone
Time tracking
None
Due date
None
1
Labels
feature
Assign labels
  • View project labels
Reference: cameo/cameo#7