Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 175
    • Issues 175
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • haskell-gargantexthaskell-gargantext
  • Merge Requests
  • !329

Merged
Opened Sep 02, 2024 by Alfredo Di Napoli@AlfredoDiNapoli
  • Report abuse
Report abuse

Show proxy status; do not spawn Application if disabled

This is a small MR for something I had started working on as part of #364, but that I have now to pause.

This MR does two things: it reports the status of the microservices proxy in the portRouteInfo, so that if that's disabled we would immediately know, and it also stop spawn the proxy Application in case it's disabled. This wasn't the case before; previously we would be spawing the proxy process even though it was "morally" disabled.

If the proxy is disabled we will now see:

==========================================================================================================
 GarganText Main Routes
==========================================================================================================
 - Web GarganText Frontend..................: http://localhost:8008/index.html
 - Swagger UI (API documentation)...........: http://localhost:8008/swagger-ui
 - Playground GraphQL (API documentation)...: http://localhost:8008/gql
 - Microservices proxy .....................: DISABLED (enable in gargantext-settings.toml)
 - Central exchange.........................: nanomsg: ipc:///tmp/central-exchange.ipc
 - Dispatcher internal......................: nanomsg: ipc:///tmp/dispatcher.ipc
 - WebSocket address........................: ws://localhost:8008/ws
==========================================================================================================

(Note the DISABLED). Previously I would always scratch my head on why the proxy wasn't working, just to remember I had it disabled in the .toml settings.

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b adinapoli/issue-364-part-3 origin/adinapoli/issue-364-part-3

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/dev
git merge --no-ff adinapoli/issue-364-part-3

Step 4. Push the result of the merge to GitLab

git push origin dev

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 0
  • Commits 1
  • Pipelines 1
  • Changes 2
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
1
Labels
Ready to merge
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext!329

Revert this commit

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this commit

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.