fossology icon indicating copy to clipboard operation
fossology copied to clipboard

feat(core): Microservices Architecture

Open OmarAbdelSamea opened this issue 4 years ago • 3 comments

Description

Making Fossology Architecture microservice friendly.

Changes

  1. Added Dockerfile for
    • Scheduler
    • Web
    • nomos
    • Ojo
    • Ununpack
    • Copyright
    • Wget_agent
  2. Added Kubernetes manfist files
    • Agents Deploymnets and service
    • Config maps and secrets
    • ETCD deployment, service and pvc
    • Database Statefulset, service and pvc
    • Scheudler Deployment, service and pvc
    • Web Deployment and service
    • Repository pvc
  3. Modfied the following function to get configuration from ETCD instead of conf files
    • scheduler_agent_config in scheudler.c
    • scheduler_foss_config in scheduler.c
    • fo_dbconnect in libfossdb
  4. Modified agent_spawn in agent.c to get the agents from kubernetes cluster using kubectl exec instead of ssh
  5. Modified agent_test in agent.c to check for agent type before testing the host
  6. added host type in host_t struct.
  7. Modifed host_init to account for host type in host.c
  8. Modifed plugin_disable in common-plugin to only list availble agents in upload section

How to test

All installation instructions are provided in here

OmarAbdelSamea avatar Aug 20 '21 17:08 OmarAbdelSamea

This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request.

github-actions[bot] avatar Aug 25 '21 11:08 github-actions[bot]

This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request.

github-actions[bot] avatar Dec 28 '21 15:12 github-actions[bot]

@GMishx @shaheemazmalmmd Just to confirm, this PR contains all the work related to the microservices project?

avinal avatar Apr 09 '24 12:04 avinal