Missing Licenses
[aaf/authz.git] / auth / csit / README.txt
1 #########
2 ##  ============LICENSE_START====================================================
3 ##  org.onap.aaf
4 ##  ===========================================================================
5 ##  Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
6 ##  ===========================================================================
7 ##  Licensed under the Apache License, Version 2.0 (the "License");
8 ##  you may not use this file except in compliance with the License.
9 ##  You may obtain a copy of the License at
10 ##
11 ##       http://www.apache.org/licenses/LICENSE-2.0
12 ##
13 ##  Unless required by applicable law or agreed to in writing, software
14 ##  distributed under the License is distributed on an "AS IS" BASIS,
15 ##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 ##  See the License for the specific language governing permissions and
17 ##  limitations under the License.
18 ##  ============LICENSE_END====================================================
19 ##
20
21 The CSIT functions are started by Jenkins, starting with the "setup.sh"
22 in the csit/plans/aaf/aafapi directory (where 'csit' is an ONAP Project)
23
24 You can emulate the JENKINS build locally
25
26 1) Start in the directory you put your ONAP source in
27   cd <root onap source dir>
28 2) If not exist, create a "workspace" directory. 
29   mkdir -p workspace
30 3) Create an empty common functions script
31   > workspace/common_functions.sh
32 4) cd to the plans
33   cd csit/plans/aaf/aafapi
34 5) Run setup with variables set to the Workspace you created
35 WORKSPACE=/workspace; SCRIPTS=$WORKSPACE; export WORKSPACE SCRIPTS; bash setup.sh
36
37 6) To practice the Shutdown, do:
38 WORKSPACE=/workspace; SCRIPTS=$WORKSPACE; export WORKSPACE SCRIPTS; bash teardown.sh
39   
40