Skip to content

Commit

Permalink
[#133] add copyrights to test-bare-models, update flask version
Browse files Browse the repository at this point in the history
  • Loading branch information
ablatov committed Oct 1, 2018
1 parent c77a775 commit 669c897
Show file tree
Hide file tree
Showing 7 changed files with 91 additions and 1 deletion.
15 changes: 15 additions & 0 deletions k8s/test-bare-model-api/model-1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#
# Copyright 2018 EPAM Systems
#
# 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-alpine3.7

COPY . /app
Expand Down
15 changes: 15 additions & 0 deletions k8s/test-bare-model-api/model-1/app.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#
# Copyright 2018 EPAM Systems
#
# 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 flask import Flask, jsonify

app = Flask(__name__)
Expand Down
15 changes: 15 additions & 0 deletions k8s/test-bare-model-api/model-2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#
# Copyright 2018 EPAM Systems
#
# 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-alpine3.7

COPY . /app
Expand Down
15 changes: 15 additions & 0 deletions k8s/test-bare-model-api/model-2/app.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#
# Copyright 2018 EPAM Systems
#
# 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 flask import Flask, jsonify

app = Flask(__name__)
Expand Down
15 changes: 15 additions & 0 deletions k8s/test-bare-model-api/model-3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#
# Copyright 2018 EPAM Systems
#
# 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-alpine3.7

COPY . /app
Expand Down
15 changes: 15 additions & 0 deletions k8s/test-bare-model-api/model-3/app.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#
# Copyright 2018 EPAM Systems
#
# 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 flask import Flask, jsonify

app = Flask(__name__)
Expand Down
2 changes: 1 addition & 1 deletion k8s/test-bare-model-api/model-3/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Flask==0.10.1
Flask==0.12.4

0 comments on commit 669c897

Please sign in to comment.