Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate out server-side code for DataGateway #445

Open
brianritchie1312 opened this issue Aug 12, 2019 · 4 comments
Open

Separate out server-side code for DataGateway #445

brianritchie1312 opened this issue Aug 12, 2019 · 4 comments
Assignees

Comments

@brianritchie1312
Copy link
Contributor

The DataGateway will want to use Topcat's server side, but not the browser client.
Though ultimately we may want to pull the code out into a separate project, perhaps we could create a branch in which the Javascript and its dependencies are removed?
It seems likely that DataGateway will want to make modifications, but it may still be useful to be able to merge-in individual changes between this and the Topcat master.

@brianritchie1312 brianritchie1312 self-assigned this Aug 12, 2019
@andygotz
Copy link

andygotz commented Aug 12, 2019 via email

@brianritchie1312
Copy link
Contributor Author

Sorry Andy, it's the name for Topcat's replacement.

brianritchie1312 added a commit that referenced this issue Aug 12, 2019
See #445.

Remove the browser client, and (almost) all references to it in the pom, Travis and Vagrant build configurations.
At this point, "mvn clean install" succeeds. An initial Vagrant build failed, but hopefully this has been fixed.
The topcat_admin script does not work, as it attempts to retrieve configuration details from topcat.json, which no longer exists.
@brianritchie1312
Copy link
Contributor Author

I've added many more tests to the server-side code, mainly for the classes that provide the REST API. I've pulled these into the master, and merged them into the issue#445-server-side-only branch that "fixes" this issue (but should never be pulled into the master!)

Note that unless you are using a new Vagrant build, you will have to update the simple authenticator by adding a new user called "nonroot" (with password "nonroot"); this is used by the AdminResource tests as a user without admin rights.

@brianritchie1312
Copy link
Contributor Author

I've added more tests, for FacilityMap and StatusCheck, to issue#445-server-side-only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants