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

Blank REST Mode #274

Open
msalihagic opened this issue Jul 12, 2024 · 1 comment
Open

Blank REST Mode #274

msalihagic opened this issue Jul 12, 2024 · 1 comment

Comments

@msalihagic
Copy link

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?

image

@ldvareckas
Copy link

ldvareckas commented Aug 9, 2024

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.

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