{"id":20703840,"url":"https://github.com/euiyounghwang/es-job-interface","last_synced_at":"2026-04-18T11:06:37.748Z","repository":{"id":244472997,"uuid":"815330574","full_name":"euiyounghwang/es-job-interface","owner":"euiyounghwang","description":"es-job-interface","archived":false,"fork":false,"pushed_at":"2025-04-03T20:25:19.000Z","size":3727,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T21:28:59.061Z","etag":null,"topics":["data-ingestion","elasticsearch","fastapi","oracle","python-elasticsearch","sql"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/euiyounghwang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-14T21:57:19.000Z","updated_at":"2025-04-03T20:25:07.000Z","dependencies_parsed_at":"2025-01-17T19:54:18.921Z","dependency_job_id":"d5696af3-5a43-4d5d-a101-2e6ec2060cf0","html_url":"https://github.com/euiyounghwang/es-job-interface","commit_stats":null,"previous_names":["euiyounghwang/es-job-interface"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/euiyounghwang/es-job-interface","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euiyounghwang%2Fes-job-interface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euiyounghwang%2Fes-job-interface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euiyounghwang%2Fes-job-interface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euiyounghwang%2Fes-job-interface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/euiyounghwang","download_url":"https://codeload.github.com/euiyounghwang/es-job-interface/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euiyounghwang%2Fes-job-interface/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278165676,"owners_count":25940956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-ingestion","elasticsearch","fastapi","oracle","python-elasticsearch","sql"],"created_at":"2024-11-17T01:09:45.530Z","updated_at":"2025-10-03T12:47:57.540Z","avatar_url":"https://github.com/euiyounghwang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# es-job-interface\n\u003ci\u003ees-job-interface\n\nFastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.8+ based on standard Python.\nThis is a repository that provides to deliver the records to the Prometheus-Export application.\n\n\n### Install Poerty\n```\nhttps://python-poetry.org/docs/?ref=dylancastillo.co#installing-with-the-official-installer\n```\n\n\n### Using Python Virtual Environment\n```bash\npython -m venv .venv\nsource .venv/bin/activate\n```\n\n\n#### Python V3.9 Install\n```bash\nsudo yum install gcc openssl-devel bzip2-devel libffi-devel zlib-devel git \nwget https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tgz \ntar –zxvf Python-3.9.0.tgz or tar -xvf Python-3.9.0.tgz \ncd Python-3.9.0 \n./configure --libdir=/usr/lib64 \nsudo make \nsudo make altinstall \n\n# python3 -m venv .venv --without-pip\nsudo yum install python3-pip\n\nsudo ln -s /usr/lib64/python3.9/lib-dynload/ /usr/local/lib/python3.9/lib-dynload\n\npython3 -m venv .venv\nsource .venv/bin/activate\n\n# pip install -r ./dev-requirement.txt\npip install prometheus-client\npip install requests\npip install JPype1\npip install psycopg2-binary\npip install jaydebeapi\npip install pytz\npip install httpx\n\n# when error occur like this\n# ImportError: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips  26 Jan 2017'. See: https://github.com/urllib3/urllib3/issues/2168\npip install urllib3==1.26.18\npip install pytz\n```\n\n\n### Using Poetry: Create the virtual environment in the same directory as the project and install the dependencies:\n```bash\npython -m venv .venv\nsource .venv/bin/activate\npip install poetry\n\n# --\npoetry config virtualenvs.in-project true\npoetry init\npoetry add prometheus-client\npoetry add psutil\npoetry add pytz\npoetry add JPype1\npoetry add psycopg2-binary\npoetry add jaydebeapi\npoetry add pytest-cov\n```\nor you can run this shell script `./create_virtual_env.sh` to make an environment. then go to virtual enviroment using `source .venv/bin/activate`\n\n\n\n### Register Service\n- sudo service es_job_interface_api status/stop/start/restart\n```bash\n#-- /etc/systemd/system/es_job_interface_api.service\n[Unit]\nDescription=ES Data Pipeline Interface Service between DB and Elasticsearch Cluster\n\n[Service]\nUser=devuser\nGroup=devuser\nType=simple\nExecStart=/bin/bash /home/devuser/rest_api/es_job_interface_api/service-start.sh\nExecStop= /usr/bin/killall /es_job_interface_api\n\n[Install]\nWantedBy=default.target\n\n\n# Service command\nsudo systemctl daemon-reload \nsudo systemctl enable es_job_interface_api.service\nsudo systemctl start es_job_interface_api.service \nsudo systemctl status es_job_interface_api.service \nsudo systemctl stop es_job_interface_api.service \n\nsudo service es_job_interface_api status/stop/start\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuiyounghwang%2Fes-job-interface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feuiyounghwang%2Fes-job-interface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuiyounghwang%2Fes-job-interface/lists"}