sprawl 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rubocop.yml +983 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/README.md +76 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/sprawl +6 -0
- data/lib/sprawl/cli.rb +63 -0
- data/lib/sprawl/definition_loader.rb +22 -0
- data/lib/sprawl/drawers/graphviz_drawer.rb +52 -0
- data/lib/sprawl/loaders/directory_loader.rb +27 -0
- data/lib/sprawl/loaders/multi_git_loader.rb +43 -0
- data/lib/sprawl/loaders/single_git_loader.rb +28 -0
- data/lib/sprawl/service_definition.rb +23 -0
- data/lib/sprawl/version.rb +3 -0
- data/lib/sprawl.rb +6 -0
- data/sprawl.gemspec +30 -0
- metadata +139 -0
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at crohr@fortitudetec.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2016 Fortitude Technologies
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
# Sprawl
|
2
|
+
|
3
|
+
One challenge in the microservice world is tracking service relationships as an application grows.
|
4
|
+
|
5
|
+
Enter Sprawl!
|
6
|
+
|
7
|
+
Sprawl is a simple tool that generates a relationship map or diagram of the microservice components that make up an application based on a simple set of description files.
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your application's Gemfile:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem 'sprawl'
|
15
|
+
```
|
16
|
+
|
17
|
+
And then execute:
|
18
|
+
|
19
|
+
$ bundle
|
20
|
+
|
21
|
+
Or install it yourself as:
|
22
|
+
|
23
|
+
$ gem install sprawl
|
24
|
+
|
25
|
+
## Usage
|
26
|
+
|
27
|
+
### CLI
|
28
|
+
|
29
|
+
Run `sprawl`
|
30
|
+
|
31
|
+
### Service description
|
32
|
+
|
33
|
+
In order to define a service you need a yaml file created with the following structure:
|
34
|
+
|
35
|
+
```ruby
|
36
|
+
name: first-service
|
37
|
+
description: This is our first service
|
38
|
+
language: Java
|
39
|
+
datastores:
|
40
|
+
- Postgres
|
41
|
+
messageTypesProduced:
|
42
|
+
- HelloThere
|
43
|
+
- Status
|
44
|
+
messageTypesConsumed:
|
45
|
+
- ByeBye
|
46
|
+
- DoIt
|
47
|
+
restDependencies:
|
48
|
+
- second-service
|
49
|
+
- third-service
|
50
|
+
```
|
51
|
+
|
52
|
+
| Field | Description |
|
53
|
+
| -------------------- | ------------------------------------------------------------------------------------------------------------------ |
|
54
|
+
| name | The name of the current service (REQUIRED) |
|
55
|
+
| description | A short description of the purpose of the service |
|
56
|
+
| language | The programming language that the service is written in |
|
57
|
+
| datastores | An array of any datastores that the service uses |
|
58
|
+
| messageTypesProduced | If the service utilizes asyncronous messaging, an array of message types that the service produces for the system |
|
59
|
+
| messageTypesConsumed | If the service utilizes asyncronous messaging, an array of message types that the service consumes from the system |
|
60
|
+
| restDependencies | An array of other services that this service communicates over REST |
|
61
|
+
|
62
|
+
|
63
|
+
## Development
|
64
|
+
|
65
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
66
|
+
|
67
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
68
|
+
|
69
|
+
## Contributing
|
70
|
+
|
71
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/fortitudetec/sprawl. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
72
|
+
|
73
|
+
|
74
|
+
## License
|
75
|
+
|
76
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'sprawl'
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require 'irb'
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/exe/sprawl
ADDED
data/lib/sprawl/cli.rb
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'sprawl/version'
|
2
|
+
require 'sprawl/definition_loader'
|
3
|
+
require 'sprawl/drawers/graphviz_drawer'
|
4
|
+
require 'optparse'
|
5
|
+
|
6
|
+
module Sprawl
|
7
|
+
class Cli
|
8
|
+
def run
|
9
|
+
options = parse_options
|
10
|
+
defs = load_defs(options)
|
11
|
+
|
12
|
+
# TODO: Probably want to allow for different rendering engines
|
13
|
+
GraphvizDrawer.draw(defs, options[:output])
|
14
|
+
end
|
15
|
+
|
16
|
+
private
|
17
|
+
|
18
|
+
def parse_options
|
19
|
+
options = {}
|
20
|
+
OptionParser.new do |opts|
|
21
|
+
opts.banner = 'Usage: sprawl [options]'
|
22
|
+
|
23
|
+
opts.on('-d DIRECTORY', '--directory=DIRECTORY', 'Locate definition files in given directory') do |d|
|
24
|
+
options[:directory] = d
|
25
|
+
options[:location_type] = :directory
|
26
|
+
end
|
27
|
+
|
28
|
+
opts.on('-g REPOSITORIES',
|
29
|
+
'--group-of-repositories=REPOSITORIES',
|
30
|
+
Array,
|
31
|
+
'Locate definition files across many git repositories (SERVITUDE files)') do |g|
|
32
|
+
options[:group] = g
|
33
|
+
options[:location_type] = :group
|
34
|
+
end
|
35
|
+
|
36
|
+
opts.on('-h', '--help', 'Prints this help') do
|
37
|
+
puts opts
|
38
|
+
exit
|
39
|
+
end
|
40
|
+
|
41
|
+
opts.on('-o OUTPUTTYPE', '--output-type=OUTPUTTYPE', 'Format of output (SVG, PNG, Text, HTML)') do |o|
|
42
|
+
options[:output] = o
|
43
|
+
end
|
44
|
+
|
45
|
+
opts.on('-s REPOSITORY',
|
46
|
+
'--single-repository=REPOSITORY',
|
47
|
+
'Locate all definition files in a single git repository') do |s|
|
48
|
+
options[:single] = s
|
49
|
+
options[:location_type] = :single
|
50
|
+
end
|
51
|
+
|
52
|
+
opts.on('-v', '--[no-]verbose', 'Runs verbosely') do |v|
|
53
|
+
options[:verbose] = v
|
54
|
+
end
|
55
|
+
end.parse!
|
56
|
+
options
|
57
|
+
end
|
58
|
+
|
59
|
+
def load_defs(options)
|
60
|
+
DefinitionLoader.load(options)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'sprawl/loaders/directory_loader'
|
2
|
+
require 'sprawl/loaders/single_git_loader'
|
3
|
+
require 'sprawl/loaders/multi_git_loader'
|
4
|
+
|
5
|
+
module Sprawl
|
6
|
+
class DefinitionLoader
|
7
|
+
TYPES = {
|
8
|
+
directory: DirectoryLoader,
|
9
|
+
single: SingleGitLoader,
|
10
|
+
group: MultiGitLoader
|
11
|
+
}.freeze
|
12
|
+
|
13
|
+
def self.load(options)
|
14
|
+
puts 'Loading Service Definitions' if options[:verbose]
|
15
|
+
service_definitions = TYPES[options[:location_type]].load(options)
|
16
|
+
|
17
|
+
puts "Loaded service definitions: #{service_definitions.inspect}" if options[:verbose]
|
18
|
+
|
19
|
+
service_definitions
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require 'ruby-graphviz'
|
2
|
+
|
3
|
+
module Sprawl
|
4
|
+
class GraphvizDrawer
|
5
|
+
def self.draw(defs, output)
|
6
|
+
graph = ::GraphViz.new(:G, type: :digraph)
|
7
|
+
|
8
|
+
nodes = generate_nodes(graph, defs)
|
9
|
+
|
10
|
+
# Generate the edges
|
11
|
+
defs.each do |d|
|
12
|
+
add_rest_connections(graph, nodes, d)
|
13
|
+
add_async_connections(graph, nodes, d, defs)
|
14
|
+
end
|
15
|
+
|
16
|
+
graph.output(svg: 'graph.svg') if output.casecmp('SVG').zero?
|
17
|
+
graph.output(png: 'graph.png') if output.casecmp('PNG').zero?
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.generate_nodes(graph, defs)
|
21
|
+
nodes = {}
|
22
|
+
|
23
|
+
defs.each do |d|
|
24
|
+
nodes[d.name] = graph.add_nodes(d.name)
|
25
|
+
end
|
26
|
+
|
27
|
+
nodes
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.add_rest_connections(graph, nodes, service)
|
31
|
+
return if service.rest_dependencies.nil?
|
32
|
+
|
33
|
+
service.rest_dependencies.each do |r|
|
34
|
+
graph.add_edges(nodes[service.name], nodes[r])
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.add_async_connections(graph, nodes, service, all_services)
|
39
|
+
return if service.message_types_produced.nil?
|
40
|
+
|
41
|
+
service.message_types_produced.each do |t|
|
42
|
+
defs_consuming = all_services.reject do |consuming_def|
|
43
|
+
consuming_def.message_types_consumed.nil? || !consuming_def.message_types_consumed.include?(t)
|
44
|
+
end
|
45
|
+
|
46
|
+
defs_consuming.each do |c|
|
47
|
+
graph.add_edges(nodes[service.name], nodes[c.name], style: 'dashed')
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'yaml'
|
2
|
+
require 'sprawl/service_definition'
|
3
|
+
|
4
|
+
module Sprawl
|
5
|
+
class DirectoryLoader
|
6
|
+
def self.load(options)
|
7
|
+
puts 'Using Directory Loader' if options[:verbose]
|
8
|
+
|
9
|
+
service_definitions = []
|
10
|
+
|
11
|
+
Dir.foreach(options[:directory]) do |f|
|
12
|
+
next if File.directory?(f)
|
13
|
+
|
14
|
+
puts "Loading definition #{f}" if options[:verbose]
|
15
|
+
begin
|
16
|
+
service_definitions << Sprawl::ServiceDefinition.from(YAML.load_file(File.join(options[:directory], f)))
|
17
|
+
rescue
|
18
|
+
puts "Failed to load #{f}. Trying the rest."
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
puts "Loaded #{service_definitions.size} service definitions" if options[:verbose]
|
23
|
+
|
24
|
+
service_definitions
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require 'yaml'
|
2
|
+
require 'fileutils'
|
3
|
+
require 'sprawl/service_definition'
|
4
|
+
|
5
|
+
module Sprawl
|
6
|
+
class MultiGitLoader
|
7
|
+
def self.load(options)
|
8
|
+
puts 'Using Multi Git Loader' if options[:verbose]
|
9
|
+
|
10
|
+
begin
|
11
|
+
# Make temp directory
|
12
|
+
Dir.mkdir('.sprawl')
|
13
|
+
|
14
|
+
pull_repos(options[:group])
|
15
|
+
|
16
|
+
service_definitions = []
|
17
|
+
|
18
|
+
Dir.glob('.sprawl/**/SPRAWL').each do |def_file|
|
19
|
+
puts "Loading definition #{def_file}" if options[:verbose]
|
20
|
+
|
21
|
+
begin
|
22
|
+
service_definitions << Sprawl::ServiceDefinition.from(YAML.load_file(File.join(def_file)))
|
23
|
+
rescue
|
24
|
+
puts "Failed to load #{def_file}. Trying the rest."
|
25
|
+
end
|
26
|
+
end
|
27
|
+
ensure
|
28
|
+
FileUtils.rm_rf('.sprawl')
|
29
|
+
end
|
30
|
+
|
31
|
+
service_definitions
|
32
|
+
end
|
33
|
+
|
34
|
+
def pull_repos(urls)
|
35
|
+
urls.each do |url|
|
36
|
+
puts "Pulling git repository of definitions from #{url}" if options[:verbose]
|
37
|
+
Dir.chdir('.servitude') do
|
38
|
+
`git clone #{url}`
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
require 'sprawl/service_definition'
|
3
|
+
require 'sprawl/loaders/directory_loader'
|
4
|
+
|
5
|
+
module Sprawl
|
6
|
+
class SingleGitLoader
|
7
|
+
def self.load(options)
|
8
|
+
puts 'Using Single Git Loader' if options[:verbose]
|
9
|
+
puts "Pulling git repository of definitions from #{options[:single]}" if options[:verbose]
|
10
|
+
|
11
|
+
service_definitions = []
|
12
|
+
begin
|
13
|
+
# Make temp directory
|
14
|
+
Dir.mkdir('.sprawl')
|
15
|
+
|
16
|
+
# Clone repo
|
17
|
+
`git clone #{options[:single]} .sprawl`
|
18
|
+
|
19
|
+
# run Directory loader
|
20
|
+
service_definitions = Sprawl::DirectoryLoader.load(directory: '.sprawl', verbose: options[:verbose])
|
21
|
+
ensure
|
22
|
+
FileUtils.rm_rf('.sprawl')
|
23
|
+
end
|
24
|
+
|
25
|
+
service_definitions
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Sprawl
|
2
|
+
class ServiceDefinition
|
3
|
+
attr_accessor :name,
|
4
|
+
:description,
|
5
|
+
:language,
|
6
|
+
:datastores,
|
7
|
+
:message_types_consumed,
|
8
|
+
:message_types_produced,
|
9
|
+
:rest_dependencies
|
10
|
+
|
11
|
+
def self.from(attributes)
|
12
|
+
definition = ServiceDefinition.new
|
13
|
+
|
14
|
+
return definition if attributes.nil?
|
15
|
+
|
16
|
+
attributes.each do |k, v|
|
17
|
+
definition.send("#{k}=", v) if definition.respond_to?("#{k}=")
|
18
|
+
end
|
19
|
+
|
20
|
+
definition
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/sprawl.rb
ADDED
data/sprawl.gemspec
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'sprawl/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'sprawl'
|
8
|
+
spec.version = Sprawl::VERSION
|
9
|
+
spec.authors = ['Chris Rohr', 'Mike Bevels']
|
10
|
+
spec.email = ['crohr@fortitudetec.com', 'mbevels@fortitudetec.com']
|
11
|
+
|
12
|
+
spec.summary = 'Microservice Relationship Visualization Tool'
|
13
|
+
spec.description = 'Utility to generate a visualization of the relationships in a microservice based system'
|
14
|
+
spec.homepage = 'https://github.com/fortitudetec/sprawl'
|
15
|
+
spec.license = 'MIT'
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
+
f.match(%r{^(test|spec|features)/})
|
19
|
+
end
|
20
|
+
spec.bindir = 'exe'
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
+
spec.require_paths = ['lib']
|
23
|
+
|
24
|
+
spec.add_runtime_dependency 'ruby-graphviz'
|
25
|
+
|
26
|
+
spec.add_development_dependency 'bundler', '~> 1.13'
|
27
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
28
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
29
|
+
spec.add_development_dependency 'rubocop', '~> 0.45'
|
30
|
+
end
|
metadata
ADDED
@@ -0,0 +1,139 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sprawl
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chris Rohr
|
8
|
+
- Mike Bevels
|
9
|
+
autorequire:
|
10
|
+
bindir: exe
|
11
|
+
cert_chain: []
|
12
|
+
date: 2016-11-30 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: ruby-graphviz
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: bundler
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.13'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.13'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rake
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '10.0'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '10.0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rspec
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rubocop
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0.45'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0.45'
|
84
|
+
description: Utility to generate a visualization of the relationships in a microservice
|
85
|
+
based system
|
86
|
+
email:
|
87
|
+
- crohr@fortitudetec.com
|
88
|
+
- mbevels@fortitudetec.com
|
89
|
+
executables:
|
90
|
+
- sprawl
|
91
|
+
extensions: []
|
92
|
+
extra_rdoc_files: []
|
93
|
+
files:
|
94
|
+
- ".gitignore"
|
95
|
+
- ".rubocop.yml"
|
96
|
+
- ".travis.yml"
|
97
|
+
- CODE_OF_CONDUCT.md
|
98
|
+
- Gemfile
|
99
|
+
- LICENSE
|
100
|
+
- README.md
|
101
|
+
- Rakefile
|
102
|
+
- bin/console
|
103
|
+
- bin/setup
|
104
|
+
- exe/sprawl
|
105
|
+
- lib/sprawl.rb
|
106
|
+
- lib/sprawl/cli.rb
|
107
|
+
- lib/sprawl/definition_loader.rb
|
108
|
+
- lib/sprawl/drawers/graphviz_drawer.rb
|
109
|
+
- lib/sprawl/loaders/directory_loader.rb
|
110
|
+
- lib/sprawl/loaders/multi_git_loader.rb
|
111
|
+
- lib/sprawl/loaders/single_git_loader.rb
|
112
|
+
- lib/sprawl/service_definition.rb
|
113
|
+
- lib/sprawl/version.rb
|
114
|
+
- sprawl.gemspec
|
115
|
+
homepage: https://github.com/fortitudetec/sprawl
|
116
|
+
licenses:
|
117
|
+
- MIT
|
118
|
+
metadata: {}
|
119
|
+
post_install_message:
|
120
|
+
rdoc_options: []
|
121
|
+
require_paths:
|
122
|
+
- lib
|
123
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '0'
|
128
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
requirements: []
|
134
|
+
rubyforge_project:
|
135
|
+
rubygems_version: 2.4.5
|
136
|
+
signing_key:
|
137
|
+
specification_version: 4
|
138
|
+
summary: Microservice Relationship Visualization Tool
|
139
|
+
test_files: []
|