Giter Club home page Giter Club logo

cor's People

Contributors

brandonnodnarb avatar carueda avatar esip-lab avatar graybeal avatar lewismc avatar smrgeoinfo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cor's Issues

Initiate and troubleshoot installation

This task is to get the software running in its own AWS environment, without concern for ESIP or domain naming contexts. It should be fairly straightforward, if CentOS isn't an obstacle.

Add ESIP badges to the readme

As I lack auth for a PR.

This will add a Testbed badge and a Semantic Web badge:

<a href="http://esipfed.org">![](http://badge.esipfed.org/testbed.svg?display=logo)</a> <a href="http://esipfed.org">![](http://badge.esipfed.org/semanticweb.svg?display=logo)</a>

Keyword search throws error

try http://cor.esipfed.org/ont#/kw/lithology
After about 1 minute, returns:

[2018-07-24T15:06:26-07:00] An error occurred with request: GET http://cor.esipfed.org/sparql
Response from server:
 data: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request <em><a href=\"/sparql\">GET&nbsp;/sparql</a></em>.<p>\nReason: <strong>Error reading from remote server</strong></p></p>\n</body></html>\n"
 status: 502

seems like it should get some hits, e.g.
http://cor.esipfed.org/ont?iri=http://resource.geosciml.org/classifierscheme/cgi/2016.01/metamorphicgrade

Make local customizations as necessary to run software

This task will make the software executable in the AWS and ESIP environments. It may involve some subtle changes to reflect the unique domain naming and redirection issues for the ESIP context. (Reference issue #5 for information about URLs, in particular.)

Problem registering vocab

http://resource.geosciml.org/vocabulary/cgi/2016/boreholedrillingmethod.rdf
When I try to register vocab at this URL, it doesn't load the content. Its a SKOS vocabulary, opens fine in Protege 5.0.0, and at http://vocabs.ga.gov.au/cgi/sissvoc/borehole-drilling-method/resource?uri=http://resource.geosciml.org/classifierscheme/cgi/2016.01/boreholedrillingmethod. Other GeoSciML vocabs have loaded fine. I can't figure out what the problem is.

when I try to update the metadata, an error throws:
"{
"error": "No graph writer for 'OWX'"
}"

Concept IRI doesn't resolve

http://cor.esipfed.org/ont?iri=http://resource.geosciml.org/classifier/cgi/descriptionpurpose/defining_norm returns an error:

{
  "msg": "resolveUri: error getting term",
  "error": "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request <em><a href=\"/ont/api/v0/ont\">GET&nbsp;/ont/api/v0/ont</a></em>.<p>\nReason: <strong>Error reading from remote server</strong></p></p>\n</body></html>\n"
}

but
http://resource.geosciml.org/classifier/cgi/descriptionpurpose/defining_norm but defining_norm is a named individual in http://cor.esipfed.org/ont?iri=http://resource.geosciml.org/classifierscheme/cgi/2016.01/descriptionpurpose. Shouldn't it show up as a search result?

Cannot create requested ontology format

I tried manually uploading some RDF data and encountered the issue below. Is the following URI illegal?

file:/usr/local/ESIPDroneClusterSoftware/example/morning1.csvAirSpeed(m/s)

"org.mmisw.orr.ont.service.CannotCreateFormat: Map(uri -> http://cor.esipfed.org/ont/~lmcgibbn/morning1, version -> 20170412T000427, format -> rdf, error -> Cannot create requested ontology format: com.hp.hpl.jena.shared.InvalidPropertyURIException: file:/usr/local/ESIPDroneClusterSoftware/example/morning1.csvAirSpeed(m/s))\n\tat org.mmisw.orr.ont.service.OntService.getOntologyFile(OntService.scala:265)\n\tat org.mmisw.orr.ont.service.TripleStoreServiceAgRest.loadUriFromLocal(TripleStoreServiceAgRest.scala:109)\n\tat org.mmisw.orr.ont.app.OntController.org$mmisw$orr$ont$app$OntController$$loadOntologyInTripleStore(OntController.scala:634)\n\tat org.mmisw.orr.ont.app.OntController.org$mmisw$orr$ont$app$OntController$$createOntology(OntController.scala:399)\n\tat org.mmisw.orr.ont.app.OntController$$anonfun$7.apply(OntController.scala:123)\n\tat org.mmisw.orr.ont.app.OntController$$anonfun$7.apply(OntController.scala:99)\n\tat org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$liftAction(ScalatraBase.scala:270)\n\tat org.scalatra.ScalatraBase$$anonfun$invoke$1.apply(ScalatraBase.scala:265)\n\tat org.scalatra.ScalatraBase$$anonfun$invoke$1.apply(ScalatraBase.scala:265)\n\tat org.scalatra.ApiFormats$class.withRouteMultiParams(ApiFormats.scala:178)\n\tat org.mmisw.orr.ont.app.BaseController.withRouteMultiParams(BaseController.scala:11)\n\tat org.scalatra.ScalatraBase$class.invoke(ScalatraBase.scala:264)\n\tat org.mmisw.orr.ont.app.BaseController.org$scalatra$json$JsonSupport$$super$invoke(BaseController.scala:11)\n\tat org.scalatra.json.JsonSupport$$anonfun$invoke$1.apply(JsonSupport.scala:74)\n\tat org.scalatra.json.JsonSupport$$anonfun$invoke$1.apply(JsonSupport.scala:68)\n\tat org.scalatra.ApiFormats$class.withRouteMultiParams(ApiFormats.scala:178)\n\tat org.mmisw.orr.ont.app.BaseController.withRouteMultiParams(BaseController.scala:11)\n\tat org.scalatra.json.JsonSupport$class.invoke(JsonSupport.scala:68)\n\tat org.mmisw.orr.ont.app.BaseController.invoke(BaseController.scala:11)\n\tat org.scalatra.ScalatraBase$$anonfun$runRoutes$1$$anonfun$apply$8.apply(ScalatraBase.scala:240)\n\tat org.scalatra.ScalatraBase$$anonfun$runRoutes$1$$anonfun$apply$8.apply(ScalatraBase.scala:238)\n\tat scala.Option.flatMap(Option.scala:171)\n\tat org.scalatra.ScalatraBase$$anonfun$runRoutes$1.apply(ScalatraBase.scala:238)\n\tat org.scalatra.ScalatraBase$$anonfun$runRoutes$1.apply(ScalatraBase.scala:237)\n\tat scala.collection.immutable.Stream.flatMap(Stream.scala:493)\n\tat org.scalatra.ScalatraBase$class.runRoutes(ScalatraBase.scala:237)\n\tat org.scalatra.ScalatraServlet.runRoutes(ScalatraServlet.scala:49)\n\tat org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:163)\n\tat org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:175)\n\tat org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)\n\tat org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)\n\tat org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:193)\n\tat org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:175)\n\tat org.scalatra.ScalatraServlet.executeRoutes(ScalatraServlet.scala:49)\n\tat org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)\n\tat org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)\n\tat org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)\n\tat scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)\n\tat org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)\n\tat org.scalatra.ScalatraServlet.withResponse(ScalatraServlet.scala:49)\n\tat org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)\n\tat scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)\n\tat org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)\n\tat org.scalatra.ScalatraServlet.withRequest(ScalatraServlet.scala:49)\n\tat org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)\n\tat org.scalatra.ScalatraServlet.withRequestResponse(ScalatraServlet.scala:49)\n\tat org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)\n\tat org.scalatra.ScalatraServlet.org$scalatra$servlet$ServletBase$$super$handle(ScalatraServlet.scala:49)\n\tat org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)\n\tat org.mmisw.orr.ont.app.BaseController.org$scalatra$CorsSupport$$super$handle(BaseController.scala:11)\n\tat org.scalatra.CorsSupport$$anonfun$handle$1.apply$mcV$sp(CORSSupport.scala:202)\n\tat org.scalatra.CorsSupport$$anonfun$handle$1.apply(CORSSupport.scala:190)\n\tat org.scalatra.CorsSupport$$anonfun$handle$1.apply(CORSSupport.scala:190)\n\tat scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)\n\tat org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)\n\tat org.scalatra.ScalatraServlet.withResponse(ScalatraServlet.scala:49)\n\tat org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)\n\tat scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)\n\tat org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)\n\tat org.scalatra.ScalatraServlet.withRequest(ScalatraServlet.scala:49)\n\tat org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)\n\tat org.scalatra.ScalatraServlet.withRequestResponse(ScalatraServlet.scala:49)\n\tat org.scalatra.CorsSupport$class.handle(CORSSupport.scala:188)\n\tat org.mmisw.orr.ont.app.OntController.org$scalatra$servlet$FileUploadSupport$$super$handle(OntController.scala:24)\n\tat org.scalatra.servlet.FileUploadSupport$class.handle(FileUploadSupport.scala:93)\n\tat org.mmisw.orr.ont.app.OntController.handle(OntController.scala:24)\n\tat org.scalatra.ScalatraServlet.service(ScalatraServlet.scala:54)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:729)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.lang.Thread.run(Thread.java:745)\n"

add uptime monitoring/notification

Add a monitoring service (either StatusCake or Uptime Robot could work—I know about StatusCake a little) to keep track of when COR goes down, and sends email (and ideally text message) to interested parties. (List to be determined, but likely Annie and one or more of John, Carlos, and Lewis.)

NewRelic is another option but I think is too heavyweight.

The ideal solution would also generate an uptime report, though I predict it will very rarely add any value. But having that can help prove my claim that it 'never goes down'.

complete the README.md

Need to add brief description of project, links to related sites, and purpose of this repository.

Install Google analytics for COR

Create a Google Analytics account that can be used for COR, and include the appropriate code in appropriate places on the site.

add Wiki

Need to add Wiki content as appropriate.

Issue Project Completion Report

Includes:

  • Resources Used
  • Issues,
  • lessons learned
  • “State of the Art” description on the ESIP Commons
  • a financial summary of expenses

SKOS rdf/xml upload error

using a remote URL:
http://resource.geosciml.org/vocabulary/cgi/2016/geneticcategory.rdf
http://resource.geosciml.org/vocabulary/cgi/2016/featureobservationmethod.rdf
http://resource.geosciml.org/vocabulary/cgi/2016/lineationtype.rdf

Get error message
"Cannot recognize ontology format
The given URL does not resolve to a recognized ontology format.", and can't continue with upload. All of these vocab files are generated by the same automated process, I'm stumped figuring out why these don't work.

They load fine from the URL using Protege 5.0.0

Create appropriate domain forwarding from ESIP to new system, and test

The principal goal here is to make sure an appropriate ESIP-level domain was where the site was hosted. As it stands, the site is at esipsw.org, which is a lovely domain name. Should ESIP decide they want it to be at, say, esip.org/cor, at least a few installation changes would have to be made and tested.

Upload new version of SWEET to COR

Hi @carueda it would be great if we could remove any previous versions of SWEET from the COR and for us to reference the development version of SWEET such that it is always up-to-date.
Can you deal with this?
Thank you in advance Carlos

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.