motiv-labs / janus-dashboard Goto Github PK
View Code? Open in Web Editor NEWAdmin panel for Janus, an API Gateway
License: MIT License
Admin panel for Janus, an API Gateway
License: MIT License
[Create Sticky Top navigation (Action buttons - Save, Copy, Delete button at least). Since APIs and Oauth Servers will be long pages with a lot of plugins and request users will have to scroll down an app to Save/Delete/Clone. We should add sticky top navigation for action buttons, so users can perform changes without scrolling up or down for confirmation or any other changes.]
As a inspiration believe it or not we have decided to look at our BOB :-)
Screenshots attached:
When adding a plugin, on the drop down that shows the available plugins we should use the correct names not snake case
When you try to copy an API, it does not carry over the set-up plugins from the original one.
How to reproduce:
Copy
button;Leeway for JWT date fields was added to Janus in https://github.com/hellofresh/janus/pull/281. This is single int64 field in token_strategy
section in auth spec. You can find the reference at https://github.com/hellofresh/janus/blob/master/docs/auth/oauth.md#reference
[Inactive API's appears on Health check page. We should only show Active APi's on Health Check page.]
Reproduction Steps:
davor-qa-dj
]Expected behavior:
[We should only show Active APi's on Health Check page. ]
Observed behavior:
[[Inactive API's appears on Health check page]
Currently non-URL friendly characters can be used as API endpoint name. This is a problem as they wouldn't be accessible from /apis/API_NAME
endpoint.
API endpoint name should be validated and matched against the following pattern:
/^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$/
Better styled page selectors... Maybe something like the google or Github ones
Can we add a link to the logo image so it redirects to APi's definition list or maybe Janus project page. What do you think, @italolelis ?
Given that it can require substantial time to change configurations, I would recommend to increase the session timeout. I just had it that I wanted to update/create an API and I got logged out in the middle of the process/when trying to save.
[Make Api Names clickable on Health Check page]
Reproduction Steps:
Expected behavior:
[User should be redirected to Edit page of that specific API ]
Observed behavior:
[Users are not able to edit Oauth Server and Save changes. Also if you enter in existing Oauth Server and you not make any changes and click on Save button you got 409 Conflict]
Reproduction Steps:
Expected behavior:
[Users should be able to edit existing Oauth Servers and Save changes. ]
Observed behavior:
[Editing existing Oauth Server and clicking on Save button returns modal with message: oauth server name is already registered]
[Add validation for OAuth Server Name. if you add a name of a server which already exist you are able to save that changes. Although the server is not created you are receiving a popup with a success message ]
Reproduction Steps:
User should not be able to save changes. Error message should appear in a popup that this Server Name already exist:
[Describe expected behavior here]
When clicking on Create a OAuth Server popup appears with the successful message. Although the actual server is not created we should not show popup with successful message.
While user tries to type in search field - empty page comes out.
I would suggest to have a view page, to see detail instead of using edit page
[Load Balancing Algorithms should be mandatory field in APi's. User should not be able to create a new API without filling this field. This also stands for editing part if you add existing API and remove Load Balancing Algorithms inputs.]
Reproduction Steps:
Expected behavior:
[There should be validation on Load Balancing Algorithms input field and user should be prevented of Saving or creating a new API's without filling this field. This also stands for editing part if you add existing API and remove Load Balancing Algorithms inputs.]
Observed behavior:
[Users are able to Create new Api's without adding load balancing algorithms.]
use user:admin,password: admin,Program appears Request failed with status code 405
so there will no mess inside actions and it will be easier to test them.
I tried to setup Janus with the dashboard.
I used a custom Docker compose
version: '3.3'
services:
janus:
image: quay.io/hellofresh/janus
ports:
- "8080:8080"
- "8081:8081"
depends_on:
- janus-database
volumes:
- ./janus.toml:/etc/janus/janus.toml
janus-dashboard:
image: quay.io/hellofresh/janus-dashboard
ports:
- "8082:80"
depends_on:
- janus-database
janus-database:
container_name: janus-database
image: mongo
ports:
- "27017:27017"
After docker-compose up
I'm able to navigate to the login page. But after the login the page stays blank. Any ideas?
Implement function composition using R.compose
for saving Endpoint
and OAuthServer
Move repeated code, related to rendering addetable/deletable rows, from:
src/modules/forms/plugins/RequestTransformer/HeadersSection/HeadersSection.js
src/modules/forms/plugins/RequestTransformer/QueryStringSection/QueryStringSection.js
src/modules/pages/NewApiPage/partials/RoundrobinTargets/RoundrobinTargets.js
[Logged in users are able to hit /login page and log in again in a new tab]
Reproduction Steps:
Expected behavior:
[If user is logged in, you should be able to open url:http://gw.platform-comm.hellofresh.io/ and access any page in App. User should not be able to hit /login page until user is successfully logged out of the app.]
Observed behavior:
[Logged in users are able to hit /login page and log in again in a new tab]
Screenshots attached:
openConfirmationModal
;I tried to clone and build to project on my machine but fails to build using my local node installation:
❯ make
==> Installing dependencies using dockerized node
/bin/sh: docker: command not found
make: *** [deps-docker] Error 127
I think as per the doc it should not use docker option.
Hello,
I've just found this dashboard for janus and i'm curious if i can use it without the Github app configuration?
Is this possible? And if yes, how?
Thx
Hi!
I'm trying to evaluate janus-dashboard but I'm getting just an blank page after an successful login.
TypeError: e.filter is not a function
at a (apiList.selector.js:33)
at _pipe.js:3
at _arity.js:7
at h (apiList.selector.js:40)
at index.js:76
at index.js:36
at index.js:90
at index.js:36
at Function.s [as mapToProps] (apiListContainer.js:16)
at r (wrapMapToProps.js:43)
Tried using the Docker image (latest) and tests/docker-compose.test.yml
.
[Clicking on Save button on New/Edit page of API's/Oauth Servers should redirect to List page]
Reproduction Steps:
Expected behavior:
[On some pages user is redirected to List of Api's or Oauth Servers and sometimes it stays on that specific APi or Oath Server. We should make this consistent, once user saves the changes or creates a new API/Oath Server he should be redirected to list of Apis/Oauth Servers.]
Observed behavior:
[User is not redirected on previous page and it stays on page of specific API/Oauth Server]
[If user deletes API from specific API page he should redirected to Api definitons page, because the previously deleted API page no longer exist.]
Reproduction Steps:
Expected behavior:
[Once user deletes an existing api from that specific API page he should be redirected to API definitions because previously deleted API no longer exist.]
Observed behavior:
[User is left on the API page which no longer exist.]
Having favicon might help to find where's janus dashboard on a busy browser
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.