aboutsummaryrefslogtreecommitdiffstats
path: root/version.properties
blob: 937711c74674e03057bbe473f714fef06f1f83bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
###
# ============LICENSE_START=======================================================
# ONAP CLAMP
# ================================================================================
# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights
#                             reserved.
# ================================================================================
# Licensed 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.
# ============LICENSE_END============================================
# ===================================================================
#
###

# Versioning variables
# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... )
# because they are used in Jenkins, whose plug-in doesn't support

major=4
minor=0
patch=0

base_version=${major}.${minor}.${patch}

# Release must be completed with git revision # in Jenkins
release_version=${base_version}
snapshot_version=${base_version}-SNAPSHOT
/api/vnfres/v1/health_check ${VFC_ZTEVNFDRIVER_HEALTH_CHECK_PATH} /api/ztevnfmdriver/v1/health_check ${VFC_GVNFMDRIVER_ENDPOINT} ${GLOBAL_VFC_GVNFMDRIVER_SERVER_PROTOCOL}://${GLOBAL_INJECTED_VFC_GVNFMDRIVER_IP_ADDR}:${GLOBAL_VFC_GVNFMDRIVER_SERVER_PORT} ${VFC_HUAWEIVNFMDRIVER_ENDPOINT} ${GLOBAL_VFC_HUAWEIVNFMDRIVER_SERVER_PROTOCOL}://${GLOBAL_INJECTED_VFC_HUAWEIVNFMDRIVER_IP_ADDR}:${GLOBAL_VFC_HUAWEIVNFMDRIVER_SERVER_PORT} ${VFC_NSLCM_ENDPOINT} ${GLOBAL_VFC_NSLCM_SERVER_PROTOCOL}://${GLOBAL_INJECTED_VFC_NSLCM_IP_ADDR}:${GLOBAL_VFC_NSLCM_SERVER_PORT} ${VFC_VNFLCM_ENDPOINT} ${GLOBAL_VFC_VNFLCM_SERVER_PROTOCOL}://${GLOBAL_INJECTED_VFC_VNFLCM_IP_ADDR}:${GLOBAL_VFC_VNFLCM_SERVER_PORT} ${VFC_VNFMGR_ENDPOINT} ${GLOBAL_VFC_VNFMGR_SERVER_PROTOCOL}://${GLOBAL_INJECTED_VFC_VNFMGR_IP_ADDR}:${GLOBAL_VFC_VNFMGR_SERVER_PORT} ${VFC_VNFRES_ENDPOINT} ${GLOBAL_VFC_VNFRES_SERVER_PROTOCOL}://${GLOBAL_INJECTED_VFC_VNFRES_IP_ADDR}:${GLOBAL_VFC_VNFRES_SERVER_PORT} ${VFC_ZTEVNFDRIVER_ENDPOINT} ${GLOBAL_VFC_ZTEVNFDRIVER_SERVER_PROTOCOL}://${GLOBAL_INJECTED_VFC_ZTEVNFDRIVER_IP_ADDR}:${GLOBAL_VFC_ZTEVNFDRIVER_SERVER_PORT} *** Keywords *** Run VFC gvnfmdriver Health Check [Documentation] Runs VFC gvnfmdriver Health check ${resp}= Run VFC Get Request ${VFC_GVNFMDRIVER_ENDPOINT} ${VFC_GVNFMDRIVER_HEALTH_CHECK_PATH} Should Be Equal As Integers ${resp.status_code} 200 Run VFC huaweivnfmdriver Health Check [Documentation] Runs VFC huaweivnfmdriver Health check ${resp}= Run VFC Get Request ${VFC_HUAWEIVNFMDRIVER_ENDPOINT} ${VFC_HUAWEIVNFMDRIVER_HEALTH_CHECK_PATH} Should Be Equal As Integers ${resp.status_code} 200 Run VFC nslcm Health Check [Documentation] Runs VFC nslcm Health check ${resp}= Run VFC Get Request ${VFC_NSLCM_ENDPOINT} ${VFC_NSLCM_HEALTH_CHECK_PATH} Should Be Equal As Integers ${resp.status_code} 200 Run VFC vnflcm Health Check [Documentation] Runs VFC vnflcm Health check ${resp}= Run VFC Get Request ${VFC_VNFLCM_ENDPOINT} ${VFC_VNFLCM_HEALTH_CHECK_PATH} Should Be Equal As Integers ${resp.status_code} 200 Run VFC vnfmgr Health Check [Documentation] Runs VFC vnfmgr Health check ${resp}= Run VFC Get Request ${VFC_VNFMGR_ENDPOINT} ${VFC_VNFMGR_HEALTH_CHECK_PATH} Should Be Equal As Integers ${resp.status_code} 200 Run VFC vnfres Health Check [Documentation] Runs VFC vnfres Health check ${resp}= Run VFC Get Request ${VFC_VNFRES_ENDPOINT} ${VFC_VNFRES_HEALTH_CHECK_PATH} Should Be Equal As Integers ${resp.status_code} 200 Run VFC ztevnfmdriver Health Check [Documentation] Runs VFC ztevnfmdriver Health check ${resp}= Run VFC Get Request ${VFC_ZTEVNFDRIVER_ENDPOINT} ${VFC_ZTEVNFDRIVER_HEALTH_CHECK_PATH} Should Be Equal As Integers ${resp.status_code} 200 Run VFC Get Request [Documentation] Runs VFC Get request [Arguments] ${endpoint} ${data_path} ${session}= Create Session session ${endpoint} ${resp}= Get Request session ${data_path} Should Be Equal As Integers ${resp.status_code} 200 Log Received response from MultiCloud ${resp.text} [Return] ${resp}