This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
Separate client and runtime connections (contributes to #776) #785
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The work for #776 requires that the runtime connection and runtime ops view works very differently to how it works today, so the time has come to split client and runtime connections apart.
This is the first stage of the changes where we simply separate the interfaces and make sure the right code is using the right one. Further changes will come where the methods on each interface are cut down, and common code moved into the right place.
I started off with this change, then found that we need to do this and backed it out:
This is because we have to switch to the admin identity, instead of the Admin@org1.example.com identity, in order to perform CA operations. Will remove that later when the admin identity can be used everywhere!
Signed-off-by: Simon Stone sstone1@uk.ibm.com