![]() Please check the Contributing to know more about the contribution process. This project uses the following third party libraries: Contributions to this project are accepted under the same license. The software is provided under Apache-2.0. parsec This is the public interface of the Parsec Go client.This provides the underlying interface to parsec, but is not intended for client application use. interface The Google Protocol Buffers basic client for communicating with the parsec daemon.e2etest End to End testing - Docker containers to fire up parsec and run end to end tests.From the Azure portal, restart the server. In the text file that opens up, add the line networkserverstartport 8000 without the quotes. In the Parsec app, go to Settings > Advanced Settings (config.txt). github/workflows Github Build CI action definitions - CI testing, build, unit test, static analysis. Login using your Parsec credentials, making sure to check remember my password. This folder General files that must be at the top level - readmes, licence, lint configurations, etc.Internal tests for packages will be in the relevant package folders as required by go, and will be called xxx_internal_test.go Folder Structure make ci-test-allĪll code for the end to end tests is in the e2etest folder.īlack box unit tests for folders are found in a test folder under the main package folder (e.g. This will run up docker container that will run the parsec daemon and then run a series of end to end tests. To run continuous integration tests (requires docker). Go install update the generated files, run the following in this folder (protoc and make required) make clean-protobuf On ubuntu 20.04, the following will install the tools you need: # protoc and gcc You will also need the go plugin for protoc You will need protoc 3+ installed as well as gcc. The protocol buffers files are used to generate translation golang code which is checked into this repository to remove the requirement for developers using this library to install protoc. This submodule is currently pinned to parsec-operations v0.6.0 proto files, included in the parsec operations, which is included as a git submodule in the interface/parsec-operations folder in this repository. The parsec interface is defined in google protocol buffers. If the PARSEC_SERVICE_ENDPOINT environment variable is not set, then the default value of unix:/run/parsec/parsec.sock is used. This URL must be for the unix scheme (no other schemes are supported at this time). ![]() This client will, connect to the parsec service on a URL defined using the PARSEC_SERVICE_ENDPOINT environment variable. Sample usage can be found in the end to end tests in the e2etest folder Parsec Service Socket Configuration There are ommissions and testing is very minimal at this stage. The current status of this interface is suitable only for review of the API. The library contains methods to communicate using the wire protocol. This repository contains a PARSEC Go Client library. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |