Skip to content

SampleAuthorizer

thalli000 edited this page Apr 23, 2020 · 1 revision

Sample Authorizer

The included authorizer is an AWS lambda based authorizer intended for use with an API Gateway.

⚠️ The authorizer is incomplete and is only intended to be used for testing purposes.

Source Location: /authorization/authorizer-sample-aws/pom.xml

What is included

  • The authorizer lambda shell
  • The setup of the authorizer lambda and association to the API Gateway in the CloudFormation template

What is missing

  • Token evaluation/verification (see AWSLambdaStreamEntry.java)
    • When a call is made the token needs to be validated
  • Token association with customer ids
    • When a call is made the visibility for the caller is determined by what the token will allow
  • Full policy construction (to support token caching)
    • Multiple requests to different endpoints using the same token should have a policy that can be cached. This policy may allow visibility into one endpoint, while not another. A well formed policy should be constructed to indicate all access based on the initial token validation.

Visibility Doc? Do we explain this anywhere?

Priority Operation Processing

  1. Submission
  2. Scheduling
  3. Execution
    the ResourcePool

Data Object API

Agenda
the workflow
Agenda Template
the workflow definition
Customer
Insight
the scheduling queue definition
Operation Progress
the state of the running Agenda operations
Progress
the state of the running Agendas
ResourcePool
the processing resources

Service Agenda

Agenda Service
the workflow submission
Progress Service
rolled up agenda progress summary
ResourcePool Service
getting work and updating progress

Timed Processes

AgendaReclaimer
restarting stuck Agendas
AgendaRetry
retrying failed Agendas
DataObjectReaper
reaping expired data objects
PodReaper
reaping stuck Kubernetes pods

Installation

Install

Development

DevKubernetesSetup
RunLocalExecution
- RunWithMiniKube

Demo / Examples

SampleAuthorizer
SampleHandler

Product Comparison

Netflix Conductor

Clone this wiki locally