{"id":22445876,"url":"https://github.com/virtualansoftware/service-virtualization-openapi","last_synced_at":"2025-04-13T20:15:36.886Z","repository":{"id":37586021,"uuid":"137461736","full_name":"virtualansoftware/service-virtualization-openapi","owner":"virtualansoftware","description":"Service virtualization is the simulation of the behavior of software components that are unavailable or otherwise restricted during the preproduction stage of the software development lifecycle. ","archived":false,"fork":false,"pushed_at":"2025-03-17T07:22:20.000Z","size":65382,"stargazers_count":3,"open_issues_count":29,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T20:15:33.268Z","etag":null,"topics":["automated-testing","dynamic-mock","microservice","mock-server","mock-services","mocking","service-virtualization","shift-left","stub","stubbing","stubs","testing"],"latest_commit_sha":null,"homepage":"https://live.virtualandemo.com/virtualan-ui","language":"Gherkin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/virtualansoftware.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-15T08:27:40.000Z","updated_at":"2024-10-06T14:27:33.000Z","dependencies_parsed_at":"2023-02-05T03:16:26.295Z","dependency_job_id":"2aff3926-b350-4276-b223-dae2d5e876b4","html_url":"https://github.com/virtualansoftware/service-virtualization-openapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtualansoftware%2Fservice-virtualization-openapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtualansoftware%2Fservice-virtualization-openapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtualansoftware%2Fservice-virtualization-openapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtualansoftware%2Fservice-virtualization-openapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/virtualansoftware","download_url":"https://codeload.github.com/virtualansoftware/service-virtualization-openapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248774966,"owners_count":21159534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automated-testing","dynamic-mock","microservice","mock-server","mock-services","mocking","service-virtualization","shift-left","stub","stubbing","stubs","testing"],"created_at":"2024-12-06T03:17:09.987Z","updated_at":"2025-04-13T20:15:36.855Z","avatar_url":"https://github.com/virtualansoftware.png","language":"Gherkin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" \u003e Virtualan \u003c/h1\u003e\r\n\r\n[![Maven Central](https://img.shields.io/maven-central/v/io.virtualan/virtualan-plugin.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.virtualan%22%20AND%20a:%22virtualan-plugin%22)  [![Build Status](https://travis-ci.com/virtualansoftware/service-virtualization-openapi.svg?branch=master)](https://travis-ci.com/virtualansoftware/service-virtualization-openapi)\r\n\r\n\u003e Virtualan is an open source-based Open API Interface driven, Kafka, AMQ and MQTT Service virtualization product. It supports #OpenAPI, #AsyncAPI test development. This supports #shiftleft testing.\r\n\r\n**Product page:** https://www.linkedin.com/products/virtualan-software-virtualan/\r\n\r\n**Tutorials:**  https://tutorials.virtualan.io/#/Virtualan\r\n\r\n**Example:**  https://github.com/virtualansoftware/service-virtualization-openapi\r\n\r\n**Video:**  https://www.youtube.com/watch?v=otTjbPxT0W8 \r\n\r\n**Docker Image:**  https://hub.docker.com/r/virtualan/service-virtualization  \r\n\r\n\r\n\r\n*II. Initial Set up your project for the Swagger Specification* :\r\n\r\n- Why/How to store the mock data in the centralized place:\r\n\tIt always provides a choice to choose your data base and configure(spring-jpa). Need to provide data base information in the Application.properties in the \"src/main/resources\" directory of your spring boot application: This would requires if you don't want to loose the existing mock data because as you redeploy the code the data would be lost.\r\n\r\n- In memory DB: (Eveny restart you lose the old data)\r\n\t\r\n\t- virtualan.datasource.driver-class-name=org.hsqldb.jdbcDriver\r\n\t- virtualan.datasource.jdbcurl=jdbc:hsqldb:mem:dataSource\r\n\t- virtualan.datasource.username=sa\r\n\t- virtualan.datasource.password=\r\n     \r\n- Add the following entry for each Interface Spec/Yaml  to be set up as mock service:\r\n\t- to setup  \"petstore.yaml\" need to add following entry in the pom.xml. refer the pom.xml for reference\r\n\t\r\n\t```html\r\n\t\u003cexecution\u003e\r\n\t\t\u003cid\u003epet-service-vs-api\u003c/id\u003e\r\n\t\t\u003cgoals\u003e\r\n\t\t\t\u003cgoal\u003egenerate\u003c/goal\u003e\r\n\t\t\u003c/goals\u003e\r\n\t\t\u003cconfiguration\u003e\r\n\t\t\t\u003cinputSpec\u003e${project.basedir}/src/main/resources/META-INF/resources/yaml/PetStore/petstore.yaml\u003c/inputSpec\u003e\r\n\t\t\t\u003coutput\u003e${project.basedir}/target/external/\u003c/output\u003e\r\n\t\t\t\u003capiPackage\u003eorg.openapitools.virtualan.api\u003c/apiPackage\u003e\r\n\t\t\t\u003cmodelPackage\u003eorg.openapitools.virtualan.to\u003c/modelPackage\u003e\r\n\t\t\t\u003cgeneratorName\u003espring\u003c/generatorName\u003e\r\n\t\t\t\u003cconfigOptions\u003e\r\n                                \u003cvirtualService\u003etrue\u003c/virtualService\u003e\r\n                        \u003c/configOptions\u003e\r\n\t\t\u003c/configuration\u003e\r\n\t\u003c/execution\u003e\r\n\t```\r\n\r\n*III. Navigate to root directory of the folder where pom.xml was present*:\r\n\r\n- Build:\r\n\r\n         - mvn clean install  \r\n\t \r\n\t - If you have any proxy issue use this command:  mvn -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 clean install \r\n                  \r\n- Run using standalone JAR:\r\n\t\r\n\t- java -jar target/virtualan-pet.jar         \r\n\r\n- To set up  data:\r\n      \r\n      - Using Virtualan-UI:       \r\n      \thttps://github.com/virtualansoftware/virtualan/wiki/Test-Data-Set-up-using-Virtualan\r\n      \r\n      - open API Contract: \r\n        https://github.com/virtualansoftware/virtualan/blob/master/modules/virtualan-plugin/src/main/resources/virtualservices.yaml\r\n\t\r\n    \r\n      - Using Virtualan-Rest service: for automation usecases\r\n        https://github.com/virtualansoftware/virtualan-openapi-demo/blob/master/src/test/resources/features/demo/demo.feature\r\n\t\r\n\t\r\n\t\r\n- Invoke Virtualan UI:  \t\t\t\r\n\t- Navigate to http://localhost:8080/virtualan-ui.html \r\n\t- More details about the user interface refer: https://github.com/virtualansoftware/virtualan/wiki \r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtualansoftware%2Fservice-virtualization-openapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirtualansoftware%2Fservice-virtualization-openapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtualansoftware%2Fservice-virtualization-openapi/lists"}