1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. Copyright © 2017 AT&T Intellectual Property. All rights reserved.
5 ============================
7 ============================
8 *Note: this document assumes UNIX Bash Shell. Being Java, AAF works in Windows, but you will have to create your own script/instruction conversions.*
13 Choose the directory you wish to start in... This process will create an "authz" subdirectory::
18 Use 'git' to 'clone' the master code::
20 $ git clone https://gerrit.onap.org/r/aaf/authz
22 Change to that directory::
28 << TODO, get ONAP Settings.xml>>
39 After you have successfully run maven, you will need a Cassandra. If you don't have one, here are instructions for a Docker Standalone Cassandra. For a *serious* endeavor, you need a multi-node Cassandra.
43 $ cd auth/auth-cass/src/main/cql
50 AAF Casablanca has added a table. If you have an existing AAF Cassandra, do the following *ONCE* :
52 ### If Container Cassandra, add these steps, otherwise, skip
53 $ docker container cp init2_1.cql aaf_cass:/tmp
54 $ docker exec -it aaf_cass bash
57 $ cqlsh -f 'init2_1.cql'
63 Assuming you are in your src/authz directory::
64 $ cd auth/auth-cass/docker
71 Assuming you are in your src/authz directory::
74 | ### If you have not done so before (don't overwrite your work!)
75 | $ cp d.props.init d.props
77 You will need to edit and fill out the information in your d.props file. Here is info to help
79 **Local Env info** - These are used to load the /etc/hosts file in the Containers, so AAF is available internally and externally
81 =============== =============
83 =============== =============
84 HOSTNAME This must be the EXTERNAL FQDN of your host. Must be in DNS or /etc/hosts
85 HOST_IP This must be the EXTERNAL IP of your host. Must be accessible from "anywhere"
86 CASS_HOST If Docker Cass, this is the INTERNAL FQDN/IP. If external Cass, then DNS|/etc/hosts entry
87 aaf_env This shows up in GUI and certs, to differentiate environments
88 aaf_register_as As pre-set, it is the same external hostname.
89 cadi_latitude Use "https://bing.com/maps", if needed, to locate your current Global Coords
91 =============== =============
93 ------------------------------
94 "Bleeding Edge" Source install
95 ------------------------------
97 AAF can be built, and local Docker Images built with the following::
101 Otherwise, just let it pull from Nexus