-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add outline of doc pages to consdb/doc/ #42
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, most of this should be from (or link to) https://rubinobs.atlassian.net/wiki/spaces/LSSTOps/pages/45665320/Consolidated+Database+ConsDB+Runbook+draft+incomplete (which doesn't have much in it right now either).