projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add unit tests for K8s Proxy Charm Feature
[osm/N2VC.git]
/
n2vc
/
utils.py
diff --git
a/n2vc/utils.py
b/n2vc/utils.py
index
990575d
..
62892eb
100644
(file)
--- a/
n2vc/utils.py
+++ b/
n2vc/utils.py
@@
-92,6
+92,7
@@
JujuStatusToOSM = {
"active": N2VCDeploymentStatus.COMPLETED,
},
EntityType.ACTION: {
"active": N2VCDeploymentStatus.COMPLETED,
},
EntityType.ACTION: {
+ "pending": N2VCDeploymentStatus.PENDING,
"running": N2VCDeploymentStatus.RUNNING,
"completed": N2VCDeploymentStatus.COMPLETED,
},
"running": N2VCDeploymentStatus.RUNNING,
"completed": N2VCDeploymentStatus.COMPLETED,
},
@@
-103,3
+104,11
@@
JujuStatusToOSM = {
"active": N2VCDeploymentStatus.COMPLETED,
},
}
"active": N2VCDeploymentStatus.COMPLETED,
},
}
+
+DB_DATA = Dict(
+ {
+ "api_endpoints": Dict(
+ {"table": "admin", "filter": {"_id": "juju"}, "key": "api_endpoints"}
+ )
+ }
+)