Re: [apache/airavata-sandbox] Jupyter Platform Dashboard (PR #59)

2022-06-26 Thread DImuthu Upeksha
Hi Himanshu

Thanks for sending the PR. I merged your code to sandbox and it looks good.
I will gradually borrow react code into the original scigap ipython
repository [1]. I have written a java-based API for the backend instead of
flask because it is easy to implement the rest of the orchestration code
along with the API code. Moving forward, let's use this code base.

[1] https://github.com/SciGaP/iPython-Kerner-Changes
[2]
https://github.com/SciGaP/iPython-Kerner-Changes/tree/main/jupyter-platform/platform-api/src/main/java/org/apache/airavata/jupyter/api/controller
[3]
https://github.com/SciGaP/iPython-Kerner-Changes/blob/main/jupyter-platform/platform-api/src/main/java/org/apache/airavata/jupyter/core/OrchestrationEngine.java

Thanks
Dimuthu


On Sat, Jun 25, 2022 at 1:18 AM Himanshu Hansaria 
wrote:

> Added project for jupyter platform dashboard.
> --
> You can view, comment on, or merge this pull request online at:
>
>   https://github.com/apache/airavata-sandbox/pull/59
> Commit Summary
>
>- 1313430
>
> 
>First phase of development
>- d2c47de
>
> 
>Updated README and requirements.txt
>- 0ad0a70
>
> 
>Updated README
>
> File Changes
>
> (25 files )
>
>- *A* gsoc2022/jupyter-platform-dashboard/README.md
>
> 
>(37)
>- *A*
>
> gsoc2022/jupyter-platform-dashboard/backend/__pycache__/__init__.cpython-310.pyc
>
> 
>(0)
>- *A*
>gsoc2022/jupyter-platform-dashboard/backend/__pycache__/app.cpython-310.pyc
>
> 
>(0)
>- *A*
>gsoc2022/jupyter-platform-dashboard/backend/__pycache__/app.cpython-38.pyc
>
> 
>(0)
>- *A*
>
> gsoc2022/jupyter-platform-dashboard/backend/__pycache__/models.cpython-310.pyc
>
> 
>(0)
>- *A* gsoc2022/jupyter-platform-dashboard/backend/app.py
>
> 
>(111)
>- *A* gsoc2022/jupyter-platform-dashboard/backend/requirements.txt
>
> 
>(4)
>- *A* gsoc2022/jupyter-platform-dashboard/package-lock.json
>
> 
>(17058)
>- *A* gsoc2022/jupyter-platform-dashboard/package.json
>
> 
>(42)
>- *A* gsoc2022/jupyter-platform-dashboard/public/favicon.ico
>
> 
>(0)
>- *A* gsoc2022/jupyter-platform-dashboard/public/index.html
>
> 
>(43)
>- *A* gsoc2022/jupyter-platform-dashboard/public/logo192.png
>
> 
>(0)
>- *A* gsoc2022/jupyter-platform-dashboard/public/logo512.png
>
> 
>(0)
>- *A* gsoc2022/jupyter-platform-dashboard/public/manifest.json
>
> 
>(25)
>- *A* gsoc2022/jupyter-platform-dashboard/public/robots.txt
>
> 
>(3)
>- *A* gsoc2022/jupyter-platform-dashboard/src/App.css
>
> 

[GitHub] [airavata-sandbox] dependabot[bot] opened a new pull request, #63: Bump nanoid from 3.1.30 to 3.3.4 in /gsoc2022/jupyter-platform-dashboard

2022-06-26 Thread GitBox


dependabot[bot] opened a new pull request, #63:
URL: https://github.com/apache/airavata-sandbox/pull/63

   Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.3.4.
   
   Changelog
   Sourced from https://github.com/ai/nanoid/blob/main/CHANGELOG.md;>nanoid's 
changelog.
   
   3.3.4
   
   Fixed --help in CLI (by https://github.com/Lete114;>@​Lete114).
   
   3.3.3
   
   Reduced size (by Anton Khlynovskiy).
   
   3.3.2
   
   Fixed enhanced-resolve support.
   
   3.3.1
   
   Reduced package size.
   
   3.3
   
   Added size argument to function from 
customAlphabet (by Stefan Sundin).
   
   3.2
   
   Added --size and --alphabet arguments to 
binary (by Vitaly Baev).
   
   3.1.32
   
   Reduced async exports size (by Artyom Arutyunyan).
   Moved from Jest to uvu (by Vitaly Baev).
   
   3.1.31
   
   Fixed collision vulnerability on object in size (by Artyom 
Arutyunyan).
   
   
   
   
   Commits
   
   https://github.com/ai/nanoid/commit/fc5bd0dbba830b1e6f3e572da8e2bc9ddc1b4b44;>fc5bd0d
 Release 3.3.4 version
   https://github.com/ai/nanoid/commit/5ae2628e3b2ce10081cebc59a72f15dc4f459e0b;>5ae2628
 Update dependencies
   https://github.com/ai/nanoid/commit/2f48e9c59399fa1e9aa8693be80ad9224aaec293;>2f48e9c
 Try to fix CI
   https://github.com/ai/nanoid/commit/85991e3e2a8254c9c55b6972051560f6f446b01b;>85991e3
 fix: CLI help examples (https://github-redirect.dependabot.com/ai/nanoid/issues/361;>#361)
   https://github.com/ai/nanoid/commit/89d994cd30cac6e2cb465ea8baf3828668ad3c88;>89d994c
 Update dependencies
   https://github.com/ai/nanoid/commit/00547e79e9717e632264af4477076a4e90c23c20;>00547e7
 Fix benchmark order
   https://github.com/ai/nanoid/commit/a8f4099263b8c1befffcbf983977aa8862866915;>a8f4099
 bench: add back @​napi-rs/uuid (https://github-redirect.dependabot.com/ai/nanoid/issues/360;>#360)
   https://github.com/ai/nanoid/commit/acd897f565719ada3f6f9e509e818932afe23bdb;>acd897f
 Added postgres extension to various README files (https://github-redirect.dependabot.com/ai/nanoid/issues/359;>#359)
   https://github.com/ai/nanoid/commit/772a61307d127f58c750d360d925a75b3061f5a1;>772a613
 Update CI and dependencies
   https://github.com/ai/nanoid/commit/e7aeb0fb84efef026dd6d5c4105a08160febf205;>e7aeb0f
 Added zig-nanoid to readme. (https://github-redirect.dependabot.com/ai/nanoid/issues/357;>#357)
   Additional commits viewable in https://github.com/ai/nanoid/compare/3.1.30...3.3.4;>compare view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=nanoid=npm_and_yarn=3.1.30=3.3.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   - `@dependabot use these labels` will set the current labels as the default 
for future PRs for this repo and language
   - `@dependabot use these reviewers` will set the current reviewers as the 
default for future PRs for this repo and language
   - `@dependabot use these assignees` will set the current assignees as the 
default for future PRs for this repo and language
   - `@dependabot use this milestone` will set the current milestone as the 
default for future PRs for this repo and language
   
   You can disable automated security fix PRs for this repo from the [Security 
Alerts page](https://github.com/apache/airavata-sandbox/network/alerts).
   
   


-- 
This is an automated message 

[GitHub] [airavata-sandbox] dependabot[bot] opened a new pull request, #62: Bump async from 2.6.3 to 2.6.4 in /gsoc2022/jupyter-platform-dashboard

2022-06-26 Thread GitBox


dependabot[bot] opened a new pull request, #62:
URL: https://github.com/apache/airavata-sandbox/pull/62

   Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
   
   Changelog
   Sourced from https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md;>async's 
changelog.
   
   v2.6.4
   
   Fix potential prototype pollution exploit (https://github-redirect.dependabot.com/caolan/async/issues/1828;>#1828)
   
   
   
   
   Commits
   
   https://github.com/caolan/async/commit/c6bdaca4f9175c14fc655d3783c6af6a883e6514;>c6bdaca
 Version 2.6.4
   https://github.com/caolan/async/commit/8870da9d5022bab310413041b4079e10db3980b7;>8870da9
 Update built files
   https://github.com/caolan/async/commit/4df6754ef4e96a742956df8782fee27242a2ea12;>4df6754
 update changelog
   https://github.com/caolan/async/commit/8f7f90342a6571ba1c197d747ebed30c368096d2;>8f7f903
 Fix prototype pollution vulnerability (https://github-redirect.dependabot.com/caolan/async/issues/1828;>#1828)
   See full diff in https://github.com/caolan/async/compare/v2.6.3...v2.6.4;>compare 
view
   
   
   
   Maintainer changes
   This version was pushed to npm by https://www.npmjs.com/~hargasinski;>hargasinski, a new releaser for 
async since your current version.
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=async=npm_and_yarn=2.6.3=2.6.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   - `@dependabot use these labels` will set the current labels as the default 
for future PRs for this repo and language
   - `@dependabot use these reviewers` will set the current reviewers as the 
default for future PRs for this repo and language
   - `@dependabot use these assignees` will set the current assignees as the 
default for future PRs for this repo and language
   - `@dependabot use this milestone` will set the current milestone as the 
default for future PRs for this repo and language
   
   You can disable automated security fix PRs for this repo from the [Security 
Alerts page](https://github.com/apache/airavata-sandbox/network/alerts).
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@airavata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [airavata-sandbox] dependabot[bot] opened a new pull request, #61: Bump eventsource from 1.1.0 to 1.1.2 in /gsoc2022/jupyter-platform-dashboard

2022-06-26 Thread GitBox


dependabot[bot] opened a new pull request, #61:
URL: https://github.com/apache/airavata-sandbox/pull/61

   Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.0 
to 1.1.2.
   
   Changelog
   Sourced from https://github.com/EventSource/eventsource/blob/master/HISTORY.md;>eventsource's
 changelog.
   
   https://github.com/EventSource/eventsource/compare/v1.1.1...v1.1.2;>1.1.2
   
   Inline origin resolution, drops original dependency (https://github-redirect.dependabot.com/EventSource/eventsource/pull/281;>#281
 Espen Hovlandsdal)
   
   https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.1;>1.1.1
   
   Do not include authorization and cookie headers on redirect to different 
origin (https://github-redirect.dependabot.com/EventSource/eventsource/pull/273;>#273
 Espen Hovlandsdal)
   
   
   
   
   Commits
   
   https://github.com/EventSource/eventsource/commit/0a8b85b7d29e63b05893fd820a3cb909ca9f5b37;>0a8b85b
 1.1.2
   https://github.com/EventSource/eventsource/commit/f99ae666bc0436124aed35eaadb7422dc9a07cfe;>f99ae66
 docs: update history for 1.1.2
   https://github.com/EventSource/eventsource/commit/06c9721b47b327301a4aefe63e0a76a0b60a7585;>06c9721
 chore: rebuild polyfill
   https://github.com/EventSource/eventsource/commit/9494642e9f4b39f927f3952e6caad07acff688f3;>9494642
 fix: inline origin resolution, drop original dependency (https://github-redirect.dependabot.com/EventSource/eventsource/issues/281;>#281)
   https://github.com/EventSource/eventsource/commit/aa7a40843a978f42c0babdec125bf9e0a83bf515;>aa7a408
 1.1.1
   https://github.com/EventSource/eventsource/commit/56d489ef853a891deca121bbd463c732fee94dce;>56d489e
 chore: rebuild polyfill
   https://github.com/EventSource/eventsource/commit/4a951e58b04118c9c4d3da3d27d454972a1b4b8d;>4a951e5
 docs: update history for 1.1.1
   https://github.com/EventSource/eventsource/commit/f9f6416567bff62c1af2f4314be51d9870e94bc2;>f9f6416
 fix: strip sensitive headers on redirect to different origin
   See full diff in https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.2;>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eventsource=npm_and_yarn=1.1.0=1.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   - `@dependabot use these labels` will set the current labels as the default 
for future PRs for this repo and language
   - `@dependabot use these reviewers` will set the current reviewers as the 
default for future PRs for this repo and language
   - `@dependabot use these assignees` will set the current assignees as the 
default for future PRs for this repo and language
   - `@dependabot use this milestone` will set the current milestone as the 
default for future PRs for this repo and language
   
   You can disable automated security fix PRs for this repo from the [Security 
Alerts page](https://github.com/apache/airavata-sandbox/network/alerts).
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@airavata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [airavata-sandbox] dependabot[bot] opened a new pull request, #60: Bump minimist from 1.2.5 to 1.2.6 in /gsoc2022/jupyter-platform-dashboard

2022-06-26 Thread GitBox


dependabot[bot] opened a new pull request, #60:
URL: https://github.com/apache/airavata-sandbox/pull/60

   Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
   
   Commits
   
   https://github.com/substack/minimist/commit/7efb22a518b53b06f5b02a1038a88bd6290c2846;>7efb22a
 1.2.6
   https://github.com/substack/minimist/commit/ef88b9325f77b5ee643ccfc97e2ebda577e4c4e2;>ef88b93
 security notice for additional prototype pollution issue
   https://github.com/substack/minimist/commit/c2b981977fa834b223b408cfb860f933c9811e4d;>c2b9819
 isConstructorOrProto adapted from PR
   https://github.com/substack/minimist/commit/bc8ecee43875261f4f17eb20b1243d3ed15e70eb;>bc8ecee
 test from prototype pollution PR
   See full diff in https://github.com/substack/minimist/compare/1.2.5...1.2.6;>compare 
view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=minimist=npm_and_yarn=1.2.5=1.2.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   - `@dependabot use these labels` will set the current labels as the default 
for future PRs for this repo and language
   - `@dependabot use these reviewers` will set the current reviewers as the 
default for future PRs for this repo and language
   - `@dependabot use these assignees` will set the current assignees as the 
default for future PRs for this repo and language
   - `@dependabot use this milestone` will set the current milestone as the 
default for future PRs for this repo and language
   
   You can disable automated security fix PRs for this repo from the [Security 
Alerts page](https://github.com/apache/airavata-sandbox/network/alerts).
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@airavata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [airavata-sandbox] DImuthuUpe merged pull request #59: Jupyter Platform Dashboard

2022-06-26 Thread GitBox


DImuthuUpe merged PR #59:
URL: https://github.com/apache/airavata-sandbox/pull/59


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@airavata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: Airavata Django Portal

2022-06-26 Thread DImuthu Upeksha
Hi Lahiru,

Thanks for the PR. I just merged it. For the error in django portal, you
need to verify whether you can telnet to airavata.host:8443. If not, there
is some issue in API Server. Please send API server logs as well

Dimuthu

On Sun, Jun 26, 2022 at 7:06 AM Lahiru Jayathilake <
lahirujayathil...@gmail.com> wrote:

> Hello Everyone,
>
> A PR was created addressing the following issues. (
> https://github.com/apache/airavata/pull/306)
> * Due to some recent security changes were done to "less secure Gmail
> accounts" on 30-May-2022[1] (Updated the
> airavata/modules/ide-integration/README.md)
> * An Enum error when running the JobMonitorStarter (updated the
> email-config.yaml file)
>
> I was following
> https://github.com/apache/airavata/tree/develop/modules/ide-integration doc
> and when I tried to log in to the portal using "default-admin/123456"
> credentials I'm getting the following error.
>
> HTTPSConnectionPool(host='airavata.host', port=8443): Max retries exceeded
>> with url: /auth/realms/default/protocol/openid-connect/token (Caused by
>> SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol
>> (_ssl.c:1122)')))
>
>
> Full log - https://dpaste.com/3MLV5CSKH
>
> Does anyone know how to resolve this?
>
> [1] - https://support.google.com/accounts/answer/6010255?hl=en
>
> Thanks,
> Lahiru
>
>
> On Fri, Jun 24, 2022 at 2:24 AM Lahiru Jayathilake <
> lahirujayathil...@gmail.com> wrote:
>
>> Hi Everyone,
>>
>> I've been going through the following documentation to set up a local
>> Airavata Django development environment and try out the given samples.
>>
>> * https://github.com/apache/airavata/tree/develop/modules/ide-integration
>> * https://github.com/apache/airavata-django-portal#getting-started
>> *
>> https://apache-airavata-django-portal.readthedocs.io/en/latest/dev/new_django_app/
>>
>> Due to some code changes, one of the docs needed to be updated.
>> I've already created a pull request for that -
>> https://github.com/apache/airavata-django-portal/pull/105
>>
>>
>> When starting the API server (according to this
>> 
>> guide) I encountered an issue with the IntelliJ Idea version 2022.1.3.
>> (MacOS)
>>
>> Exception - Module 'platform-monitoring' production:
>>> java.lang.NoClassDefFoundError: com/intellij/openapi/vfs/VfsUtil
>>
>>
>> Tried updating the relevant plugins and a few ways suggested in the
>> Jetbrains issue track. However, the only way I could resolve this was to
>> downgrade the Intellij Idea. (working for 2020.3.4 version). Has anyone
>> faced a similar issue?
>>
>> Cheers!
>> Lahiru
>>
>
>
> --
> Lahiru Jayathilake
> Department of Computer Science and Engineering,
> Faculty of Engineering,
> University of Moratuwa
>
> mobile : +94 (71) 912 8355
>
> 
>


[GitHub] [airavata] DImuthuUpe merged pull request #306: Fixed enum constant issue and updated the readme to align with new gmail security changes

2022-06-26 Thread GitBox


DImuthuUpe merged PR #306:
URL: https://github.com/apache/airavata/pull/306


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@airavata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [airavata] DImuthuUpe commented on pull request #306: Fixed enum constant issue and updated the readme to align with new gmail security changes

2022-06-26 Thread GitBox


DImuthuUpe commented on PR #306:
URL: https://github.com/apache/airavata/pull/306#issuecomment-1166578090

   Thanks @lahirujayathilake 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@airavata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: Airavata Django Portal

2022-06-26 Thread Lahiru Jayathilake
Hello Everyone,

A PR was created addressing the following issues. (
https://github.com/apache/airavata/pull/306)
* Due to some recent security changes were done to "less secure Gmail
accounts" on 30-May-2022[1] (Updated the
airavata/modules/ide-integration/README.md)
* An Enum error when running the JobMonitorStarter (updated the
email-config.yaml file)

I was following
https://github.com/apache/airavata/tree/develop/modules/ide-integration doc
and when I tried to log in to the portal using "default-admin/123456"
credentials I'm getting the following error.

HTTPSConnectionPool(host='airavata.host', port=8443): Max retries exceeded
> with url: /auth/realms/default/protocol/openid-connect/token (Caused by
> SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol
> (_ssl.c:1122)')))


Full log - https://dpaste.com/3MLV5CSKH

Does anyone know how to resolve this?

[1] - https://support.google.com/accounts/answer/6010255?hl=en

Thanks,
Lahiru


On Fri, Jun 24, 2022 at 2:24 AM Lahiru Jayathilake <
lahirujayathil...@gmail.com> wrote:

> Hi Everyone,
>
> I've been going through the following documentation to set up a local
> Airavata Django development environment and try out the given samples.
>
> * https://github.com/apache/airavata/tree/develop/modules/ide-integration
> * https://github.com/apache/airavata-django-portal#getting-started
> *
> https://apache-airavata-django-portal.readthedocs.io/en/latest/dev/new_django_app/
>
> Due to some code changes, one of the docs needed to be updated.
> I've already created a pull request for that -
> https://github.com/apache/airavata-django-portal/pull/105
>
>
> When starting the API server (according to this
> 
> guide) I encountered an issue with the IntelliJ Idea version 2022.1.3.
> (MacOS)
>
> Exception - Module 'platform-monitoring' production:
>> java.lang.NoClassDefFoundError: com/intellij/openapi/vfs/VfsUtil
>
>
> Tried updating the relevant plugins and a few ways suggested in the
> Jetbrains issue track. However, the only way I could resolve this was to
> downgrade the Intellij Idea. (working for 2020.3.4 version). Has anyone
> faced a similar issue?
>
> Cheers!
> Lahiru
>


-- 
Lahiru Jayathilake
Department of Computer Science and Engineering,
Faculty of Engineering,
University of Moratuwa

mobile : +94 (71) 912 8355




[GitHub] [airavata] lahirujayathilake opened a new pull request, #306: Fixed enum constant issue and updated the readme to align with new gmail security changes

2022-06-26 Thread GitBox


lahirujayathilake opened a new pull request, #306:
URL: https://github.com/apache/airavata/pull/306

   * Fixed the following issue changing - "HTCondor" to "HTCONDOR"
`Exception in thread "main" java.lang.IllegalArgumentException: No enum 
constant 
org.apache.airavata.model.appcatalog.computeresource.ResourceJobManagerType.HTCondor
 at java.base/java.lang.Enum.valueOf(Enum.java:240) at 
org.apache.airavata.model.appcatalog.computeresource.ResourceJobManagerType.valueOf(ResourceJobManagerType.java:50)
 at 
org.apache.airavata.monitor.email.EmailBasedMonitor.lambda$loadContext$0(EmailBasedMonitor.java:106)
 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at 
org.apache.airavata.monitor.email.EmailBasedMonitor.loadContext(EmailBasedMonitor.java:103)
 at 
org.apache.airavata.monitor.email.EmailBasedMonitor.init(EmailBasedMonitor.java:73)
 at 
org.apache.airavata.monitor.email.EmailBasedMonitor.(EmailBasedMonitor.java:68)
 at 
org.apache.airavata.ide.integration.JobMonitorStarter.main(JobMonitorStarter.java:7)`
   
   * The README.md document was updated due to the recent security changes that 
happened to Gmail


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@airavata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org