Urgent
Integration with Nginx configurations
Tip
files under:
src/lib/server/classes/endpoints/are to be exposed to the Appsrc/lib/server/broker-utils/FileSystem/are to brokers that interact with the DB
As for now, there's the scaffolding to create SSL-Termination endpoints, so technically speaking, we just need a way to write those on the DB and create them
However these are the IDEAL steps we should take
Manual class
Caution
These endpoints may have been generated to address some shortcomings of this project, so NEVER DELETE them
This class if for endpoints found without any generated headers, so it's not possible
to parse them. Probably they have been generated by users while configuring something custom.
These may crash our program due to the inability to parse them
How to implement these
Tip
When in doubt, take a look at ssltermination files in the corresponding
directories
- create a file in
src/lib/server/classes/endpoints/for the classManual- create a
class Manual implements IEndpoint - create a
class ManualEndpointApp - create an
interface IManualBroker
- create a
- create a file in
src/lib/server/broker-utils/FileSystem/endpoints/for the classManualFS- create a
class ManualFS implements IEndpointFS
- create a
- create a file in
src/lib/server/broker-utils/FileSystem/endpoints/for the classManualBrokerFS- create a
class ManualBrokerFS implements IManualBroker
- create a
This class must contain all the text of the *.conf file
Endpoint class
This class handles all the logic for transactions with the FS.
there are utils for Filesystem interactions found in src/server/lib/utils/filesystem-utils.ts,
please use them if possible and add new functionalities if needed