Skip to content

anz-bank/sysl-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project logo

Sysl Proxy

Status GitHub Issues GitHub Pull Requests License


📝 Table of Contents

🧐 About

Sysl Proxy is a proxy service to supply .sysl and .pb.json specifications to sysl clients. It is modelled off go modules, and depends on gop. It is designed to be deployed on google cloud functions, using the ServeHTTP function.

🏁 Getting Started

There are a couple of environment variables that need to be set:

  • CacheLocation: either the bucket or directory that the .sysl contents will be cached to.
  • CacheLocationSyslJson: either the bucket or directory that the .sysl.pb.json contents will be cached to.
  • FsType: os/mem/gcs for os filesystem, in memory filesystem, or a gcs bucket respectively
  • PROJECT_NUM: The unique project number for the google cloud project

Secrets stored in Google secret manager:

See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them.

  • Go 1.13: currently google cloud functions only support upto the go 1.13 runtime

🔧 Running the tests

go test ./...

🎈 Usage

go run ./servehttp/

  • This will run a sysl proxy server on localhost:8082

🚀 Deployment

  • See .github/workflows/cloud-function-deploy.yml

⛏️ Built Using

✍️ Authors

🎉 Acknowledgements

About

proxy for sysl objects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%