NASA-AMMOS / NASA-AMMOS/AIT-Core

List plugins and streams by their names in server config

Open
#165 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
56
Forks
35
Avg merge
1d 20h
Merged PRs (30d)
3

Description

Currently, accessing a plugin's or stream's config from outside their creation requires iterating through the list of plugins/streams in order to find the one that matches what you're looking for, because their configs are in a yaml list where every element is generically named plugin or stream. It would allow for easier access if they were listed by their name.

For example, instead of

    server:
         plugins:
             - plugin:
                 name: ait.gui.AITGUIPlugin
                 inputs:
                     - telem_stream
                     - log_stream
                 outputs:
                     - command_stream

it would be

    server:
         plugins:
             - ait.gui.AITGUIPlugin:
                 inputs:
                     - telem_stream
                     - log_stream
                 outputs:
                     - command_stream

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the server configuration parser and the YAML handling for plugins and streams. Compare the current generic plugin/stream list shape with the name-keyed shape shown in the issue; done means the requested configuration form is accepted and external lookup no longer requires iterating through the lists.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.