Skip to content

faisaladnanpeltops/icap-adaptation-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICAP Adaptation Service

ICAP Adaptation Service is an in-cluster process to monitor a RabbitMQ instance and to spin up the Request Processing pod to facilitate the Rebuild functionality of the Glasswall ICAP offering.

Built With

  • Go
  • Helm
  • Docker

Getting Started

To get a local instance up and running follow these steps:

Prerequisites

  • Kubernetes cluster running locally
  • Helm installed
  • kubectl installed

Installation

  1. Clone the repo
git clone https://github.com/filetrust/icap-adaptation-service.git
  1. cd to root
cd .\icap-adaptation-service\
  1. Create namespace on cluster
kubectl create ns icap-adaptation
  1. Create Docker Registry Secret on cluster to allow pulling the private icap-request-processing image.
kubectl create -n icap-adaptation secret docker-registry regcred --docker-server=https://index.docker.io/v1/ --docker-username=<DOCKER HUB USERNAME> --docker-password='<DOCKER HUB PASSWORD>'--docker-email=<DOCKER HUB EMAIL> 
  1. Update glasswallsourcevolume.yaml & glasswalltargetvolume.yaml to point to local test file directory
path: "/run/desktop/mnt/host/<drive>/<folder>"
  1. cd to chart directory
cd .\charts\
  1. Run Helm Install
helm install . --namespace icap-adaptation --generate-name

Usage

To start the adaptation process send a message to the RabbitMQ with the following:

Exchange: adaptation-exchange
Routing Key: adaptation-request
Body: '{"file-id": "<FILE NAME>", "request-mode": "respmod", "source-file-location": "/input/<FILE NAME>", "rebuilt-file-location": "/output/<FILE NAME>"}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •