An example of a gcube service based on Smartgears 4
Go to file
Alfredo Oliviero 535df5b3a9 added instructions in README.md, config for debug in VSCODE 2024-02-23 17:42:45 +01:00
.settings modified manager 2024-02-22 16:26:44 +01:00
.vscode added instructions in README.md, config for debug in VSCODE 2024-02-23 17:42:45 +01:00
docker put container in offline mode 2024-02-23 17:07:31 +01:00
gcube/extra-resources/WEB-INF Added an example of ecluded method 2024-02-23 15:20:22 +01:00
src/main/java/org/gcube/service/helloworld added examples 2024-02-23 17:42:45 +01:00
.classpath modified manager 2024-02-22 16:26:44 +01:00
.gitignore first commit 2024-02-21 11:44:41 +01:00
.project added instructions in README.md, config for debug in VSCODE 2024-02-23 17:42:45 +01:00
CHANGELOG.md first commit 2024-02-21 11:44:41 +01:00
Dockerfile Added an example of ecluded method 2024-02-23 15:20:22 +01:00
FUNDING.md first commit 2024-02-21 11:44:41 +01:00
LICENSE.md first commit 2024-02-21 11:44:41 +01:00
README.md added instructions in README.md, config for debug in VSCODE 2024-02-23 17:42:45 +01:00
buildImageAndStart.sh health check example added 2024-02-21 13:50:43 +01:00
buildImageAndStartWithDebug.sh first commit 2024-02-21 11:44:41 +01:00
pom.xml added authorized method 2024-02-22 09:56:36 +01:00

README.md

Smartgears4 Hello World

HelloWorld service for smartgears4

Structure of the project

  • The source code is present in the src folder.

Built With

Documentation

obtain {{TOKEN}} at https://next.dev.d4science.org/group/gcube/home

start the docker container ./buildImageAndStart.sh

test urls (replace {{TOKEN}} with your token):

http://localhost:8080/helloworld/details?gcube-token={{TOKEN}} http://localhost:8080/helloworld/hello/details?gcube-token={{TOKEN}}

http://localhost:8080/helloworld/auth?gcube-token={{TOKEN}} (checks for myRole role) http://localhost:8080/helloworld/auth/orm_member?gcube-token={{TOKEN}} (checks for OrganizationMember role)

DEBUG

start the docker container in debug Mode ./buildImageAndStartWithDebug.sh

connect the JAVA debugger to port 5005

  • VSCODE: press the green play button and start "Debug (Attach)

Change log

See Releases.

Authors

License

This project is licensed under the EUPL V.1.1 License - see the LICENSE.md file for details.

About the gCube Framework

This software is part of the gCubeFramework: an open-source software toolkit used for building and operating Hybrid Data Infrastructures enabling the dynamic deployment of Virtual Research Environments by favouring the realisation of reuse oriented policies.

The projects leading to this software have received funding from a series of European Union programmes including:

  • the Sixth Framework Programme for Research and Technological Development
    • DILIGENT (grant no. 004260);
  • the Seventh Framework Programme for research, technological development and demonstration
    • D4Science (grant no. 212488), D4Science-II (grant no.239019), ENVRI (grant no. 283465), EUBrazilOpenBio (grant no. 288754), iMarine(grant no. 283644);
  • the H2020 research and innovation programme
    • BlueBRIDGE (grant no. 675680), EGIEngage (grant no. 654142), ENVRIplus (grant no. 654182), Parthenos (grant no. 654119), SoBigData (grant no. 654024),DESIRA (grant no. 818194), ARIADNEplus (grant no. 823914), RISIS2 (grant no. 824091), PerformFish (grant no. 727610), AGINFRAplus (grant no. 731001);