-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1661 from ral-facilities/release/v2.0.0
Release v2.0.0
- Loading branch information
Showing
598 changed files
with
83,643 additions
and
84,831 deletions.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/.github | ||
/.husky | ||
/packages/datagateway-*/cypress | ||
/packages/datagateway-*/cypress.json | ||
/packages/datagateway-*/server | ||
/packages/datagateway-*/README.md | ||
**/build | ||
**/coverage | ||
**/lib | ||
**/node_modules | ||
.gitignore | ||
.prettierrc | ||
codecov.yml | ||
CODEOWNERS | ||
LICENSE.md | ||
README.md | ||
Dockerfile | ||
**/*.test.* | ||
**/setupTests* | ||
**/testData* |
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 @@ | ||
from icat.client import Client | ||
|
||
client = Client( | ||
"https://localhost:8181", | ||
checkCert=False, | ||
) | ||
client.login("simple", {"username": "root", "password": "pw"}) | ||
|
||
data_publication_type = client.new("dataPublicationType") | ||
data_publication_type.name = "User-defined" | ||
data_publication_type.description = "User-defined" | ||
data_publication_type.facility = client.get("Facility", 1) | ||
data_publication_type.create() |
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,50 @@ | ||
from icat.client import Client | ||
|
||
client = Client( | ||
"https://localhost:8181", | ||
checkCert=False, | ||
) | ||
client.login("simple", {"username": "root", "password": "pw"}) | ||
|
||
public_tables = [ | ||
"Instrument", | ||
"ParameterType", | ||
"InvestigationType", | ||
"DatasetType", | ||
"SampleType", | ||
"DatafileFormat", | ||
"Facility", | ||
"FacilityCycle", | ||
] | ||
|
||
client.createRules("R", public_tables) | ||
|
||
public_steps = [ | ||
("Datafile", "dataset"), | ||
("Dataset", "investigation"), | ||
("Sample", "investigation"), | ||
("Instrument", "instrumentScientists"), | ||
("Investigation", "investigationFacilityCycles"), | ||
("InstrumentScientist", "user"), | ||
("Investigation", "publications"), | ||
("Sample", "type"), | ||
("InvestigationUser", "user"), | ||
("Investigation", "investigationUsers"), | ||
("Investigation", "investigationInstruments"), | ||
("Dataset", "sample"), | ||
("Dataset", "datafiles"), | ||
("Investigation", "datasets"), | ||
("Investigation", "samples"), | ||
("Sample", "parameters"), | ||
("Investigation", "parameters"), | ||
("Dataset", "parameters"), | ||
("Datafile", "parameters"), | ||
] | ||
|
||
public_step_objects = [] | ||
|
||
for step in public_steps: | ||
ps = client.new("PublicStep", origin=step[0], field=step[1]) | ||
public_step_objects.append(ps) | ||
|
||
client.createMany(public_step_objects) |
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,18 @@ | ||
ICAT_URL=https://host.docker.internal:8181 | ||
FACILITY=LILS | ||
ICAT_USERNAME=root | ||
ICAT_PASSWORD=pw | ||
PUBLISHER=test | ||
MINTER_ROLE=PI | ||
VERSION=0.01 | ||
|
||
ICAT_DOI_BASE_URL=https://example.stfc.ac.uk/ | ||
ICAT_SESSION_PATH=/icat/session/ | ||
ICAT_AUTHENTICATOR_NAME=simple | ||
ICAT_CHECK_CERT=False | ||
SSL_CERT_VERIFICATION=False | ||
|
||
DATACITE_PREFIX=10.5286 | ||
DATACITE_URL=https://api.test.datacite.org/dois | ||
DATACITE_USERNAME=BL.STFC | ||
|
This file was deleted.
Oops, something went wrong.
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 @@ | ||
changelog: | ||
categories: | ||
- title: Features | ||
labels: | ||
- '*' | ||
exclude: | ||
labels: | ||
- dependencies | ||
- title: Dependencies | ||
labels: | ||
- dependencies |
Oops, something went wrong.