Skip to content

adding location and command for the various forms of components #7

@pennyl67

Description

@pennyl67

In the demo experiment, we have been using the resourceIdentifier for the location and/or command used to run components and workflows, but this is not safe.

The proposal is to use for this reason the "componentLoc" with the following changes:

  • change cardinality to "unbounded"
  • move "command" (optional) under it
  • change distributionURL to distributionLocation and make it xs:string.

In this way we can handle the following examples:
a) components at github:

<ms:componentLoc>
   <ms:componentDistributionForm>sourceCode</ms:componentDistributionForm>
   <ms:distributionLocation>https://github.com/dkpro/dkpro-core/tre/master</ms:distributionLocation>
</ms:componentLoc>

b) components at Maven

<ms:componentLoc>
   <ms:componentDistributionForm>sourceAndExecutableCode</ms:componentDistributionForm>
   <ms:distributionLocation>mvn:de.tudarmstadt.ukp.dkpro.core-gpl:de.tudarmstadt.ukp.dkpro.core.standfordnlp-gpl:1.8.0</ms:distributionLocation>
   <ms:command>de.tudarmstadt.ukp.dkpro.core.stanfordnlp.StanfordNamedEntityRecognizer</ms:command>
</ms:somponentLoc>

c) docker images

<ms:componentLoc>
   <ms:componentDistributionForm>dockerImage</ms:componentDistributionForm>
   <ms:distributionLocation>lappsgrid/galaxy</ms:distributionLocation>
</ms:componentLoc>

d) components dockerised and in galaxy

<ms:componentLoc>
   <ms:componentDistributionForm>dockerImage</ms:componentDistributionForm>
   <ms:distributionLocation>docker id for funding mining</ms:distributionLocation>
   <ms:command>Foufoulas command </ms:command>
</ms:componentLoc>
<ms:componentLoc>
   <ms:componentDistributionForm>wrappedInGalaxy</ms:componentDistributionForm>
   <ms:distributionLocation>services.openminted.eu</ms:distributionLocation>
   <ms:command>funding-mining</ms:command>
</ms:componentLoc>

f) web services, their dockerised images and wrapped in Galaxy

<ms:componentLoc>
   <ms:componentDistributionForm>webService</ms:componentDistributionForm>
   <ms:distributionLocation>nlp.ilsp.gr</ms:distributionLocation>
   <ms:command>tagger</ms:command>
</ms:componentLoc>
<ms:componentLoc>
   <ms:componentDistributionForm>dockerImage</ms:componentDistributionForm>
   <ms:distributionLocation>docker id</ms:distributionLocation>
   <ms:command>endpoint</ms:command>
</ms:componentLoc>
<ms:componentLoc>
   <ms:componentDistributionForm>wrappedInGalaxy</ms:componentDistributionForm>
   <ms:distributionLocation>services.openminted.eu</ms:distributionLocation>
   <ms:command>Galaxy id</ms:command>
</ms:componentLoc>

Could @antleb @courado and @reckart check and let me know if I've missed something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions