Code Monkey home page Code Monkey logo

awsthreescale_authorizer's People

Contributors

picsoung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

awsthreescale_authorizer's Issues

Hits aren't being showed by analytics into 3scale dashboard

Hi 3scale team,

I followed the tutorial about the integration between 3scale and AWS API Gateway and I can use apikey as the guide shows. However I'm being unable to show the hits into the analytics dashboards. Is this supported by this integration?

Regards.

Support for reporting on other metrics than just hits

Add support to report on other metrics than just hits.

Ideas on how to do it:

Approach 1:

  • extract endpoint from information given by AWS Gateway
  • in the AuthrepSync function, call 3scale API to find if there is a corresponding mapping rule associated to a metric
  • report on this metric
    Pros: it's dynamic (no need to synchronize when metric or mapping added/deleted on 3scale side)
    Cons: lots of call to 3scale Account Management API

Approach 2:

  • generate a JSON file with metric id and endpoints
  • extract endpoint from information given by AWS Gateway
  • look in the file if metric id exists, then report to it
    Pros: simple, less call to 3scale APIs
    Cons: not synced with 3scale backend

serverless deploy failure

I have API deployed in AWS API Gateway already.
Following the steps in the readme with AWS related variables updated based on my environment and set AWS_PROFILE in console (Ubuntu 16.04) but after running 'sls deloy', an error occurs as below:

**Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: Creating Stack...

Error --------------------------------------------------

Profile 3scale does not exist

 For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Forums: forum.serverless.com
Chat: gitter.im/serverless/serverless

Your Environment Information -----------------------------
OS: linux
Node Version: 6.11.3
Serverless Version: 1.24.1
**
Any way to resolve it? Sorry, not familiar with 3scale and serverless. I reckon the readme is for a newbie to start with.

sls deploy throws error

After editing the serverless.yaml with correct provider_key and service_id, sls_deploy thorws below error

sls deploy                                                                                    (*master+30) 14:27:04

  Serverless Error ---------------------------------------

  iamRoleStatements should be an array of objects, where each object has Effect, Action, Resource fields. Specifically, it is not an array

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information ---------------------------
     Operating System:          darwin
     Node Version:              12.4.0
     Framework Version:         1.50.0
     Plugin Version:            1.3.8
     SDK Version:               2.1.0

Shift code base to 3scale repo

Since this is supported version and people use it in production, we should be mode the code base to 3scale repo just like plugins, toolbox, cli etc. and provide support accordingly.

@picsoung let us know if you have any questions.

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.