Commit e5f4f84f authored by Matthias Weidenthaler's avatar Matthias Weidenthaler
Browse files

Merge branch 'main' into search-and-commit-api

parents 3e67996e e1d7b6e3
...@@ -72,10 +72,6 @@ Submit a file's content and file name to the ingestion API for further processin ...@@ -72,10 +72,6 @@ Submit a file's content and file name to the ingestion API for further processin
The function will return a successfull response as soon as the file content is successfully stored and queued for further processing. Otherwise, the function will handle errors appropriately. The function will return a successfull response as soon as the file content is successfully stored and queued for further processing. Otherwise, the function will handle errors appropriately.
A successfull response contains a task_id referring to the queued processing task. This can be used in [4. Query a L2 Processing Tasks State](#4-query-a-l2-processing-tasks-state) for querying a processing task's current state. A successfull response contains a task_id referring to the queued processing task. This can be used in [4. Query a L2 Processing Tasks State](#4-query-a-l2-processing-tasks-state) for querying a processing task's current state.
## Configuration
The helper will send HTTP requests to an external API. The external api url is set to working default values. It can be overwritten if needed via env variable, e.g.
CSST_BACKEND_API_URL=http://10.200.60.199:9010
## Function: `start_ingestion_task` ## Function: `start_ingestion_task`
```python ```python
...@@ -101,10 +97,6 @@ def start_ingestion_task(file_content: str, file_name: str) -> dict: ...@@ -101,10 +97,6 @@ def start_ingestion_task(file_content: str, file_name: str) -> dict:
# 3. Query a List Of L1/L2 Fits-Files By Metadata Values # 3. Query a List Of L1/L2 Fits-Files By Metadata Values
Query for file info by metadata values. Query for file info by metadata values.
## Configuration
The helper will send HTTP requests to an external API. The external api url is set to working default values. It can be overwritten if needed via env variable, e.g.
CSST_BACKEND_API_URL=http://10.200.60.199:9010
## Function: `query_metadata` ## Function: `query_metadata`
```python ```python
def query_metadata( def query_metadata(
...@@ -183,10 +175,6 @@ filter = { ...@@ -183,10 +175,6 @@ filter = {
# 4. Query a L2 Processing Tasks State # 4. Query a L2 Processing Tasks State
Query the processing state of a processing task given a L2 task id. Query the processing state of a processing task given a L2 task id.
## Configuration
The helper will send HTTP requests to an external API. The external api url is set to working default values. It can be overwritten if needed via env variable, e.g.
CSST_BACKEND_API_URL=http://10.200.60.199:9010
## Function: `query_task_state` ## Function: `query_task_state`
```python ```python
def query_task_state( def query_task_state(
...@@ -210,10 +198,6 @@ def query_task_state( ...@@ -210,10 +198,6 @@ def query_task_state(
# 5. Query a Star Catalog # 5. Query a Star Catalog
Query a star catalog by column values given a ra, dec and radius preselection. Query a star catalog by column values given a ra, dec and radius preselection.
## Configuration
The helper will send HTTP requests to an external API. The external api url is set to working default values. It can be overwritten if needed via env variable, e.g.
CSST_BACKEND_API_URL=http://10.200.60.199:9010
## Function: `query_star_catalog` ## Function: `query_star_catalog`
```python ```python
def query_star_catalog( def query_star_catalog(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment