blob: 832600b8fbd48108f507ffa500ce8c3715881074 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
props:
project_name: dubbo-samples-spi-compatible
zookeeper_port: 2181
services:
dubbo-samples-spi-compatible:
type: app
basedir: .
mainClass: org.apache.dubbo.samples.basic.SpiCompatibleProvider
systemProps:
- zookeeper.address=127.0.0.1
- zookeeper.port=2181
checkPorts:
- 2181
checkLog: "dubbo service started"
dubbo-samples-spi-compatible-test:
type: test
basedir: .
tests:
- "**/*IT.class"
systemProps:
- zookeeper.address=dubbo-samples-spi-compatible
- zookeeper.port=2181
- dubbo.address=dubbo-samples-spi-compatible
waitPortsBeforeRun:
- dubbo-samples-spi-compatible:2181
# Disable Dubbo port check due to Dubbo-Samples-SPI-Compatible implements a new protocol ---- CompatibleProtocol
# CompatibleProtocol will not expose a port and port check is invalid for it
depends_on:
- dubbo-samples-spi-compatible