mno_enterprise-nimbus 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +7 -0
  2. data/APACHE-LICENSE-2.0 +201 -0
  3. data/README.md +28 -0
  4. data/Rakefile +27 -0
  5. data/app/assets/config/mno_enterprise_nimbus_manifest.js +1 -0
  6. data/app/assets/stylesheets/mno_enterprise/nimbus/application.css +15 -0
  7. data/app/controllers/mno_enterprise/nimbus/application_controller.rb +7 -0
  8. data/app/controllers/mno_enterprise/nimbus/v4/app_instances_controller.rb +36 -0
  9. data/app/controllers/mno_enterprise/nimbus/v4/apps_controller.rb +22 -0
  10. data/app/controllers/mno_enterprise/nimbus/v4/base_controller.rb +281 -0
  11. data/app/controllers/mno_enterprise/nimbus/v4/events_controller.rb +52 -0
  12. data/app/controllers/mno_enterprise/nimbus/v4/organizations_controller.rb +37 -0
  13. data/app/controllers/mno_enterprise/nimbus/v4/resource_instances_controller.rb +134 -0
  14. data/app/controllers/mno_enterprise/nimbus/v4/services_controller.rb +20 -0
  15. data/app/controllers/mno_enterprise/nimbus/v4/statistics_controller.rb +40 -0
  16. data/app/controllers/mno_enterprise/nimbus/v4/users_controller.rb +83 -0
  17. data/app/helpers/mno_enterprise/nimbus/application_helper.rb +6 -0
  18. data/app/jobs/mno_enterprise/nimbus/application_job.rb +6 -0
  19. data/app/mailers/mno_enterprise/nimbus/application_mailer.rb +8 -0
  20. data/app/models/mno_enterprise/nimbus/application_record.rb +7 -0
  21. data/app/views/layouts/mno_enterprise/nimbus/application.html.erb +14 -0
  22. data/app/views/mno_enterprise/nimbus/v4/services/schema.json +970 -0
  23. data/app/views/mno_enterprise/nimbus/v4/services/schema_dev.json +970 -0
  24. data/app/views/mno_enterprise/nimbus/v4/services/schema_uat.json +970 -0
  25. data/config/routes.rb +17 -0
  26. data/lib/mno_enterprise/nimbus/engine.rb +7 -0
  27. data/lib/mno_enterprise/nimbus/version.rb +5 -0
  28. data/lib/mno_enterprise/nimbus.rb +14 -0
  29. data/lib/tasks/mno_enterprise/nimbus_tasks.rake +4 -0
  30. metadata +184 -0
data/config/routes.rb ADDED
@@ -0,0 +1,17 @@
1
+ MnoEnterprise::Nimbus::Engine.routes.draw do
2
+ scope :nimbus do
3
+ namespace :v4 do
4
+ get :schema, to: 'services#schema'
5
+ get :status, to: 'services#status'
6
+
7
+ resources :resource_instances, only: [:index, :show, :create]
8
+ resources :apps, only: [:index, :show]
9
+ resources :events, only: [:index, :show]
10
+ resources :statistics, only: [:index, :show]
11
+ resources :organizations, except: [:new, :edit] do
12
+ resources :users, shallow: true, except: [:new, :edit]
13
+ resources :app_instances, shallow: true, except: [:new, :edit, :update], constraints: {id: /[^\/]+/}
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,7 @@
1
+ module MnoEnterprise
2
+ module Nimbus
3
+ class Engine < ::Rails::Engine
4
+ isolate_namespace MnoEnterprise::Nimbus
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ module MnoEnterprise
2
+ module Nimbus
3
+ VERSION = '0.1.0'
4
+ end
5
+ end
@@ -0,0 +1,14 @@
1
+ require "mno_enterprise/nimbus/engine"
2
+
3
+ require 'mno_enterprise/core'
4
+
5
+ require 'config'
6
+ require 'monetize'
7
+ require 'responders'
8
+ require 'uuid'
9
+
10
+ module MnoEnterprise
11
+ module Nimbus
12
+ # Your code goes here...
13
+ end
14
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :mno_enterprise_nimbus do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,184 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mno_enterprise-nimbus
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Olivier Brisse
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-04-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 4.2.8
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 4.2.8
27
+ - !ruby/object:Gem::Dependency
28
+ name: mno-enterprise-core
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '3.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '3.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: responders
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: uuid
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: monetize
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: factory_girl_rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: simplecov
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: Nimbus API endpoints for mno-enteprise
126
+ email:
127
+ - ouranos@users.noreply.github.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - APACHE-LICENSE-2.0
133
+ - README.md
134
+ - Rakefile
135
+ - app/assets/config/mno_enterprise_nimbus_manifest.js
136
+ - app/assets/stylesheets/mno_enterprise/nimbus/application.css
137
+ - app/controllers/mno_enterprise/nimbus/application_controller.rb
138
+ - app/controllers/mno_enterprise/nimbus/v4/app_instances_controller.rb
139
+ - app/controllers/mno_enterprise/nimbus/v4/apps_controller.rb
140
+ - app/controllers/mno_enterprise/nimbus/v4/base_controller.rb
141
+ - app/controllers/mno_enterprise/nimbus/v4/events_controller.rb
142
+ - app/controllers/mno_enterprise/nimbus/v4/organizations_controller.rb
143
+ - app/controllers/mno_enterprise/nimbus/v4/resource_instances_controller.rb
144
+ - app/controllers/mno_enterprise/nimbus/v4/services_controller.rb
145
+ - app/controllers/mno_enterprise/nimbus/v4/statistics_controller.rb
146
+ - app/controllers/mno_enterprise/nimbus/v4/users_controller.rb
147
+ - app/helpers/mno_enterprise/nimbus/application_helper.rb
148
+ - app/jobs/mno_enterprise/nimbus/application_job.rb
149
+ - app/mailers/mno_enterprise/nimbus/application_mailer.rb
150
+ - app/models/mno_enterprise/nimbus/application_record.rb
151
+ - app/views/layouts/mno_enterprise/nimbus/application.html.erb
152
+ - app/views/mno_enterprise/nimbus/v4/services/schema.json
153
+ - app/views/mno_enterprise/nimbus/v4/services/schema_dev.json
154
+ - app/views/mno_enterprise/nimbus/v4/services/schema_uat.json
155
+ - config/routes.rb
156
+ - lib/mno_enterprise/nimbus.rb
157
+ - lib/mno_enterprise/nimbus/engine.rb
158
+ - lib/mno_enterprise/nimbus/version.rb
159
+ - lib/tasks/mno_enterprise/nimbus_tasks.rake
160
+ homepage: https://maestrano.com
161
+ licenses:
162
+ - Apache-2.0
163
+ metadata: {}
164
+ post_install_message:
165
+ rdoc_options: []
166
+ require_paths:
167
+ - lib
168
+ required_ruby_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ required_rubygems_version: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ requirements: []
179
+ rubyforge_project:
180
+ rubygems_version: 2.6.8
181
+ signing_key:
182
+ specification_version: 4
183
+ summary: Nimbus API endpoints for mno-enteprise
184
+ test_files: []