educloudalliance / xroad-rest-gateway

Unmaintained repository. Development moved to
https://github.com/vrk-kpa/REST-adapter-service
European Union Public License 1.1
20 stars 11 forks source link

How to set up a test environment? #10

Open pe3 opened 9 years ago

pe3 commented 9 years ago

When @kyyberi announced the X-Road REST API Design Guide Developer Day on Twitter it made me think about my chances to contribute to the project. I'm wondering if it is possible for anyone to set up a test environment? Is the process documented somewhere? For me it would be a prerequisite to test writing an X-Road service before I could contribute to a guide.

petkivim commented 9 years ago

Setting up REST Gateway development environment is documented in wiki:

https://github.com/educloudalliance/xroad-rest-gateway/wiki/Setting-up-Development-Environment

After setting up the environment you can test your setup by calling the preconfigured services:

https://github.com/educloudalliance/xroad-rest-gateway/wiki/REST-Gateway-0.0.4#usage

petkivim commented 9 years ago

If you're interested in X-Road SOAP profile specification, it can be downloaded here:

https://confluence.csc.fi/download/attachments/47580926/xroad_profile_of_soap_messages_0%205.pdf?version=1&modificationDate=1415865090158&api=v2

In February we opened X-Road v6 test environment in Finland that's open for all the organizations. Would you be interested in joining the test environment as a private person or as an organization? Joining instructions (in Finnish) can be found here:

https://confluence.csc.fi/pages/viewpage.action?pageId=50177427

pe3 commented 9 years ago

I would be interested in joining as a private person. Is that possible? I got the impression from those joining instructions that it is only for organizations. Would it be possible to fulfill the technical requirements by setting up something for instance on Digital Ocean? It would be cool if you would provide a ready Docker base image.

petkivim commented 9 years ago

We have not defined policy for private persons yet, so that's currently an open question. I'll get back to that soon.

Cloud hosting is not a problem as long as you have access to the firewall configuration (host level firewall is OK). Only connections from/to the central server and other security servers should be allowed, and all the other connections blocked. Please note that only Ubuntu 14.04 LTS is supported at the moment.

pe3 commented 9 years ago

Allow it for Estonian e-residents :-)

petkivim commented 9 years ago

I'm happy to confirm that our X-Road development environment is open for private persons too. Joining instructions can be found here:

https://confluence.csc.fi/pages/viewpage.action?pageId=50177427

However, the official test environment and production environment that will be opened later this year will be for organizations only.

pe3 commented 9 years ago

@petkivim Great! But the instructions still are only for organizations. The page is last updated on 11.3. 2015.

kakoni commented 9 years ago

@pe3 And remember if you decide to join that you have fairly stable/sticky ip-address available.

petkivim commented 9 years ago

@pe3 The instructions are to be updated, but private persons can already join. Instead of organization name and address you should use your own name and address. You can leave business id blank. CSC will generate you a member code that you must use when registering your server. For organizations business id is used as member code.