Skip to content

Conversation

@tanmoysrt
Copy link
Member

@tanmoysrt tanmoysrt commented Oct 19, 2023

Fixes #107

Tests

  • Upload Source Code
  • Cronjobs
    • HAProxy Port Exposser
  • Docker Config Generator
    • Git
    • Source Code
    • Custom
  • Redirect Rule
  • Applications with Simple One Docker Image Configuration
    • Create Successful & Coming as live
      • Image
      • Source Code
      • Git
    • Deployment Logs coming
    • Runtime Logs coming
    • Delete Application
    • Update Application
    • Environment Variables
    • Build Args
    • Add a Ingress Rules
      • Single App port, multiple exposed port
      • Multiple app port, multiple exposed port

... More will be added

Describe the changes you have made in this PR -

Graphql Resources

Type Resource Name Method Status
Query Git Credential gitCredentials
Query Git Credential gitCredential
Query Git Credential checkGitCredentialRepositoryAccess
Mutation Git Credential createGitCredential
Mutation Git Credential updateGitCredential
Mutation Git Credential deleteGitCredential
Query Image Repo Credential imageRegistryCredentials
Query Image Repo Credential imageRegistryCredential
Mutation Image Repo Credential createImageRegistryCredential
Mutation Image Repo Credential updateImageRegistryCredential
Mutation Image Repo Credential deleteImageRegistryCredential
Query Persistent Volume persistentVolumes
Query Persistent Volume persistentVolume
Query Persistent Volume isExistPersistentVolume
Mutation Persistent Volume createPersistentVolume
Mutation Persistent Volume deletePersistentVolume
Query Application applications
Query Application application
Query Application isExistApplicationName
Mutation Application createApplication
Mutation Application updateApplication
Mutation Application deleteApplication
Query Domain domains
Query Domain domain
Query Domain verifyDomainConfiguration
Mutation Domain addDomain
Mutation Domain removeDomain
Mutation Domain issueSSL
Mutation Domain addCustomSSL
Query Ingress Rule ingressRules
Query Ingress Rule ingressRule
Mutation Ingress Rule createIngressRule
Mutation Ingress Rule deleteIngressRule
Query Redirect Rule redirectRules
Query Redirect Rule redirectRule
Mutation Redirect Rule createRedirectRule
Mutation Redirect Rule deleteRedirectRule
Todos [Left due to dependency]
  • Allow to query the deployments that are using the Git Credential
  • Allow to query the deployments that are using the Image Repo Credential
  • When deployment update required, set latest deployment status pending, and add to the queue to update. This will stop previous deployment and start latest deployment, internally will do rolling update.
  • Well-crafted and standard error message
  • For delete o/p , return a message with a specific boolean value
  • Create our own pubsub [on single node will work with go channels and multi node will use redis]
  • Create our own task queue [on single node will work with go channels and multi node will use rabbitmq]
  • Use SQLite on single node and Postgres on multi node [mandatory]
  • Add recovery functions, to update state of application and enqueue tasks on swiftwave restart [only for single node]
  • Add subscription endpoint for deployment logs and runtime logs
Updated DB Design

er_1698072508516

Note: Please check Allow edits from maintainers. before creating the PR.

@tanmoysrt tanmoysrt requested a review from a team October 20, 2023 11:54
@swiftwave-org swiftwave-org deleted a comment from commit-lint bot Nov 5, 2023
@commit-lint
Copy link

commit-lint bot commented Nov 5, 2023

Chore

Features

  • graphql initiated (1c5a464)
  • types updated (661a32d)
  • enums updated (c02c2e7)
  • graphql routes for git credentials added (a560ec9)
  • graphql endpoints for image repository credentials added (560ceb0)
  • added functions for test git credential againsta a repo (9e5cdb7)
  • script added to generate graphql codes for gqlgen (9633d8c)
  • updated db design to remove json field (fb9f690)
  • git credential operations added (551bde0)
  • image registry credential operations added (448e980)
  • new graphql schemas added (8fec379)
  • functions added for persistent volume (d5a14a1)
  • resolvers added for persistent volume (700996e)
  • add resolvers and operations for applications (263c165)

Bug Fixes

  • bug fix persistent volume is exist check (38e835d)

Contributors

tanmoysrt

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

@tanmoysrt tanmoysrt marked this pull request as ready for review November 5, 2023 21:52
@tanmoysrt tanmoysrt merged commit 16436be into swiftwave-org:develop Nov 6, 2023
@tanmoysrt tanmoysrt deleted the redesign_architecture branch November 6, 2023 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restructure architecture and move to GraphQL

1 participant