This document covers core technologies and interactions between services, APIs, and applications interacting with the LSST Science Platform. The authentication use cases covered in this cover interactive users who are primarily interacting with the LSP in the following ways:
This file contains hidden or 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
Stream 1: | |
OPTIONS /bvan HTTP/1.1 | |
Host: 0.0.0.0 | |
Accept: */* | |
Content-Length: 0 | |
Connection: close | |
User-Agent: WebDAVLib/1.3 | |
HTTP/1.1 401 Unauthorized |
This file contains hidden or 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
--- | |
name: wise_00 | |
description: ALLWISE, All-Sky, NeoWISE | |
tables: | |
- name: allsky_2band_p1bm_frm | |
"@id": "#allsky_2band_p1bm_frm" | |
description: WISE Post-Cryo Single Exposure (L1b) Image Inventory Table | |
columns: | |
- name: band | |
"@id": "#allsky_2band_p1bm_frm.band" |
This file contains hidden or 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
--- | |
name: sdqa | |
description: The SDQA Schema | |
tables: | |
- name: sdqa_ImageStatus | |
'@id': "#sdqa_ImageStatus" | |
description: Unique set of status names and their definitions, e.g. 'passed', 'failed', | |
etc. | |
columns: | |
- name: sdqa_imageStatusId |
This file contains hidden or 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
CREATE TABLE sdqa.`sdqa_ImageStatus` ( | |
`sdqa_imageStatusId` SMALLINT COMMENT 'Primary key', | |
`statusName` VARCHAR(30) COMMENT 'One-word, camel-case, descriptive name of a possible image status (e.g., passedAuto, marginallyPassedManual, etc.)', | |
definition VARCHAR(255) COMMENT 'Detailed Definition of the image status' | |
)COMMENT='Unique set of status names and their definitions, e.g. ''passed'', ''failed'', etc.' | |
CREATE TABLE sdqa.`sdqa_Metric` ( |
This file contains hidden or 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
KEYWORD: (blank) | |
REFERENCE: FITS Standard | |
STATUS: reserved | |
HDU: any | |
VALUE: none | |
COMMENT: descriptive comment | |
DEFINITION: Columns 1-8 contain ASCII blanks. This keyword has no | |
associated value. Columns 9-80 may contain any ASCII text. Any number | |
of card images with blank keyword fields may appear in a header. |
This file contains hidden or 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
# Find the Stream primary key with process instances you want to skip | |
# Usually you do this from the web interfaces | |
stream_id = 254077443L | |
# Some things you will need along the way. | |
# This is actually java code you are importing | |
from org.srs.pipeline.server.sql import DatabaseUtilities | |
from org.srs.pipeline.server.sql.ProcessInstance import ProcessingStatus | |
from org.srs.pipeline.server.sql.Stream import StreamStatus |
This file contains hidden or 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
from org.srs.pipeline.server.sql import DatabaseUtilities | |
from org.srs.pipeline.server.sql.ProcessInstance import ProcessingStatus | |
from org.srs.pipeline.server.sql.Stream import StreamStatus | |
from org.srs.pipeline.server.sql.Process import ProcessType | |
status = ProcessingStatus.TERMINATED | |
import sys | |
def terminate(pi, dbu=None): | |
doClose = dbu is None | |
if doClose: |