diff options
author | Instrumental <jonathan.gathman@att.com> | 2018-11-05 11:11:15 -0600 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2018-11-05 11:11:31 -0600 |
commit | 7a1817bf3cf3c40c6c33f673ddc46c3f115cc3bc (patch) | |
tree | 6ac32d6f1b8800133c709cf22efcf509b6f07ee7 /auth/auth-cass/cass_init | |
parent | ca788dc542830b054f0a46df2dfd774fc318872c (diff) |
Missing Licenses
Issue-ID: AAF-607
Change-Id: Ibd6c50104af69c4164d53aa0f8709520020ce7a5
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-cass/cass_init')
-rw-r--r-- | auth/auth-cass/cass_init/build.sh | 20 | ||||
-rw-r--r-- | auth/auth-cass/cass_init/cmd.sh | 19 | ||||
-rw-r--r-- | auth/auth-cass/cass_init/extract.sh | 20 | ||||
-rw-r--r-- | auth/auth-cass/cass_init/prep.sh | 21 | ||||
-rw-r--r-- | auth/auth-cass/cass_init/pull.sh | 18 | ||||
-rw-r--r-- | auth/auth-cass/cass_init/push.sh | 18 |
6 files changed, 115 insertions, 1 deletions
diff --git a/auth/auth-cass/cass_init/build.sh b/auth/auth-cass/cass_init/build.sh index caa07494..632a2b70 100644 --- a/auth/auth-cass/cass_init/build.sh +++ b/auth/auth-cass/cass_init/build.sh @@ -1,4 +1,24 @@ #!/bin/bash +######### +# ============LICENSE_START==================================================== +# org.onap.aaf +# =========================================================================== +# Copyright (c) 2017 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==================================================== +# + CQLSH=/Volumes/Data/apache-cassandra-2.1.14/bin/cqlsh DIR=. for T in ns perm role user_role cred config; do diff --git a/auth/auth-cass/cass_init/cmd.sh b/auth/auth-cass/cass_init/cmd.sh index 0683fde2..98194e08 100644 --- a/auth/auth-cass/cass_init/cmd.sh +++ b/auth/auth-cass/cass_init/cmd.sh @@ -1,4 +1,23 @@ #!/bin/bash +######### +# ============LICENSE_START==================================================== +# org.onap.aaf +# =========================================================================== +# Copyright (c) 2017 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==================================================== +# # # Engage normal Cass Init, then check for data installation # diff --git a/auth/auth-cass/cass_init/extract.sh b/auth/auth-cass/cass_init/extract.sh index cdebbc8d..d960ced1 100644 --- a/auth/auth-cass/cass_init/extract.sh +++ b/auth/auth-cass/cass_init/extract.sh @@ -1,4 +1,24 @@ #!/bin/bash +######### +# ============LICENSE_START==================================================== +# org.onap.aaf +# =========================================================================== +# Copyright (c) 2017 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==================================================== +# + cd /opt/app/cass_init if [ -e dat.gz ]; then tar -xvf dat.gz diff --git a/auth/auth-cass/cass_init/prep.sh b/auth/auth-cass/cass_init/prep.sh index 5639ca43..03031a48 100644 --- a/auth/auth-cass/cass_init/prep.sh +++ b/auth/auth-cass/cass_init/prep.sh @@ -1,4 +1,23 @@ -#/bin/bash +#!/bin/bash +######### +# ============LICENSE_START==================================================== +# org.onap.aaf +# =========================================================================== +# Copyright (c) 2017 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==================================================== +# cd dats export DATE=$(date "+%Y-%m-%d %H:%M:%S.000+0000" -d "+6 months") diff --git a/auth/auth-cass/cass_init/pull.sh b/auth/auth-cass/cass_init/pull.sh index b25099f8..454fc4ac 100644 --- a/auth/auth-cass/cass_init/pull.sh +++ b/auth/auth-cass/cass_init/pull.sh @@ -1,4 +1,22 @@ #!/bin/bash +######### +# ============LICENSE_START==================================================== +# org.onap.aaf +# =========================================================================== +# Copyright (c) 2017 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==================================================== # # Pull data from Cassandra into ".dat" files, and "gzip" them # diff --git a/auth/auth-cass/cass_init/push.sh b/auth/auth-cass/cass_init/push.sh index 09a0fccf..9d59bd0f 100644 --- a/auth/auth-cass/cass_init/push.sh +++ b/auth/auth-cass/cass_init/push.sh @@ -1,4 +1,22 @@ #!/bin/bash +######### +# ============LICENSE_START==================================================== +# org.onap.aaf +# =========================================================================== +# Copyright (c) 2017 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==================================================== # # Push data from Cassandra ".dat" files into Tables # These are obtained from "gzipped" files, or pre-placed (i.e. initialization) |