Clean up CAPIF generation
Change-Id: Idaa78935e73726d58099a35bf63fbc76eb4669f0
diff --git a/capif/generate.sh b/capif/generate.sh
index 276cf71..e4a6db7 100755
--- a/capif/generate.sh
+++ b/capif/generate.sh
@@ -34,15 +34,9 @@
jar xvf common29571apidef.zip
jar xvf common29572apidef.zip
-sed -e 'H;x;/^\( *\)\n\1/{s/\n.*//;x;d;}' -e 's/.*//;x;/\LocationArea/{s/^\( *\).*/ \1/;x;d;}' TS29122_CommonData.yaml >temp.yaml
+sed '/nwAreaInfo.*/,+1d' TS29122_CommonData.yaml >temp.yaml
mv temp.yaml TS29122_CommonData.yaml
-sed -e 'H;x;/^\( *\)\n\1/{s/\n.*//;x;d;}' -e 's/.*//;x;/\DddTrafficDescriptor/{s/^\( *\).*/ \1/;x;d;}' TS29571_CommonData.yaml >temp.yaml
-mv temp.yaml TS29571_CommonData.yaml
-sed -e 'H;x;/^\( *\)\n\1/{s/\n.*//;x;d;}' -e 's/.*//;x;/\CivicAddress/{s/^\( *\).*/ \1/;x;d;}' TS29571_CommonData.yaml >temp.yaml
-mv temp.yaml TS29571_CommonData.yaml
-sed -e 'H;x;/^\( *\)\n\1/{s/\n.*//;x;d;}' -e 's/.*//;x;/\GeographicArea/{s/^\( *\).*/ \1/;x;d;}' TS29571_CommonData.yaml >temp.yaml
-mv temp.yaml TS29571_CommonData.yaml
sed '/accessTokenError.*/,+3d' TS29571_CommonData.yaml >temp.yaml
mv temp.yaml TS29571_CommonData.yaml
sed '/accessTokenRequest.*/,+3d' TS29571_CommonData.yaml >temp.yaml