Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/admin/explanations/authentication.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TODO

- Security: various authentications (legacy exchange, oauth flows, pilots...), we need an external IDP, key rotations, etc -> authentication.md
6 changes: 3 additions & 3 deletions docs/admin/explanations/opentelemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
`diracx.routers.otel.OTELSettings` classes
`diracx` will then export metrics, traces, and logs. For the moment, nothing is really instrumented, but the infrastructure is there

![OTEL Logs](./otel-logs.png)
![OTEL Metrics](./otel-metrics.png)
![OTEL Traces](./otel-traces.png)
![OTEL Logs](https://diracx-docs-static.s3.cern.ch/assets/images/admin/explanations/otel/otel-logs.png)
![OTEL Metrics](https://diracx-docs-static.s3.cern.ch/assets/images/admin/explanations/otel/otel-metrics.png)
![OTEL Traces](https://diracx-docs-static.s3.cern.ch/assets/images/admin/explanations/otel/otel-traces.png)
4 changes: 4 additions & 0 deletions docs/admin/explanations/user-management.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TODO:
synced from IdP, adminVO, VO Admin, groups, properties

end with links to meaning of groups in DMS, WMS, etc
5 changes: 5 additions & 0 deletions docs/admin/tutorials/authentication.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TODO:

decoding a token
finding a token file
meaning of properties, policies
1 change: 1 addition & 0 deletions docs/dev/explanations/designing-functionality.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(make all the ops bulk, point to the explanations)
5 changes: 5 additions & 0 deletions docs/dev/explanations/extensions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# TODO

How extensions works and what you need to consider when extending

only one extension
2 changes: 2 additions & 0 deletions docs/dev/explanations/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ Note: `diracx-logic` does not contain any unit tests, developers are expected to
For the integration tests, we always use the [services|tasks|client] dev image and do a pip install directly with `--no-deps`.

Same for unit tests (router tests use `services:dev`, etc)

Possibly: reference of all the fixtures we have
4 changes: 4 additions & 0 deletions docs/dev/how-to/add-a-test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# TODO

- Adding a test for a DB
- Adding a test for a router with initial db content
3 changes: 3 additions & 0 deletions docs/dev/how-to/extend-diracx/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TODO

how to mechanically create the extension (reference to gubbins)
11 changes: 11 additions & 0 deletions docs/dev/reference/application-state.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# TODO

whatever is a singletin

- engine context
- config source
- etc

Dependency injection mechanism

- dependency injections (in a service you do this, in a task you do this)
Empty file.
2 changes: 2 additions & 0 deletions docs/dev/reference/coding-conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

TODO: update

DO NOT FORGET TESTS

Most style are enforced with the pre-commit hooks which automatically reformat the code and sort the imports.
Code should follow PEP-8, particularly for [naming conventions](https://peps.python.org/pep-0008/#prescriptive-naming-conventions) as these aren't modified by the pre-commit hooks.

Expand Down
Empty file.
3 changes: 3 additions & 0 deletions docs/dev/reference/entrypoints.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#TODO

list of entrypoints and what they are
3 changes: 3 additions & 0 deletions docs/dev/reference/security-policies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# TODO

uses the security-properties
3 changes: 3 additions & 0 deletions docs/dev/reference/security-properties.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# TODO

auto generated dump of properties
8 changes: 8 additions & 0 deletions docs/dev/tutorials/advanced-tutorial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# TODO

Add a new system:
add a new DB
adding a router
add settings
add a policy
add tasks
3 changes: 3 additions & 0 deletions docs/dev/tutorials/getting-started.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
TODO

refer to fast API

GEtting a dev environment
`run_local`
`run pytest`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# TODO

Modify an existing router

follow the fast API

add a new empty route hello world

Add the auth

### User information

The `user_info` object contains validation information about the current user, extracted from the authorization header of the request.
See the `UserInfo` class for the available properties.

Use the DB of the router

something about Tasks
6 changes: 6 additions & 0 deletions docs/dev/tutorials/write-docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#TODO

serve the documentation locally
denovio doc
mkdocs
mkdocs plugin
Loading