Skip to content
Shannon edited this page Jul 12, 2019 · 1 revision

Auds Request mcr app_document_mgr dir run app_document_mgr

def/job fonix_override_name "name" 
/e/ysun/_user_settings_service/_user_settings.json 
export AUDS_DUMP_RESPONSE_FILE=~//response.txt
export AUDS_DUMP_REQUEST_FILE=~//request.txt
cat .rakefds
which auds_client
export auds_audit_paths=1
export auds_debug_breadcrumbs=1

Check auds file audscl help audscl -u ysun -s fds ls -b -p /e/ysun/ audscl ls /public/factset/

Build MU build 935 mkdir muv3 936 cd muv3 937 p4view -branch 938 p4view -a user_settings_manager.cxx 939 p4 edit user_settings_manager.cxx 941 vim local_projects.dat 942 p4 change 943 p4 submit 944 cd rint/ 945 p4view -rint 946 p4 resolve 947 p4 change 953 rakefds release --mu 954 preferences_service --port 65535 956 rakefds debug --mu 957 cgdb preferences_service su build 974 source X86_64/environment.sh 979 fdsa_server

Install mkdoc and python env python3 -m venv py3env 1040 ls 1041 virtualenv -p python3 py3env 1045 cd py3env/ 1047 cd bin/ 1049 source ./activate 1054 pip3 install --upgrade pip 989 virtualenv --python=/home/user/hmahmood/python/bin/python3 venv3 990 pip install os 992 pip install --upgrade virtualenv --user 993 ssh unixdeva16 994 source test/bin/activate 995 pip install mkdocs 997 (test) [ysun@fxdeva14 ~/mkdocsapp]>> 998 export LC_ALL=en_US.UTF-8 999 mkdocs --version

start env in windows C:/Users/ysun/AppData/Local/Continuum/anaconda3/Scripts/activate.bat

Copy file from vms to fonix

Copy file from fonix to vms ffs_copy ~/branches/defaultWorkspace/. S1:[YSUN.WORKSPACE]

Restore watchlist format http://is.factset.com/rpd/summary.aspx?messageid=44222303

copy workspace from one client to another http://is.factset.com/rpd/summary.aspx?messageid=45547913

Fonix command ls -l show owner

Delete a folder on VMS: DELTREE2 == "@ref:deltree2" DELTREE2

Fiddler change Proxy More info: This is happening on an Virtual PC VM running Windows XP. The exact stuff that is being blanked resides in the Tools->Internet Options->Connections->LAN Settings window. Both checkboxes there were checked and the fields in the Advanced window were populated. Afterwards, all were blanked.

Oncall teams: VMS password @NOCStaff PA file @cpi.oncall

Javascript WSM build 508 ls 509 cd client/ 510 npm install 511 cd .. 512 cd server/ 513 npm install 514 cd .. 515 node client/build/build.js 516 cd server/ (the dir store .env) 518 node src/app.js

Service Config http://opengrok.factset.com/source/xref/p4/online/makefds/mainline/fdsa_app_server_db.txt

self morph morph fds_demo_c 764214 "Morphing as myself for testing" command="mcr workspace_manager"

morph username serial "reason" fdsa_server
gmlt | /home/fds/svc_lima/bin/morph_token fds_demo_c 764214 'test developing feature'

morph fds_demo_c 764214 "test developing feature" fdsa_server
morph fds_demo_c 764214 'test developing feature' preferences_service 

override def/job fonix_override_name "name"
def/job fonix_override_name "ysun_ws_testing"

generate local_project: blp

Base64 encoded ZLIB compressed data Python: import base64 z = base64.b64decode('eJzt0UEJADAMwMB6nn+YiO0R6B1EQWYAAAAAAAAAAAAAAAAAAAAAAHY7n+ONHy1+tPjR4keLHy1+tPjR4keLHy1+tPjR4keLHy1+tPjR4keLHy1+tPjR4keLHy1+AAAAAAAAAAAAAAAAwD4XM1POpQ==')

len(z)
import zlib
d = zlib.decompress(z)
len(d)

git submit:

494 git clone [email protected]:FactSet/user-settings-viewer.git (clone from other branches)git clone -b ui-change --single-branch [email protected]:app-infrastructure-core-services/Workspaces.git

495 cd user-settings-viewer/ 496 git checkout -b fix/validate-cache-in-prod git stage git commit 498 git push --set-upstream origin fix/validate-cache-in-prod // merge commit git rebase -i 81fe748(change "pick" to "s")/git rebase -i HEAD~3 (change "pick" to "s") git push origin +add/activeWorkspace 499 yarn -v 500 yarn build 501 yarn start 503 git push

Steps for working on Preferences Auditing Service: Pull down project (https://github.factset.com/app-infrastructure-core-services/preferences-auditing-service) before npm install, need to be using a recent version of gcc (I have one available here): export PATH=/home/user/hmahmood/gcc-8.2.0/bin:$PATH export LD_LIBRARY_PATH=home/user/hmahmood/gcc-8.2.0/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/home/user/hmahmood/gcc-8.2.0/lib64:$LD_LIBRARY_PATH Next edit producer_handler.js and consumer_handler.js so that they're using the dev kafka instance (don't push this to production though): const config = require('./kafka_config_handler_dev.js'); // change this line in both files Now you need to have two windows open (make sure both have the newer gcc version above exported) In the first, run node worker.js to start the worker process In the second, run node index.js to start the application Now that the project is setup, you can make and test your code changes

morph and kill morph

http://infonet.factset.com/view/Main/Morph

PAS request body from backend {"serial":"FDS","updates":{"a1":{"s1":76}},"username":"YSUN"}

linux version uname -srm

Componenet Library export CL_PRINT_DIFF_DETAILS=1 componentlibrarypruner_service

unfold tgz file tar zxvf fileNameHere.tgz

some basic steps to use git for pull request

clone from a certain branch

git clone -b ui-change --single-branch [email protected]

submit a pull request

git checkout -b fix/validate-cache-in-prod
git stage <file name>
git commit
git push --set-upstream origin fix/validate-cache-in-prod

merge commit

git rebase -i 81fe748(change "pick" to "s")/git rebase -i HEAD~3 (change "pick" to "s")
git push origin +add/activeWorkspace

gcc paths export PATH=/home/user/ysun/bin/gcc-8.2.0/bin:$PATH export PATH=/home/user/ysun/bin/yarn-v1.15.2/bin:$PATH export LD_LIBRARY_PATH=/home/user/ysun/bin/gcc-8.2.0/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/home/user/ysun/bin/gcc-8.2.0/lib64:$LD_LIBRARY_PATH

gcc compile g++ prebuild_test_main.cxx -o test -lstdc++ -L/home/user/ysun/bin/boost/include/ -lboost_program_options ./test --h

YUSREACWKCD4CQQM

g++ prebuild_test_main.cxx -o test -lstdc++ -I/home/user/ysun/bin/boost/include/ -L/home/user/ysun/bin/boost/include/ -lboost_program_options