Coder Social home page Coder Social logo

f5-icontrol-trusted-devices's Introduction

Trusted Device Services - Swagger Edition

See me published into NGINX Unit runnng in a docker container! - f5-icontrol-gateway

Overview

This is a nodejs based application which expects to be co-resident with restjavad such that it can create device trusts and proxy trusted requests.

The application provides three URI namespaces:

  • /TrustedDevicesUI - the SwaggerUI explorer web UI.
  • /TrustedDevices - used to manage the device trusts between the local restjavad instance and remote TMOS devices.
  • /TrustedProxy - used to either retrieve query parameter based trust tokens or to proxy signed iControl REST requests to remote TMOS devices.

This application was written 'schema first'. The OpenAPI schema for this application can be found in the ./api/swagger.yaml file and is served up as /api-docs/swagger.json through the swagger-ui interface. The application service uses OAS-tools, swagger-middleware to validate requests against the schema. The swagger-ui was updated to support testing the application through the swagger-ui XHR browser client. To support static publishing, the swagger-ui-dist module was used.

How is this different than the f5-api-services-gateway iControl LX based extension for TrustedDevices and TrustedProxy? It contains zero iControl LX code. It uses direct nodejs http and https module queries. It also does not mangle your HTTP requests headers 'automagically' the way the iControl LX framework does.

Running the server

To run the server, run:

npm start

To view the Swagger UI interface:

open http://localhost:3000/TrustedDevicesUI

TrustedDevicesSwaggerUI

f5-icontrol-trusted-devices's People

Contributors

jgruber avatar jgruberf5 avatar

Watchers

James Cloos 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.