Giter Club home page Giter Club logo

tyk-docs's Introduction

tyk-docs's People

Stargazers

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

Watchers

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

tyk-docs's Issues

As a Tyk user I want to understand each of the Tyk systems, and which login details I need for each

Current issue: We are getting a few support requests about people not knowing the difference between their dashboard account and Tyk account portal account. They use the same password, when sometimes they are only a dashboard user, and not the Tyk account owner.

As a user:

  • I want to know how each system is different (Tyk account portal, dashboard, developer portal)
  • I want to know which details I need to login with

Migrate Tyk Identity Broker docs

Most of our documentation for the Tyk Identity Broker seems to only appear in the wiki for its Github repo and not in our official docs. I think it might be a good idea to move this information across so that all of our documentation can be found in the same place.

It's also worth noting that some of this information already appears on the site (e.g., the contents of this page can be found here) so we will want to avoid adding duplicate information.

Python comment re Docker setup

Setup assumes default python interpreter will be a python2.
/docs/get-started/with-tyk-on-premise/installation/docker/docker-quickstart/

RHEL instructions error

While investigating an issue with RHEL setup, I've found that the step 3 in our guide is broken, it's here.

This URL is returning 404.

$ wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm

Environment Variables

Enhancement proposal:

At the moment users can only download the Gateway Environment Variables as xlsx.
We could create a page for it as well as for the Dashboard and Pump which they have their own environment variables

Gateway Config Comment

There should be reference to apps folder json definitions.
/docs/configure/tyk-gateway-configuration-options/

Sizing guide

For MongoDB and Redis storage.

E.g. How many GB per million requests?

See https://community.tyk.io/t/size-estimates-for-redis-and-mongodb/1047/2

How many instances required for standard setup?

Martin recently provided a response related to this:

Gateway Nodes:
Memory: 4GB
Storage: Minimal (not dependent for application)
CPU: 4 Cores

Dashboard nodes:
Memory: 2GB
Storage: Minimal (not dependent for application)
CPU: 2 cores

Pump Nodes:
Memory: 2GB
Storage: Minimal (not dependent for application)
CPU: 2 Cores

Redis:
Memory: 7-8GB
Storage: 500GB SSD (if persistence enabled)
CPU: 2 Cores minimum

MongoDB:
Memory: 8GB or more
Storage: 3TB SSD
CPU: 2 Cores

The gateway sizing here is very generous, 1 2GB/2 core node could probably handle 2k TPS but it may run “hot”.

Regarding the deployment of Redis, for HA most of our customers opt for Redis Cluster as opposed to Redis+Sentinel as it’s a little easier to set up.

As for data retention, 2 years of data is possible, but at that transaction rate it will generate a lot of data quickly. We’ve sized Mongo’s HD to handle a large amount of data, but would recommend that we provide data management strategies so that they do not need resizing in the future – there are strategies that can be used to ensure that high-level data is retained and granular data is more short-lived.

Configure Tyk Dashboard comment

This script doesn’t take the port into consideration, it would be nice to mention that, also what to do if one configured the gateway with custom port (as it is the example).
/docs/configure/tyk-dashboard-configuration-options/

Release 1.3.8 changes

  1. Support for custom error messages in middleware using return overrides TykTechnologies/tyk#986. Basically, it is an extension to https://tyk.io/docs/customise-tyk/plugins/rich-plugins/rich-plugins-work/ ReturnOverides section. It currently points to the Github pull request, and instead, python code should be embedded to the docs itself (without manifest file).

  2. Added new proxy_default_timeout option to the Gateway, which specifies default timeout for the request to upstream API.

  3. Added new Dashboard API to verify developer credentials: /portal/developers/verify_credentials: with payload like {"username": , "password": }. Should return HTTP code 200 in case of success or 401 if credenials do not match.

  4. Extending Tyk section should somehow tell that it is possible to build completely custom developer portal, pointing to this tutorial https://github.com/TykTechnologies/tyk-custom-portal. It is up to you if you would like to move all the documentation to page in docs, and we refer it from repo readme. Also, we can embed screencast right into the docs page.

Bundler tool

What it is, how it works, basic usage.

Parent - Customise Tyk

Signature string comment re HMAC Signatures

The signatureString requires newlines, but the are not properly shown (escaped) in the go-snippet. It would also be very helpful to have a sample (valid) request + keys + headers (with some debugging values of the intermediate values) which can be used to validate your own implementation.
/docs/security/your-apis/hmac-signatures/

Third Party Identity Providers

We recently received a ticket regarding issues a user had had following our documentation on how to setup social media account access to the Dashboard (see here). Can the following points please be clarified in our docs?:

  1. How would users go about adding a login with Google or login with Facebook button to the developer login page?
  2. What should users fill in the Client ID field?
  3. What exactly is the Profile Setup process?
  4. Does this require the Tyk Identity Broker?

Release X.3.6

  1. Add new context variable request_id to https://tyk.io/tyk-documentation/transform-traffic/request-headers/#request-headers-context-variables. Now we can inject request correlation ID (for example X-Request-ID), for example: "X-Request-ID":"$tyk_context.request_id". Here is example of global_headers` with context variables TykTechnologies/tyk#713. It probably make sense to extend docs with this example.

  2. Coprocess middleware (Python, Lua, gRPC), now able to override response code, headers and body using ReturnOverrides. See TykTechnologies/tyk#763 the usage.

  3. Password reset
    Added ability to reset user passwords.
    By default user can reset only his own password.
    Add a new permission ResetPassword, but it can be granted only via the admin API using following new endpoints: /admin/users/:userId/actions/allow_reset_passwords /admin/users/:userId/actions/disallow_reset_passwords. You need make request using PUT HTTP method
    Example: curl -X PUT -H "admin-auth: <your secret>" http://<dashboard>/admin/users/:userId/actions/allow_reset_passwords

  4. Password recovery
    Now it's possible for users to recover dashboard password using email. To enable this feature to ensure that you configure email https://tyk.io/tyk-documentation/configure/outbound-email-configuration/. Do not forget about new email_backend.dashboard_domain option which should be your public dashboard hostname.

  5. Added support for Mongo SSL protocol for both Dashboard and Pump, using new mongo_ssl_insecure_skip_verify and mongo_use_ssl boolean variables

  6. Dashboard session timeout now configurable using dashboard_session_lifetime (seconds) option and reduced to 1 hour by default.

Update docs to improve Heroku journey

We have some hidden docs right now for the Heroku deployment button for Tyk Hybrid. There a few holes in the docs that we need to update for a more comprehensive guide.

  • Add more detail in docs around what happens after deployment on Heroku
  • Add link to the Heroku dashboard from the docs (probably to the bit describing what happens after deployment)
  • Explain they need to create an API in Tyk dashboard before clicking “Open app” in Heroku (link to Tyk dashboard from docs)
  • Review the page content of the page that “View” in the Heroku dashboard links to after deploying, to make it more user friendly. e.g. it links here currently: https://tyk.io/docs/get-started/with-tyk-hybrid/tutorials/ which I think is confusing. It mentions Heroku on this page (but that is another user's contribution).

Requested endpoint is forbidden

See trello for more info as well

Need to define the reasons for this issue:

  • Whitelist
  • Blacklist
  • If ACL defined which includes paths

Change to ElasticSearch datastore code sample

Feedback from the docs states:
The example elastic search configuration shows the url as “hostname:port” (“localhost:9200”,) whereas it should be “http://hostname:port”. Setting up Elastic search without the http causes an error to occur.

Page in question is: /docs/analyse/other-data-stores/#elasticsearch

Can someone confirm and I'll update the example.

Add target="_blank" to URLs

We should add target="_blank" to our URL links, especially to external sites (GitHub, etc). This would prevent the use losing their place in the docs.

Add TIB REST API

Add the above section.
More information can be found at it's own section in weDocs

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.