-
Notifications
You must be signed in to change notification settings - Fork 4
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
tLN: Instantiate supervision with valid control block reference but no related subscriptions #79
Comments
I think an option called |
Dear @danyill. I took a deeper look into the issue and am afraid there is more work to be done. The function is now doing only insert, not remove. So replace is not possible out of the box. I feel the complexity in this function comes from the fact that we allow to have
It would be interesting to me what of the What do you think about this approach? |
I'm not sure how to answer this at the moment 🤷, we might need to discuss... |
I think pulling them apart is a good idea, the logic and different features required for the two cases was becoming excessively complex and difficult for end-users. Regarding options, I think we should have:
In my heart, I am unsure that |
If a supervision exists but has no associated subscriptions on an IED I allow it to be overwritten. But our current scl-lib API does not allow this and so my test fails.
The cause is:
scl-lib/tLN/supervision/canInstantiateSubscriptionSupervision.ts
Lines 152 to 174 in f67d73d
In the lower lines because there is a valid object reference I can't "remove" the supervision. I also don't have an option to force this.
Should we have:
The text was updated successfully, but these errors were encountered: