Skip to content

Commit eaebff6

Browse files
Gautam MGGautam MG
authored andcommitted
Modifying client side of the rules engine
1 parent 551ba7c commit eaebff6

File tree

9 files changed

+611
-471
lines changed

9 files changed

+611
-471
lines changed

config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ mongo_uri: "mongodb+srv://Gautam_Molakalmuru:iciclemongo@harp.afryura.mongodb.ne
33
rules_db: "IMT_Rules_engine_database"
44

55
# Tapis creds
6-
tapis_url: "https://tacc.tapis.io"
6+
tapis_url: "https://tacc.tapis.io"
7+
8+
# Rules Engine Admin
9+
base_url: "http://127.0.0.1:8081"

pyproject.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,19 @@ ignore = ["E203", "E501"]
77
[tool.ruff.format]
88
quote-style = "double"
99
indent-style = "space"
10+
11+
[build-system]
12+
requires = ["setuptools", "wheel"]
13+
build-backend = "setuptools.build_meta"
14+
15+
[project]
16+
name = "database"
17+
version = "0.1.0"
18+
description = "Client for UCA Rules Engine"
19+
dependencies = [
20+
"requests",
21+
"pyyaml",
22+
]
23+
24+
[tool.setuptools.packages.find]
25+
where = ["src"]
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
__version__ = "0.1.0"
22
__all__ = ["RuleEngineError","RuleNotFoundError","RuleValidationError","RuleEngineClient","Rule"]
33

4-
from .exceptions import RuleEngineError, RuleNotFoundError, RuleValidationError
5-
from .rules_engine_client import RuleEngineClient
6-
from .rules_engine_entity import Rule
4+
# from .exceptions import RuleEngineError, RuleNotFoundError, RuleValidationError
5+
# from .rules_engine_client import RuleEngineClient
6+
# from .rules_engine_entity import Rule
7+
from .rules_engine import RulesEngine
8+
9+
__all__ = ["RulesEngine"]

0 commit comments

Comments
 (0)