Skip to content

Commit

Permalink
Remove unused constants from core module.
Browse files Browse the repository at this point in the history
Change-Id: Id6848d8999a8d6aebfb18cfd11acfeaafd393671
Closes-Bug: #1770567
(cherry picked from commit 4460362)
  • Loading branch information
danieljasinski committed May 16, 2018
1 parent 1355e15 commit e9d0e01
Showing 1 changed file with 0 additions and 21 deletions.
Expand Up @@ -12,24 +12,3 @@ val PASSWORD = "password"
val TENANT = "tenant"
val AUTHTYPE = "keystone"
val AUTHSERVER = "authserver"

val ROOT = "Root"
val CONNECTION = "Connection"
val PROJECT = "Project"
val VIRTUAL_NETWORK = "VirtualNetwork"
val NETWORK_POLICY = "NetworkPolicy"

infix fun String.has(child: String) =
"$this-to-$child".toLowerCase()

val ROOT_HAS_CONNECTIONS =
ROOT has CONNECTION

val CONNECTION_HAS_PROJECTS =
CONNECTION has PROJECT

val PROJECT_HAS_VIRTUAL_NETWORKS =
PROJECT has VIRTUAL_NETWORK

val PROJECT_HAS_NETWORK_POLICYS =
PROJECT has NETWORK_POLICY

0 comments on commit e9d0e01

Please sign in to comment.