Added legal header to all features and step definitions files
This commit is contained in:
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Kapow! server reject append requests with malformed JSON bodies.
|
Feature: Kapow! server reject append requests with malformed JSON bodies.
|
||||||
Kapow! server will reject to append a route when
|
Kapow! server will reject to append a route when
|
||||||
it receives a malformed json document in the
|
it receives a malformed json document in the
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Kapow! server rejects requests with semantic errors.
|
Feature: Kapow! server rejects requests with semantic errors.
|
||||||
Kapow! server will refuse to append routes when
|
Kapow! server will refuse to append routes when
|
||||||
it receives a valid json document not conforming
|
it receives a valid json document not conforming
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Append new routes in Kapow! server.
|
Feature: Append new routes in Kapow! server.
|
||||||
Appending routes allows users to configure the server. New
|
Appending routes allows users to configure the server. New
|
||||||
routes are added at the end of the list of existing routes.
|
routes are added at the end of the list of existing routes.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Fail to delete a route in Kapow! server.
|
Feature: Fail to delete a route in Kapow! server.
|
||||||
When trying to delete a route that not exists in the server
|
When trying to delete a route that not exists in the server
|
||||||
the server respons with an error.
|
the server respons with an error.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Consistent route order after a route deletion in Kapow! server.
|
Feature: Consistent route order after a route deletion in Kapow! server.
|
||||||
When deleting routes the server will mantain the
|
When deleting routes the server will mantain the
|
||||||
remaining routes ordered and with consecutive indexes.
|
remaining routes ordered and with consecutive indexes.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Delete routes in Kapow! server.
|
Feature: Delete routes in Kapow! server.
|
||||||
Deleting routes allows users to remove undesired
|
Deleting routes allows users to remove undesired
|
||||||
routes from the server.
|
routes from the server.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Fail to retrieve route details in Kapow! server.
|
Feature: Fail to retrieve route details in Kapow! server.
|
||||||
When trying to get route details for a route that
|
When trying to get route details for a route that
|
||||||
does no exist the server responds with an error.
|
does no exist the server responds with an error.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Retrieve route details in Kapow! server.
|
Feature: Retrieve route details in Kapow! server.
|
||||||
Users can retrieve route details from the server
|
Users can retrieve route details from the server
|
||||||
by specifying its id.
|
by specifying its id.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Kapow! server rejects insertion requests with malformed JSON bodies.
|
Feature: Kapow! server rejects insertion requests with malformed JSON bodies.
|
||||||
Kapow! server will reject to insert a route when
|
Kapow! server will reject to insert a route when
|
||||||
it receives a malformed JSON document in the
|
it receives a malformed JSON document in the
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Kapow! server rejects insertion requests with semantic errors.
|
Feature: Kapow! server rejects insertion requests with semantic errors.
|
||||||
Kapow! server will refuse to insert routes when
|
Kapow! server will refuse to insert routes when
|
||||||
it receives a valid JSON but not conforming document.
|
it receives a valid JSON but not conforming document.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Consistent route ordering after inserting a route in a Kapow! server.
|
Feature: Consistent route ordering after inserting a route in a Kapow! server.
|
||||||
When inserting routes the server will mantain the
|
When inserting routes the server will mantain the
|
||||||
whole set of routes ordered and with consecutive indexes.
|
whole set of routes ordered and with consecutive indexes.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Insert new routes in Kapow! server.
|
Feature: Insert new routes in Kapow! server.
|
||||||
Inserting routes allows users to configure the server. New
|
Inserting routes allows users to configure the server. New
|
||||||
routes could be inserted at the beginning or before any
|
routes could be inserted at the beginning or before any
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Listing routes in a Kapow! server.
|
Feature: Listing routes in a Kapow! server.
|
||||||
Listing routes allows users to know what URLs are
|
Listing routes allows users to know what URLs are
|
||||||
available on a Kapow! server. The List endpoint returns
|
available on a Kapow! server. The List endpoint returns
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Fail to retrieve resources from nonexistent handler in Kapow! server.
|
Feature: Fail to retrieve resources from nonexistent handler in Kapow! server.
|
||||||
If trying to access a nonexistent handler then the
|
If trying to access a nonexistent handler then the
|
||||||
server responds with a not found error.
|
server responds with a not found error.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Fail to retrieve an invalid resource for a handler in Kapow! server.
|
Feature: Fail to retrieve an invalid resource for a handler in Kapow! server.
|
||||||
If trying to access an invalid resource for a handler
|
If trying to access an invalid resource for a handler
|
||||||
then the server responds with an error.
|
then the server responds with an error.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Fail to retrieve nonexistent resource items in Kapow! server.
|
Feature: Fail to retrieve nonexistent resource items in Kapow! server.
|
||||||
If trying to access a nonexistent resource item
|
If trying to access a nonexistent resource item
|
||||||
then the server responds with a no content error.
|
then the server responds with a no content error.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Retrieve a resource from a handler in Kapow! server.
|
Feature: Retrieve a resource from a handler in Kapow! server.
|
||||||
Users can retrieve request handler resources
|
Users can retrieve request handler resources
|
||||||
from the server by specifying the handler id
|
from the server by specifying the handler id
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Retrieve request resources from a handler in Kapow! server.
|
Feature: Retrieve request resources from a handler in Kapow! server.
|
||||||
Users can retrieve request resources by
|
Users can retrieve request resources by
|
||||||
specifying the handler id and the
|
specifying the handler id and the
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
Feature: Setting values for handler response resources in Kapow! server.
|
Feature: Setting values for handler response resources in Kapow! server.
|
||||||
Users can set the values in the response
|
Users can set the values in the response
|
||||||
resources by specifying the handler id
|
resources by specifying the handler id
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
import tempfile
|
import tempfile
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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 functools import singledispatch
|
from functools import singledispatch
|
||||||
from itertools import zip_longest
|
from itertools import zip_longest
|
||||||
from jsonexample import ANY
|
from jsonexample import ANY
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
import json
|
import json
|
||||||
from functools import partial
|
from functools import partial
|
||||||
import re
|
import re
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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 contextlib import suppress
|
from contextlib import suppress
|
||||||
from time import sleep
|
from time import sleep
|
||||||
import json
|
import json
|
||||||
|
|||||||
@@ -1,4 +1,21 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
#
|
||||||
|
# Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
import signal
|
import signal
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|||||||
Reference in New Issue
Block a user