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

E2E integration of Authoring platform #7

Open
sergiooncode opened this issue Feb 23, 2021 · 2 comments
Open

E2E integration of Authoring platform #7

sergiooncode opened this issue Feb 23, 2021 · 2 comments

Comments

@sergiooncode
Copy link

sergiooncode commented Feb 23, 2021

Hello,
I posted a question in the authoring-services repo and your answer was really useful. I found a couple more resources in other IHTSDO repos like the Jira backup file and the Nginx authoring config file which were extremely useful. I have the cookie being passed in every request at the top level as far as I can see (see snapshot below with EditThisCookie extension). I have the magic project issue created in Jira with an extension base and a product code. I also have Snowstorm backend running with the full international dump loaded. I actually got to a point where I'm logged in with a user and most of the requests are returning 200 and only a couple requests are returning 404 as you can see below.

Screenshot 2021-02-23 at 22 55 08

When I click on All Projects in the menu bar I even see the markup of the project I have created but for some reason it doesn't render on the page (as you can see below).

Screenshot 2021-02-23 at 23 10 35

I get the feeling that I might be close to having the main blocks of the Authoring platform up and running (I hope I'm not being too naive on this) which would be great since I'm working on a PoC to showcase Snomed tooling in my company as the way to handle medical terminology instead of reinventing the wheel and developing our own application (which unfortunately was done in the past not very succesfully).

Any help you can offer would be highly appreciated. Not sure if I'm a bit out of order here but if you could jump on a quick call to do a bit of troubleshooting that'd be awesome.

@Chris-Swires
Copy link
Member

Hey,

Just glancing initially with a couple of gut feelings - the first screenshot it looks as though you're serving the ui at /browser/xx, whereas in the second you're visiting root/xx - this could be the cause of the rendering issue on the projects screen - it potentially simply can't find the styles?

I'd look to serve the application at root to see if that gets you any further, if not it would be useful to see both the console output on that page, and the full network log to see if anything jumps out.

The sso integration looks to be working well and you can see the projects call going through successfully so your base setup looks good!

@sergiooncode
Copy link
Author

sergiooncode commented Mar 24, 2021

Thanks for your suggestion @Chris-Swires

The issue was related to the following lines of code below:

scaService.setEndpoint('..' + AppConstants.AUTHORING_SERVICES_ENDPOINT); in app.js, concatenation with '..' didn't seem necessary for some reason

Screenshot 2021-03-24 at 14 37 37

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