Prototype proposal for 2a #7502
Replies: 3 comments 7 replies
-
fyi @T4ylan |
Beta Was this translation helpful? Give feedback.
-
@davidradl |
Beta Was this translation helpful? Give feedback.
-
Feedback from initial phase 1 prototyping:
This method does the same as
but gets the server from the config and does not write back to the store. The above application starts with no errors. This shows that with a minimal change we can create a standalone server. #7513. There is some unused admin and platform code. So this could be opimized to have a smaller footprint. Originally I had thought we could remove most of the admin services, but the admin services server code contains platform , common services, tenancy, server instance and validation logic. To create a smaller footprint, we would need a standalone version of the admin-services server; a spent a small amount of time playing with doing this; I felt there would be a lot of duplication of code - ideally we would refactor to have common modules that are used between the platform case and the standalone case. Or for now we leave this extra unused admin code in the application.
|
Beta Was this translation helpful? Give feedback.
-
@lpalashevski @planetf1 (@juergenhemelt I cant see Taylans id to add him here)
Relating to https://wiki.lfaidata.foundation/pages/viewpage.action?pageId=70648184 item 2a. I have been thinking about the prototype:
Phase 1:
Phase 2:
- Investigate removing the platform services and feeding through the platform information using the file system or environment variables.
Phase 3:
- investigate / agree whether config maps or environment variables are better ways to pass config and platform information
Phase 4:
- add shutdown and status rest endpoints. Hopefully we understand more about what the status will / should mean after having done phase 1 and 2.
-
Phase 5:
- remove the need for any tenancy logic.
I can have a play with phase 1 early next week, if we think this is a reasonable plan.
Beta Was this translation helpful? Give feedback.
All reactions