-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add outline of doc pages to consdb/doc/
- Loading branch information
1 parent
8cd8957
commit d31a958
Showing
24 changed files
with
164 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
"""Sphinx configuration file for an LSST stack package. | ||
This configuration only affects single-package Sphinx documenation builds. | ||
This configuration only affects single-package Sphinx documentation builds. | ||
""" | ||
|
||
from documenteer.conf.guide import * # noqa: F403,F401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
############### | ||
Adding Columns | ||
############### | ||
|
||
* Values should be usefully summarized | ||
* Try to make everything into some kind of scalar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
############## | ||
Adding Tables | ||
############## | ||
|
||
* Each source of data should have its own table(s) | ||
* Each dimension combination (exposure, visit, exposure+detector, visit+detector, etc.) should have its own table(s) | ||
* Normalize when possible | ||
* De-normalize via views to make querying easier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
################## | ||
Contributor Guide | ||
################## | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
adding-tables | ||
adding-columns | ||
inserting-information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
##################### | ||
Inserting Information | ||
##################### | ||
|
||
* Sasquatch | ||
* REST API | ||
* Direct Kafka messages | ||
|
||
* ConsDB client library in summit_utils | ||
* ConsDB REST API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
################## | ||
Building Artifacts | ||
################## | ||
|
||
* Dockerfiles | ||
* GitHub Actions workflows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
############################ | ||
ConsDbClient in summit_utils | ||
############################ | ||
|
||
How to write and test code in summit_utils for ConsDbClient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
############# | ||
Documentation | ||
############# | ||
|
||
* This Site | ||
* Other Documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
################# | ||
Developer Guide | ||
################# | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
repository-structure | ||
building-artifacts | ||
consdbclient-summit-utils | ||
standards-practices | ||
documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#################### | ||
Repository Structure | ||
#################### | ||
|
||
Each of the services in their own directory (coming soon) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
####################### | ||
Standards and Practices | ||
####################### | ||
|
||
Standards and practices |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,6 @@ Documentation | |
:maxdepth: 1 | ||
|
||
user-guide/index | ||
contributor-guide/index | ||
developer-guide/index | ||
operator-guide/index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
########### | ||
Deployment | ||
########### | ||
|
||
* Database | ||
* REST API Server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
############## | ||
Operator Guide | ||
############## | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
runbook | ||
schema-migration-process | ||
deployment | ||
monitoring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
########### | ||
Monitoring | ||
########### | ||
|
||
* Database | ||
* REST API Server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
######## | ||
RunBook | ||
######## | ||
|
||
Maybe from ConsDb Usage Confluence page? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
######################## | ||
Schema Migration Process | ||
######################## | ||
|
||
* Add columns to sdm_schemas | ||
* Create alembic migration | ||
* Test migration and code to populate the new columns/tables at TTS/BTS if Summit schema is changing | ||
* Deploy migration in synchrony at Summit (if necessary), USDF, and Prompt Release (if necessary) | ||
* Deploy code to populate at Summit and/or USDF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
###################################### | ||
ConsDB Client Library in summit_utils | ||
###################################### | ||
|
||
Querying using ConsDbClient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
################ | ||
ConsDB REST API | ||
################ | ||
|
||
Link to Swagger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
###################### | ||
Description and Goals | ||
###################### | ||
|
||
https://dmtn-227.lsst.io/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
######## | ||
Schemas | ||
######## | ||
|
||
* Types of schemas | ||
* Summit for observers and Summit systems | ||
* Smallest, contains primary key information from HeaderService and additional information from other Summit systems, including experimental and engineering data | ||
* USDF for staff and analytical uses | ||
* Largest, contains a full replica of the Summit plus additional information from USDF systems including Prompt Processing and Data Release Production, possibly Calibration Products Production, and human annotations from processing campaigns | ||
* Release for science users | ||
* Near-real-time "prompt" ConsDB replicates a subset of the USDF version | ||
* Data Release ConsDB is a snapshot of a subset of the USDF version with data pertaining to the exposures/visits in the DR | ||
* Schema browser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
############################## | ||
SQL Clients (not recommended) | ||
############################## | ||
|
||
* Connection information | ||
* Summit | ||
* USDF | ||
* Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
############ | ||
TAP Clients | ||
############ | ||
|
||
* Connection information | ||
* Summit | ||
* USDF | ||
* Release |