Code Monkey home page Code Monkey logo

authoring-ui's People

Contributors

aburton207 avatar aflinton avatar apeteri avatar chris-swires avatar cmstokoe avatar dmcgihtsdo avatar granvold avatar kaicode avatar peterduff avatar pgwilliams avatar quyenly87 avatar steve-a-ihtsdo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

authoring-ui's Issues

No repository found for release-notes

We are deploying Snomed CT authoring platform in our facility. We are stuck in deployment as we are unable to find the repository of 'release-notes' service.
We have found that this service APIs has been called multiple times from authoring UI e.g. lineitems API call (attached screenshot for the same).
We need help regarding,
1.Where to find release-notes Service repository.
2. It's deployment strategy.

image

Authentication Issue in Authoring-ui

Hi,

Hope you all are doing good and safe.
Whenever we have tried to access the user login in Authoring-ui, Service Referrer of the link returns back to the home page of auth-ui( on clicking the login button)
http://arp-snowstorm.mig.in/undefinedlogin?serviceReferer=http://arp-snowstorm.mig.in/#/home
so the question here is how the authentication works in authoring-ui with IMS, also I have added the context path for /auth in nginx config file

location /auth {
			proxy_pass https://dev-ims.mig.in/api/account;
		}

Also, how can we change the service referrer of auth-ui to the IMS authentication and revert it back to the authoring-ui screen with defined user.

Note- 1) Application link is already been setup in the Crowd for IMS authentication.
2) Edited the endpointConfig.json file as per our server details.

Kindly do the needful.

Thanks & Regards
Kartik Rai (NRC India)

Grunt test error on Maven clean

Hello, I am trying to maven install the project, but I am getting the folllowing error:

`[INFO] --------------------------------------
[INFO] GRUNT TEST --NO-COLOR
[INFO] --------------------------------------
(node:20689) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Running "clean:server" (clean) task

0 paths cleaned.

Running "wiredep:app" (wiredep) task

Running "wiredep:test" (wiredep) task

Running "wiredep:sass" (wiredep) task

Running "concurrent:test" (concurrent) task
Warning: (node:20698) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. Use --force to continue.

    Aborted due to warnings.`

And also:

[ERROR] Failed to execute goal com.github.trecloux:yeoman-maven-plugin:0.2:build (run-grunt) on project authoring-ui: Error during : grunt test --no-color: Process exited with an error: 6 (Exit value: 6) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.trecloux:yeoman-maven-plugin:0.2:build (run-grunt ) on project authoring-ui: Error during : grunt test --no-color at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Error during : grunt test --no-color at com.github.trecloux.yeoman.YeomanMojo.executeCommand(YeomanMojo.java:104) at com.github.trecloux.yeoman.YeomanMojo.logAndExecuteCommand(YeomanMojo.java:85) at com.github.trecloux.yeoman.YeomanMojo.grunt(YeomanMojo.java:73) at com.github.trecloux.yeoman.YeomanMojo.execute(YeomanMojo.java:56) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 6 (Exit value: 6) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:147) at com.github.trecloux.yeoman.YeomanMojo.executeCommand(YeomanMojo.java:102) ... 25 more

Do you know what I might be doing wrong?

Build failure.

Not sure what I'm doing wrong...
I confirmed that I had the right karma versio. The other thing is the "yeoman-maven-plugin" I couldn't see any reference to it in your git page but should I be considered?

PS C:\test> mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------< org.ihtsdo.otf:authoring-ui >---------------------
[INFO] Building IHTSDO Single Concept Authoring Web Front End Angular 6.10.2
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ authoring-ui ---
[INFO]
[INFO] --- yeoman-maven-plugin:0.2:build (run-grunt) @ authoring-ui ---
[INFO] node version :
v14.15.5
[INFO] npm version :
7.5.4
[INFO] --------------------------------------
[INFO] NPM INSTALL
[INFO] --------------------------------------
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/karma
npm ERR! karma@"~0.13.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer karma@"^4.0.0 || ^5.0.0" from [email protected]
npm ERR! node_modules/grunt-karma
npm ERR! grunt-karma@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users---\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users---\AppData\Local\npm-cache_logs\2021-02-18T18_41_51_670Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.233 s
[INFO] Finished at: 2021-02-18T20:41:51+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.trecloux:yeoman-maven-plugin:0.2:build (run-grunt) on project authoring-ui: Error during : cmd /c npm install: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
PS C:\test>

What is https://dev-authoring.ihtsdotools.org/config?

Hello.

I am trying to setup Snomed Authoring Platform.
Until now, I have successfully installed and linked authoring service, authoring ui, jira, crowd and IMS so far.

But I still failed to get /config/version.
In the nginx.conf, the location /config is proxy to https://dev-authoring.ihtsdotools.org/config, which is not working, of course.
Like other locations in the nginx.conf, this location may be one of the IHTSDO services.
But I cannot even guess which one is config service in this IHTSDO open source repository.

Thank you.

Authring UI Build Issues using Grunt

Error while building application using Grunt

hi , we are trying to deploy Authoring Platform in our local environment .
We are facing issues while building Authoring UI application.

Steps Followed :

1 . Clonned authoring UI to development environment
2. Installed grunt , bower and yo using npm ( using node version 11)
3. Executed : npm install
4. Executed : bower install
5. Installed ruby version 2.4 using RVM
6. installed gem compass using command : gem install compass
7. Executed : grunt
8. faced issues , re-executed with --force .

Issues faced

Errors faced in concurrent:dist grunt task

  1. Error While loading cdnify.js
  2. error in app/style/main.css
  3. authoring UI redirects to IMS even if user has logged in

Screenshot for same :

grunt_issues

E2E integration of Authoring platform

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.

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.