[skip ci] refactor packages nginx
This commit is contained in:
parent
d56ef884e5
commit
5fef5add99
10 changed files with 24 additions and 24 deletions
|
@ -1,9 +1,9 @@
|
|||
package org.domaindrivenarchitecture.provs.extensions.server_compounds.monitoring
|
||||
|
||||
import org.domaindrivenarchitecture.provs.core.Prov
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base.NginxConf
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base.nginxHttpConf
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.provisionNginxStandAlone
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base.NginxConf
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base.nginxHttpConf
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.provisionNginxStandAlone
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.prometheus.base.configurePrometheusDocker
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.prometheus.base.runPrometheusDocker
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
package org.domaindrivenarchitecture.provs.extensions.server_compounds.monitoring
|
||||
|
||||
import org.domaindrivenarchitecture.provs.core.Prov
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base.NginxConf
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base.nginxAddLocation
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base.nginxCreateSelfSignedCertificate
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base.nginxHttpsConfWithLocationFiles
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.provisionNginxStandAlone
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base.NginxConf
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base.nginxAddLocation
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base.nginxCreateSelfSignedCertificate
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base.nginxHttpsConfWithLocationFiles
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.provisionNginxStandAlone
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.prometheus.base.prometheusNginxConfig
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.prometheus.provisionPrometheusDocker
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@ import org.domaindrivenarchitecture.provs.ubuntu.filesystem.base.fileExists
|
|||
import org.domaindrivenarchitecture.provs.ubuntu.install.base.aptInstall
|
||||
import org.domaindrivenarchitecture.provs.ubuntu.user.base.createUser
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.certbot.provisionCertbot
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base.NginxConf
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base.nginxReverseProxyHttpConfig
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.provisionNginxStandAlone
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base.NginxConf
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base.nginxReverseProxyHttpConfig
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.provisionNginxStandAlone
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.domaindrivenarchitecture.provs.extensions.server_software.nginx
|
||||
package org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx
|
||||
|
||||
import org.domaindrivenarchitecture.provs.core.Prov
|
||||
import org.domaindrivenarchitecture.provs.core.ProvResult
|
||||
|
@ -6,8 +6,8 @@ import org.domaindrivenarchitecture.provs.core.remote
|
|||
import org.domaindrivenarchitecture.provs.ubuntu.filesystem.base.createFile
|
||||
import org.domaindrivenarchitecture.provs.ubuntu.filesystem.base.fileExists
|
||||
import org.domaindrivenarchitecture.provs.ubuntu.install.base.aptInstall
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base.NginxConf
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base.createNginxLocationFolders
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base.NginxConf
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base.createNginxLocationFolders
|
||||
import kotlin.system.exitProcess
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base
|
||||
package org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base
|
||||
|
||||
import org.domaindrivenarchitecture.provs.core.Prov
|
||||
import org.domaindrivenarchitecture.provs.core.Secret
|
|
@ -1,4 +1,4 @@
|
|||
package org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base
|
||||
package org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base
|
||||
|
||||
class NginxConf(val conf: String = NGINX_MINIMAL_CONF) {
|
||||
companion object {}
|
|
@ -1,4 +1,4 @@
|
|||
package org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base
|
||||
package org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base
|
||||
|
||||
import org.domaindrivenarchitecture.provs.core.Prov
|
||||
import org.domaindrivenarchitecture.provs.core.ProvResult
|
|
@ -1,8 +1,8 @@
|
|||
package org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base
|
||||
package org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base
|
||||
|
||||
import org.domaindrivenarchitecture.provs.core.Prov
|
||||
import org.domaindrivenarchitecture.provs.ubuntu.filesystem.base.createDirs
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.provisionNginxStandAlone
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.provisionNginxStandAlone
|
||||
|
||||
|
||||
internal val certificateName = "selfsigned"
|
|
@ -1,10 +1,10 @@
|
|||
package org.domaindrivenarchitecture.provs.extensions.server_software.nginx
|
||||
package org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx
|
||||
|
||||
import org.domaindrivenarchitecture.provs.test.defaultTestContainer
|
||||
import org.domaindrivenarchitecture.provs.test.tags.NonCi
|
||||
import org.domaindrivenarchitecture.provs.ubuntu.filesystem.base.replaceTextInFile
|
||||
import org.domaindrivenarchitecture.provs.ubuntu.install.base.aptInstall
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base.*
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base.*
|
||||
import org.domaindrivenarchitecture.provs.ubuntu.filesystem.base.fileExists
|
||||
import org.junit.jupiter.api.Assertions.assertTrue
|
||||
import org.junit.jupiter.api.Test
|
|
@ -1,9 +1,9 @@
|
|||
package org.domaindrivenarchitecture.provs.extensions.server_software.nginx.base
|
||||
package org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.base
|
||||
|
||||
import org.domaindrivenarchitecture.provs.ubuntu.filesystem.base.createFile
|
||||
import org.domaindrivenarchitecture.provs.ubuntu.filesystem.base.fileContainsText
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.configFile
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.nginx.provisionNginxStandAlone
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.configFile
|
||||
import org.domaindrivenarchitecture.provs.extensions.server_software.standalone_server.nginx.provisionNginxStandAlone
|
||||
import org.junit.jupiter.api.Assertions.assertEquals
|
||||
import org.junit.jupiter.api.Assertions.assertTrue
|
||||
import org.junit.jupiter.api.Test
|
Loading…
Reference in a new issue