Skip to content

TRS base is empty #493

@dhakehurst

Description

@dhakehurst

Hi,
(this is a very useful project by the way, thanks)

I am adding test data using the client-toolchain,
however, the trs/base seems to be empty.

according to Copilot's analysis:

The TRS is correctly registered and resource changes are tracked via trsEventHandler.onCreated() calls in RestDelegate. However, when server starts, RestDelegate maps are empty, so TRS initializes with zero resources. Once client-toolchain populates data via POST requests, new resources ARE added to TRS correctly. The fix is to make TRS initialization lazy or ensure it re-syncs after the maps are populated.

I am still too new to the code base to be sure if this is correct, but it looks like a reasonable assesment.

What am I missing?
many thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions