Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

111 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myac

Build Status Codacy Badge Go Report Card

Myac is a configuration server inspired by Spring Cloud Config.

  • Serve git repo with configs
  • Generate URL for configs by folder name

Example git repo with configuration to serve:

2018/09/11 00:04:33 repository already exists

 ._ _        _.   _
 | | |  \/  (_|  (_
        /
Configuration server

Service running on port 8888
.filesystem-repo
├── .git
├── LICENSE >>> http://localhost:8888/.filesystem-repo
├── service-1
│   ├── generic-service.yml >>> http://localhost:8888/.filesystem-repo/service-1
│   └── service-1-2
│       ├── servcie-1-2-conf >>> http://localhost:8888/.filesystem-repo/service-1/service-1-2
│       └── service-1-3
│           └── service-1-3-conf >>> http://localhost:8888/.filesystem-repo/service-1/service-1-2/service-1-3
└── service-2
    ├── generic-service-dev.yml >>> http://localhost:8888/.filesystem-repo/service-2/generic-service-dev
    └── generic-service.yml >>> http://localhost:8888/.filesystem-repo/service-2/generic-service

For this repo structure Myac will generate two URLs:

ToDo

  • Return JSON instead of plain text
  • Create several URLs for folders with more than one config-file (service-1/dev, service-1/prod, etc.)
  • Write tests

About

Configuration server

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages