Code Monkey home page Code Monkey logo

step-security-bot / rps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-amt-cloud-toolkit/rps

0.0 0.0 0.0 6.55 MB

The Remote Provisioning Service (RPS) is a Node.js-based microservice that works with the Remote Provisioning Client (RPC) to activate Intel® AMT platforms using a pre-defined profile.

Home Page: https://open-amt-cloud-toolkit.github.io/docs/

License: Apache License 2.0

JavaScript 0.02% TypeScript 99.88% Dockerfile 0.11%

rps's Introduction

Remote Provisioning Server

CodeQL API Tests Build Codecov OSSF-Scorecard Score Discord Docker Pulls

Disclaimer: Production viable releases are tagged and listed under 'Releases'. All other check-ins should be considered 'in-development' and should not be used in production

The Remote Provisioning Server (RPS) enables the configuration and activation of Intel® AMT devices based on a defined profile. RPS utilizes the Remote Provision Client (RPC) deployed onto edge devices to connect the devices to the Management Presence Server (MPS) and enable remote manageability features.



For detailed documentation about Getting Started or other features of the Open AMT Cloud Toolkit, see the docs.


Prerequisites

To successfully deploy RPS, the following software must be installed on your development system:

Deploy the Remote Provisioning Server (RPS) Microservice

To deploy the RPS on a local development system:

  1. Clone the repo and switch to the rps directory.

    git clone https://github.com/open-amt-cloud-toolkit/rps.git && cd rps
    
  2. Install the dependencies from the working rps directory.

    npm install
  3. Start the service.

    npm start
  4. The RPS listens on port 8081 by default. Successful installation produces the command line message:

    RPS Microservice Rest APIs listening on https://:8081.
    

For detailed documentation about RPS, see the docs


Deploy with Docker and Run API Tests

We leverage Postman and Docker for executing RESTful API tests. Once you have Postman and Docker installed, you can follow the steps below:

  1. Clone the repo and switch to the rps directory.

    git clone https://github.com/open-amt-cloud-toolkit/rps.git && cd rps
    
  2. Build the docker image.

    docker build -t rps-microservice:v1 .
    
  3. Ensure RPS is running in a docker container.

    docker-compose up -d
    
  4. Import the test collection located at ./src/test/collections/rps.postman_collection.json.

  5. Run the tests using the Collection Runner in postman. If any of the tests fail, file a github issue here: open-amt-cloud-toolkit#34


Additional Resources

rps's People

Contributors

dependabot[bot] avatar rsdmike avatar madhavilosetty-intel avatar matt-primrose avatar brianosburn-intel avatar tim-shockley avatar craig-spencer-12 avatar rjbrache avatar walt-intel avatar bwendlandt-intel avatar vinayg-intel avatar jaolanlo avatar semantic-release-bot avatar rbachala-intel avatar graikhel-intel avatar chethanbellechalu-intel avatar bill-mahoney avatar intelkrishi avatar asimmohx avatar karthikprabhuvinod avatar snyk-bot 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.