Merge branch 'dmp-refactoring' of https://code-repo.d4science.org/MaDgiK-CITE/argos into dmp-refactoring

This commit is contained in:
Sofia Papacharalampous 2024-05-14 12:53:00 +03:00
commit fb0a8b07be
9 changed files with 24 additions and 25 deletions

View File

@ -170,7 +170,7 @@ public class FieldPersist {
.over(item.getReference()) .over(item.getReference())
.using(() -> this.validatorFactory.validator(ReferencePersist.ReferenceWithoutTypePersistValidator.class)), .using(() -> this.validatorFactory.validator(ReferencePersist.ReferenceWithoutTypePersistValidator.class)),
this.refSpec() this.refSpec()
.iff(() -> FieldType.isExternalIdentifierType(fieldType) && !this.isNull(item.getExternalIdentifier())) .iff(() -> FieldType.isExternalIdentifierType(fieldType) && !this.isNull(item.getExternalIdentifier()) && DescriptionStatus.Finalized.equals(this.status) && isVisible && required)
.on(FieldPersist._externalIdentifier) .on(FieldPersist._externalIdentifier)
.over(item.getExternalIdentifier()) .over(item.getExternalIdentifier())
.using(() -> this.validatorFactory.validator(ExternalIdentifierPersist.PersistValidator.class)) .using(() -> this.validatorFactory.validator(ExternalIdentifierPersist.PersistValidator.class))

View File

@ -2,7 +2,7 @@ web:
security: security:
enabled: true enabled: true
authorized-endpoints: [ api ] authorized-endpoints: [ api ]
allowed-endpoints: [ api/public, api/dmp/public, api/description/public, api/supportive-material/public, api/language/public, api/contact-support/public, api/dashboard/public, api/deposit/public ] allowed-endpoints: [ api/public, api/dmp/public, api/description/public, /api/supportive-material/public, api/language/public, api/contact-support/public, api/dashboard/public, prometheus, health, metrics ]
idp: idp:
api-key: api-key:
enabled: false enabled: false

View File

@ -1,2 +1,2 @@
rda-file-transformer: rda-file-transformer:
useSharedStorage: true useSharedStorage: false

View File

@ -15,3 +15,4 @@ zenodo:
repository-client-secret: ${ZENODO_CLIENT_SECRET} repository-client-secret: ${ZENODO_CLIENT_SECRET}
redirect-uri: http://host.docker.internal:8081/login/external/zenodo redirect-uri: http://host.docker.internal:8081/login/external/zenodo
has-logo: false has-logo: false
useSharedStorage: false

View File

@ -1,5 +1,9 @@
# Supplementary Services # Supplementary Services
There are four supplementary services directly integrated into this platform. They are used to extend it's functionality and improve the user experience. In this section of the docs, we will dive into each one of them, and see how they contribute to the overall usage of the platform.
Follow the links below, to find out more information about them respectively.
import DocCardList from '@theme/DocCardList'; import DocCardList from '@theme/DocCardList';
<DocCardList /> <DocCardList />

View File

@ -37,15 +37,15 @@ const config: Config = {
sidebarPath: './sidebars.ts', sidebarPath: './sidebars.ts',
// Please change this to your repo. // Please change this to your repo.
// Remove this to remove the "edit this page" links. // Remove this to remove the "edit this page" links.
editUrl: // editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
}, },
blog: { blog: {
showReadingTime: true, showReadingTime: true,
// Please change this to your repo. // Please change this to your repo.
// Remove this to remove the "edit this page" links. // Remove this to remove the "edit this page" links.
editUrl: // editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
}, },
theme: { theme: {
customCss: './src/css/custom.css', customCss: './src/css/custom.css',

View File

@ -10,32 +10,29 @@ type FeatureItem = {
const FeatureList: FeatureItem[] = [ const FeatureList: FeatureItem[] = [
{ {
title: 'Easy to Use', title: 'Produce Plan outputs',
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default, Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
description: ( description: (
<> <>
Docusaurus was designed from the ground up to be easily installed and Close the data management planning lifecycle by publishing your DMPs in a FAIR manner. Assign licenses, PIDs and publish DMPs in a repository of your choice.
used to get your website up and running quickly.
</> </>
), ),
}, },
{ {
title: 'Focus on What Matters', title: 'Update Plans',
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
description: ( description: (
<> <>
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go Treat Plans as living documents. Secure their provenance and continue work in new versions (new DOIs assigned).
ahead and move your docs into the <code>docs</code> directory.
</> </>
), ),
}, },
{ {
title: 'Powered by React', title: 'Re-use desriptions & templates',
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
description: ( description: (
<> <>
Extend or customize your website layout by reusing React. Docusaurus can Identify descriptions to be re-used in your Plan. Copy or clone descriptions to other Plans.
be extended while reusing the same header and footer.
</> </>
), ),
}, },

View File

@ -29,6 +29,10 @@
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
} }
p {
text-align: justify;
}
.outer-tab { .outer-tab {
margin-left: 1rem; margin-left: 1rem;
} }

View File

@ -15,14 +15,7 @@ function HomepageHeader() {
<Heading as="h1" className="hero__title"> <Heading as="h1" className="hero__title">
{siteConfig.title} {siteConfig.title}
</Heading> </Heading>
<p className="hero__subtitle">{siteConfig.tagline}</p> <div className="hero__subtitle">{siteConfig.tagline}</div>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Docusaurus Tutorial - 5min
</Link>
</div>
</div> </div>
</header> </header>
); );