Files
CommunitySolidServer/config/util/variables/default.json
Joachim Van Herwegen c216efd62f feat: Allow for custom CLI and variable options
* feat: (AppRunner) Mechanism to configure cli args and derive componentsjs vars from them implemented

* fix: (AppRunner) tidying

* fix: (AppRunner) tidying up

* fix: (AppRunner) runCli method made sync

* fix; (VarResolver) refactored to multiple files, and other stylistic fixes.

* chore: (AppRunner) Uses builder pattern for yargs base arguments setup to enable better typescript inference

* fix(AppRunner): refactoring AppRunner and VarResolver

* fix(AppRunner): refactoring AppRunner promise handling

* fix(AppRunner): verror dependency removal

* fix: Simplify CLI error handling

* feat: Use same config for both CLI and app instantiation

* fix: Update typings and imports

* feat: Split VariableResolver behaviour to 2 classes

* feat: Move default value behaviour from CLI to ValueComputers

* test: Add unit tests for new CLI classes

* feat: Integrate new CLI configuration with all default configurations

* feat: Add createApp function to AppRunner

* docs: Update comments in CLI-related classes

* fix: Various fixes and refactors

Co-authored-by: damooo <damodara@protonmail.com>
2022-02-11 10:00:12 +01:00

42 lines
1.5 KiB
JSON

{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^2.0.0/components/context.jsonld",
"comment": "Variables used throughout the other configs. Can be set using the CLI.",
"@graph": [
{
"comment": "Port of the server.",
"@id": "urn:solid-server:default:variable:port",
"@type": "Variable"
},
{
"comment": "Needs to be set to the base URL of the server for authentication and authorization to function.",
"@id": "urn:solid-server:default:variable:baseUrl",
"@type": "Variable"
},
{
"comment": "Folder to start the server in when using a file-based config.",
"@id": "urn:solid-server:default:variable:rootFilePath",
"@type": "Variable"
},
{
"comment": "Endpoint to call when using a SPARQL-based config.",
"@id": "urn:solid-server:default:variable:sparqlEndpoint",
"@type": "Variable"
},
{
"comment": "The max level of log messages that should be output.",
"@id": "urn:solid-server:default:variable:loggingLevel",
"@type": "Variable"
},
{
"comment": "Whether error stack traces should be shown in the server responses.",
"@id": "urn:solid-server:default:variable:showStackTrace",
"@type": "Variable"
},
{
"comment": "Path to the JSON file used to store configuration for dynamic pods.",
"@id": "urn:solid-server:default:variable:podConfigJson",
"@type": "Variable"
}
]
}