Skip to content

Commit b4e7488

Browse files
author
lruzicki
committed
TECH-717: draft version for new adaptor module
0 parents  commit b4e7488

19 files changed

+160
-0
lines changed

README.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# openIMIS Backend Report reference module
2+
This repository holds the files of the openIMIS Backend Core reference module.
3+
It is a required module of [openimis-be_py](https://github.com/openimis/openimis-be_py).
4+
5+
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
6+
7+
## ORM mapping:
8+
*
9+
10+
## Listened Django Signals
11+
None
12+
13+
## Services
14+
15+
## GraphQL Queries
16+
None
17+
18+
## GraphQL Mutations - each mutation emits default signals and return standard error lists (cfr. openimis-be-core_py)
19+
None
20+
21+
## Configuration options (can be changed via core.ModuleConfiguration)
22+
None
23+
24+
## openIMIS Modules Dependencies
25+
* core.models.UUIDModel

govstack_test_harness_api/__init__.py

Whitespace-only changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

govstack_test_harness_api/admin.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

govstack_test_harness_api/apps.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.apps import AppConfig
2+
3+
4+
class TestHarnessApiConfig(AppConfig):
5+
default_auto_field = 'django.db.models.BigAutoField'
6+
name = 'govstack_test_harness_api'

govstack_test_harness_api/migrations/__init__.py

Whitespace-only changes.

govstack_test_harness_api/models.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.db import models
2+
3+
# Create your models here.

govstack_test_harness_api/tests.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.test import TestCase
2+
3+
# Create your tests here.

govstack_test_harness_api/urls.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
urlpatterns = []

govstack_test_harness_api/views.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.shortcuts import render
2+
3+
# Create your views here.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
Metadata-Version: 2.1
2+
Name: openimis-be-test-harness-api
3+
Version: 1.0.0rc1
4+
Summary: The openIMIS API for test harness.
5+
Home-page: https://openimis.org/
6+
Author: Łukasz Ruzicki
7+
Author-email: [email protected]
8+
License: GNU AGPL v3
9+
Classifier: Environment :: Web Environment
10+
Classifier: Framework :: Django
11+
Classifier: Framework :: Django :: 2.1
12+
Classifier: Intended Audience :: Developers
13+
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
14+
Classifier: Operating System :: OS Independent
15+
Classifier: Programming Language :: Python
16+
Classifier: Programming Language :: Python :: 3.6
17+
Classifier: Programming Language :: Python :: 3.7
18+
Description-Content-Type: text/markdown
19+
20+
# openIMIS Backend Report reference module
21+
This repository holds the files of the openIMIS Backend Core reference module.
22+
It is a required module of [openimis-be_py](https://github.com/openimis/openimis-be_py).
23+
24+
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
25+
26+
## ORM mapping:
27+
* report_ReportDefinition > ReportDefinition
28+
29+
## Listened Django Signals
30+
None
31+
32+
## Services
33+
* ReportService: process (ReportBro engine) named report
34+
35+
## Reports (template can be overloaded via report.ReportDefinition)
36+
None
37+
38+
## GraphQL Queries
39+
None
40+
41+
## GraphQL Mutations - each mutation emits default signals and return standard error lists (cfr. openimis-be-core_py)
42+
None
43+
44+
## Configuration options (can be changed via core.ModuleConfiguration)
45+
None
46+
47+
## openIMIS Modules Dependencies
48+
* core.models.UUIDModel
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
README.md
2+
setup.py
3+
openimis_be_test_harness_api.egg-info/PKG-INFO
4+
openimis_be_test_harness_api.egg-info/SOURCES.txt
5+
openimis_be_test_harness_api.egg-info/dependency_links.txt
6+
openimis_be_test_harness_api.egg-info/requires.txt
7+
openimis_be_test_harness_api.egg-info/top_level.txt
8+
test_harness_api/__init__.py
9+
test_harness_api/admin.py
10+
test_harness_api/apps.py
11+
test_harness_api/models.py
12+
test_harness_api/tests.py
13+
test_harness_api/urls.py
14+
test_harness_api/views.py
15+
test_harness_api/migrations/__init__.py
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
django
2+
django-db-signals
3+
djangorestframework
4+
openimis-be-core
5+
openimis-be-location
6+
openimis-be-payment
7+
openimis-be-policy
8+
openimis-be-insuree
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test_harness_api

setup.py

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
import os
2+
from setuptools import find_packages, setup
3+
4+
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
5+
README = readme.read()
6+
7+
# allow setup.py to be run from any path
8+
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
9+
10+
setup(
11+
name='openimis-be-govstack_test_harness_api_py',
12+
version='1.0.0.rc1',
13+
packages=find_packages(),
14+
include_package_data=True,
15+
license='GNU AGPL v3',
16+
description='The openIMIS API for test harness.',
17+
long_description=README,
18+
long_description_content_type='text/markdown',
19+
url='https://openimis.org/',
20+
author='Łukasz Ruzicki',
21+
author_email='[email protected]',
22+
install_requires=[
23+
'django',
24+
'django-db-signals',
25+
'djangorestframework',
26+
'openimis-be-core',
27+
'openimis-be-location',
28+
'openimis-be-payment',
29+
'openimis-be-policy',
30+
'openimis-be-insuree'
31+
],
32+
classifiers=[
33+
'Environment :: Web Environment',
34+
'Framework :: Django',
35+
'Framework :: Django :: 2.1',
36+
'Intended Audience :: Developers',
37+
'License :: OSI Approved :: GNU Affero General Public License v3',
38+
'Operating System :: OS Independent',
39+
'Programming Language :: Python',
40+
'Programming Language :: Python :: 3.6',
41+
'Programming Language :: Python :: 3.7',
42+
],
43+
)

0 commit comments

Comments
 (0)