Posts

Showing posts from May, 2023

JSON-RPC || BDD-Serenity

 JSON-RPC (Remote Procedure Call) is a lightweight remote procedure call protocol encoded in JSON (JavaScript Object Notation). It allows communication between a client and a server over a network by invoking methods or procedures on the server and receiving the results. JSON-RPC is a stateless protocol that operates over HTTP or other transport protocols. It is designed to be simple and language-agnostic, making it easy to implement and use in various programming languages. Here are some key aspects of JSON-RPC: Request and Response Format: JSON-RPC messages are structured as JSON objects. The request message includes the method name to be invoked and any required parameters. The response message contains the result of the method execution or an error if applicable. Methods and Procedures: JSON-RPC supports remote procedure calls, where the client invokes methods or procedures on the server. The methods are identified by a string name and can accept parameters. The server execut...

AWS || Lambda Func || CD-steps || CI-GitHub ACTIONS

Image
To set up continuous integration (CI) using GitHub Actions, follow these steps: Create a GitHub Repository: Start by creating a repository on GitHub to host your source code. If you already have a repository, you can skip this step. Define Workflow: Inside your GitHub repository, create a new directory named .github/workflows. In this directory, create a YAML file (e.g., ci.yml ) to define your CI workflow. Configure Workflow: Open the YAML file and define the workflow using the GitHub Actions syntax. Specify the trigger event, such as pushes to specific branches or pull requests. You can also configure other event types like schedule or repository dispatch. Specify Jobs and Steps: Define one or more jobs within the workflow. Each job represents a set of steps that will be executed. For example, you can have a job for building your application, running tests, and generating code coverage reports. Set up Environment: Specify the environment for your CI workflow. This includes the oper...