Open msalihagic opened 3 months ago
I got this to work by mounting local oscal-contents directory they reference in documentation adding "-v "$(pwd)"/oscal-content:/app/oscal-content" to docker run. You know it mounted directories correctly when catalogs, components and ssp shows the files on top left menu, it also loads the editor view, shows boundary diagrams and etc. Next issue with this is API keeps returning HTML instead of JSON. I did a build without a Viewer, just with REST service, mounted local oscal-directory and able to look in directory structure in docker and see container mounted to app/oscal-contents/etc.... One doc API spec shows example call against METHOD /{model-name} and another example http://localhost:8080/oscal/v1/ssps/{{uuid}}; neither works. Making a GET http://localhost:8080/catalog, or profile, or anything at all results in 404 Not Found.
We grabbed this Docker Image (All-in-one) and are running it on Ubuntu 20.04. We're experiencing a weird issue when switching out of REST mode. When we switch, we get a blank screen, header, and sidebar. Looking at the logs, I couldn't find anything glaring about it.
Could you point us to what we might want to check? Or is this just expected behavior?