fossology
fossology copied to clipboard
feat(core): Microservices Architecture
Description
Making Fossology Architecture microservice friendly.
Changes
- Added Dockerfile for
- Scheduler
- Web
- nomos
- Ojo
- Ununpack
- Copyright
- Wget_agent
- 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
- 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
- Modified
agent_spawninagent.cto get the agents from kubernetes cluster usingkubectl execinstead of ssh - Modified
agent_testinagent.cto check for agent type before testing the host - added host type in
host_tstruct. - Modifed
host_initto account for host type inhost.c - Modifed
plugin_disableincommon-pluginto only list availble agents in upload section
How to test
All installation instructions are provided in here
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request.
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request.
@GMishx @shaheemazmalmmd Just to confirm, this PR contains all the work related to the microservices project?