Commit 2d6b7aa9 authored by Anuj Gupta's avatar Anuj Gupta
Browse files

Merge branch 'ibm-witsml' into 'master'

ibm witsml changes

See merge request osdu/platform/data-flow/ingestion/energistics-osdu-integration!21
parents c1bf044a f2ff77ff
Pipeline #54532 skipped with stages
# Copyright 2021 Google LLC
# Copyright 2021 EPAM
#
# 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.
FROM python:3.6-slim
ENV HOME="/home/witsml_parser"
WORKDIR $HOME
ENV BUILD_DIR="build"
ENV WITSML_PARSER_DIR="energistics/src/witsml_parser"
ENV ENERGISTICS_LIBS="${WITSML_PARSER_DIR}/energistics"
ENV OSDU_CORE_LIBS_DIR="${WITSML_PARSER_DIR}/osdu/ingestion-dags/src/dags/libs"
ENV OSDU_CORE_PROVIDERS_DIR="${WITSML_PARSER_DIR}/osdu/ingestion-dags/src/dags/providers"
COPY ./${BUILD_DIR}/providers/ibm/requirements.txt ./
COPY ./${WITSML_PARSER_DIR}/*.py ./
COPY ./${ENERGISTICS_LIBS} ./energistics
COPY ./${BUILD_DIR}/providers/ibm/osdu_api.ini ./
# TODO: Configure Package Registry for Python SDK
RUN pip install --upgrade pip && \
pip install -r "./energistics/requirements.txt" && \
pip install -r "./requirements.txt"
ENV PYTHONPATH="$PYTHONPATH:$HOME"
[environment]
data_partition_id=osdu
storage_url=%(API_BASE_URL)s/osdu-storage/api/storage/v2
search_url=%(API_BASE_URL)s/osdu-search/api/search/v2
legal_url=%(API_BASE_URL)s/osdu-legal/api/legal/v1
data_workflow_url=%(API_BASE_URL)s/osdu-workflow/api/workflow/v1
file_dms_url=%(API_BASE_URL)s/osdu-filedms/api/dms/file/v1
dataset_url=%(API_BASE_URL)s/osdu-dataset/api/dataset/v1
entitlements_url=%(API_BASE_URL)s/osdu-entitlements/api/entitlements/v1
schema_url=%(API_BASE_URL)s/osdu-schema/api/schema-service/v1
use_service_principal=True
file_service_host=%(API_BASE_URL)s/osdu-file/api/file
boto3
twine==3.2.0
pyyaml==5.4.1
requests==2.25.1
tenacity
python-keycloak==0.24.0
dataclasses==0.8;python_version<"3.7"
--extra-index-url https://community.opengroup.org/api/v4/projects/148/packages/pypi/simple
# master
osdu_api==0.0.5.dev0+0b1913fd
# ibm-cloud-storage
# osdu_api==0.0.5.dev0+0de883e8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment