def __init__(
        self,
        context,
        service_name,
        run_from,
        port,
        admin_port,
        classifier,
        service_mapping_ports,
        version,
        proxy,
        append_args=None,
    ):
        SmMicroServiceStarter.__init__(
            self,
            context,
            service_name,
            "dropwizard",
            run_from,
            port,
            classifier,
            service_mapping_ports,
            version,
            proxy,
            append_args,
        )

        self.admin_port = admin_port

        self.java_options = ["-Dfile.encoding=UTF8", "-Xmx64M", "-XX:+CMSClassUnloadingEnabled", "-XX:MaxPermSize=64m"]

        self.java_home = context.application.java_home
Example #2
0
 def __init__(self, context, service_name, expected_service_type, run_from,
              port, classifier, service_mapping_ports, version, proxy,
              append_args):
     SmMicroServiceStarter.__init__(self, context, service_name,
                                    expected_service_type, run_from, port,
                                    classifier, service_mapping_ports,
                                    version, proxy, append_args)
Example #3
0
    def __init__(self, context, service_name, run_from, port, classifier,
                 service_mapping_ports, version, proxy, append_args):
        SmMicroServiceStarter.__init__(self, context, service_name, "play",
                                       run_from, port, classifier,
                                       service_mapping_ports, version, proxy,
                                       append_args)

        if not self.port:
            self.port = self.service_data["defaultPort"]
    def __init__(
        self,
        context,
        service_name,
        run_from,
        port,
        admin_port,
        classifier,
        service_mapping_ports,
        version,
        proxy,
        append_args=None,
    ):
        SmMicroServiceStarter.__init__(
            self,
            context,
            service_name,
            "dropwizard",
            run_from,
            port,
            classifier,
            service_mapping_ports,
            version,
            proxy,
            append_args,
        )

        self.admin_port = admin_port

        self.java_options = [
            "-Dfile.encoding=UTF8",
            "-Xmx64M",
            "-XX:+CMSClassUnloadingEnabled",
            "-XX:MaxPermSize=64m",
        ]

        self.java_home = context.application.java_home
 def __init__(self, context, service_name, expected_service_type, run_from, port, classifier, service_mapping_ports, version, proxy, append_args):
     SmMicroServiceStarter.__init__(self, context, service_name, expected_service_type, run_from, port, classifier, service_mapping_ports, version, proxy, append_args)
Example #6
0
    def __init__(self, context, service_name, run_from, port, classifier, service_mapping_ports, version, proxy, append_args):
        SmMicroServiceStarter.__init__(self, context, service_name, "play", run_from, port, classifier, service_mapping_ports, version, proxy, append_args)

        if not self.port:
            self.port = self.service_data["defaultPort"]