summaryrefslogtreecommitdiffstats
path: root/robot/resources/sms_interface.robot
blob: dd2cabebae0a8e19cb5b7912d58cebd2510410d5 (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
*** Settings ***
Documentation   The main interface for interacting with SMS.
Library           RequestsClientCert
Library         RequestsLibrary
Library           UUID

Resource          global_properties.robot

*** Variables ***
${SMS_HEALTH_CHECK_PATH}        /v1/sms/healthcheck
${SMS_ENDPOINT}     ${GLOBAL_SMS_SERVER_PROTOCOL}://${GLOBAL_SMS_SERVER_NAME}:${GLOBAL_SMS_SERVER_PORT}

*** Keywords ***
Run SMS Health Check
     [Documentation]    Runs SMS Health check
     ${resp}=    Run SMS Get Request    ${SMS_HEALTH_CHECK_PATH}
     Should Be Equal As Strings   ${resp.status_code}   200

Run SMS Get Request
     [Documentation]    Runs SMS Get request
     [Arguments]    ${data_path}
     ${session}=    Create Session  smssession  ${SMS_ENDPOINT}
     ${resp}=   Get Request     smssession  ${data_path}
     Should Be Equal As Integers  ${resp.status_code}   200
     Log    Received response from SMS ${resp.text}
     [Return]    ${resp}
pan class="nx">webpackDevConfig = Object.assign({}, webpackCommon, { entry: getEntrySources(devConfig.bundles), devtool: 'eval-source-map', output: { path: path.join(__dirname, 'dist'), publicPath: `http://localhost:${devPort}/onboarding/`, filename: '[name].js' }, devServer: { port: devPort, historyApiFallback: true, publicPath: `http://localhost:${devPort}/onboarding/`, contentBase: path.join(__dirname, 'dist'), hot: true, inline: true, stats: { colors: true, exclude: ['node_modules'] }, setup: proxyServer }, plugins: [ new webpack.DefinePlugin({ DEV: true, DEBUG: true }), new webpack.HotModuleReplacementPlugin(), new webpack.LoaderOptionsPlugin({ options: { eslint: { configFile: './.eslintrc', emitError: true, emitWarning: true }, context: '/' } }) ] }); module.exports = webpackDevConfig;