Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
RECIRCLE
/
interface-openstack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
4
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
273aad13
authored
Apr 02, 2019
by
Belákovics Ádám
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finalized basic structure
parent
cbc58970
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
7 deletions
+15
-7
interface-openstack/__init__.py
+2
-0
interface-openstack/communication_layer/__init__.py
+0
-0
interface-openstack/main.py
+3
-7
interface-openstack/routes.py
+5
-0
interface-openstack/views.py
+5
-0
No files found.
interface-openstack/__init__.py
View file @
273aad13
__version__
=
0.0
.
1
\ No newline at end of file
interface-openstack/communication_layer/__init__.py
deleted
100644 → 0
View file @
cbc58970
interface-openstack/main.py
View file @
273aad13
from
aiohttp
import
web
routes
=
web
.
RouteTableDef
()
@routes.get
(
'/'
)
async
def
hello
(
request
):
return
web
.
Response
(
text
=
"Hello, world"
)
from
routes
import
setup_routes
app
=
web
.
Application
()
app
.
add_routes
(
routes
)
setup_routes
(
app
)
web
.
run_app
(
app
)
\ No newline at end of file
interface-openstack/routes.py
0 → 100644
View file @
273aad13
from
views
import
index
def
setup_routes
(
app
):
app
.
router
.
add_get
(
'/'
,
index
)
\ No newline at end of file
interface-openstack/views.py
0 → 100644
View file @
273aad13
from
aiohttp
import
web
async
def
index
(
request
):
return
web
.
Response
(
text
=
'Welcome to the RECIRCLE openstack-interface!'
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment