Coder Social home page Coder Social logo

hello-retail's Introduction

WILL.IAM

Workflow Integration Alleviates Identity and Access Management

About

WILL.IAM is a workflow-aware access control model and reference monitor that satisfies the functional requirements of the serverless computing paradigm.

Using this Repository

This repository contains the code for building OpenFaaS with WILL.IAM and deploying a sample application (Hello, Retail!). It is possible to use this repository to build the platform components and sample application, alternativley it is possible to deploying the platform and sample application using prebuilt images. If you would like to use the pre-built images skip down to the deployment section.

Build Process

In order to build the platform and sample application simply run ./build.sh from the root of the repository. You will need to be connected to the internet, as the build process will pull source code from the OpenFaaS platform and patch WILL.IAM into that codebase. Additionally you will need to have docker installed, as it is used heavily during the build process. Once you build process has finished, you can run ./retag_dev_to_prod.sh from the root of the repository. Running this script will make the deployment scripts utilizing the locally built images instead of pulling the pre-built images at deployment time.

Deployment Process

In order to deploy the platform and sample application you will need a kubectl configuration which can connect to a kubernetes cluster. Additionally you will need to install faas-cli from the OpenFaaS project. Once read to deploy, cd into the kubernetes/ directory and run ./deploy.sh. Once the script has finished, you interact with the running application. You can look at the last few lines of the deployment script for some sample curl commands to run.

Teardown Process

Once finished with running the deployment, you can fully cleanup the platform and sample application by running ./teardown.sh.

Benchmarking with Hello Retail!

The benchmarks for analyzing build, orchestration, and runtime performance of WILL.IAM are including under sample-hello-retail/benchmarks/. These benchmarks are written to be used with the sample Hello Retail! application as specified in the paper. There are a few dependencies which must be installed in order to utilize all of the benchmarking scripts. These dependencies include ab (ApacheBench), multitime, requests for python 3, and docker.

hello-retail's People

Contributors

asankaran avatar ricnava00 avatar

Watchers

 avatar

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.