Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): Microservices Architecture #2086

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OmarAbdelSamea
Copy link
Contributor

@OmarAbdelSamea OmarAbdelSamea commented Aug 20, 2021

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 OmarAbdelSamea changed the title Feat: Microservices Architecture feat(core): Microservices Architecture Aug 21, 2021
@OmarAbdelSamea OmarAbdelSamea marked this pull request as ready for review August 21, 2021 10:01
@OmarAbdelSamea OmarAbdelSamea marked this pull request as draft August 21, 2021 10:03
@GMishx GMishx added enhancement GSOC-21 Label to tag issues and pull request for GSOC 2021 activities needs code review needs test WIP and removed WIP labels Aug 23, 2021
Copy link
Contributor

@shaheemazmalmmd shaheemazmalmmd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please squash the commits and follow git commit conventions from CONTRIBUTING.md

debian/changelog Outdated

* New upstream release
* https://github.com/fossology/fossology/releases/tag/3.11.0-rc1 for details
* New patch build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please take care release data has been over written.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pulled the latest changelog from master. but currently fo-debuild not working

Updating changelog with focal distro and 3.10.0.60-1 version.
debchange: fatal error at line 1211:
New version specified (3.10.0.60-1) is less than
the current version number (3.11.0-1)!  Use -b to force.

Docker/Dockerfile.nomos Outdated Show resolved Hide resolved
@OmarAbdelSamea OmarAbdelSamea force-pushed the OmarAbdelSamea/GSoC/Microservices branch from ff9e758 to 9c83969 Compare August 25, 2021 11:42
@github-actions github-actions bot added the has merge conflicts PR to be rebased label Aug 25, 2021
@github-actions
Copy link

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

Conflicts resolved

Added copyright and comments
@OmarAbdelSamea OmarAbdelSamea force-pushed the OmarAbdelSamea/GSoC/Microservices branch from 9c83969 to 98d8010 Compare August 25, 2021 15:18
@github-actions github-actions bot removed the has merge conflicts PR to be rebased label Aug 25, 2021
@github-actions
Copy link

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

@github-actions github-actions bot added the has merge conflicts PR to be rebased label Dec 28, 2021
@avinal
Copy link
Member

avinal commented Apr 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement GSOC-21 Label to tag issues and pull request for GSOC 2021 activities has merge conflicts PR to be rebased needs code review needs test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants