Skip to content
Snippets Groups Projects
README.md 2.15 KiB
Newer Older
  • Learn to ignore specific revisions
  • # OSDU Legal Service
    
    Official documentation is located at [https://osdu.pages.opengroup.org/platform/security-and-compliance/legal/](https://osdu.pages.opengroup.org/platform/security-and-compliance/legal/)
    
    David Diederich's avatar
    David Diederich committed
    
    ## os-legal-azure
    
    The steps for running `os-legal-azure` can be found in the [Azure Implementation README.md file](./provider/legal-azure/README.md).
    
    ## os-legal-aws
    
    
    Matt Wise's avatar
    Matt Wise committed
    Instructions for running and testing this service can be found in the [AWS README.md file](./provider/legal-aws/README.md)
    
    David Diederich's avatar
    David Diederich committed
    
    
    David Diederich's avatar
    David Diederich committed
    
    
    ## Running integration tests
    Integration tests are located in a separate project for each cloud in the ```testing``` directory under the project root directory.
    
    
    ### Open API 3.0 - Swagger
    - Swagger UI : https://host/context-path/swagger (will redirect to https://host/context-path/swagger-ui/index.html)
    - api-docs (JSON) : https://host/context-path/api-docs
    - api-docs (YAML) : https://host/context-path/api-docs.yaml
    
    All the Swagger and OpenAPI related common properties are managed here [swagger.properties](./legal-core/src/main/resources/swagger.properties)
    
    
    #### Server Url(full path vs relative path) configuration
    - `api.server.fullUrl.enabled=true` It will generate full server url in the OpenAPI swagger
    - `api.server.fullUrl.enabled=false` It will generate only the contextPath only
    - default value is false (Currently only in Azure it is enabled)
    [Reference]:(https://springdoc.org/faq.html#_how_is_server_url_generated) 
    
    
    ### Google Cloud
    
    Instructions for running the Google Cloud integration tests can be found [here](./provider/legal-gc/README.md).
    
    David Diederich's avatar
    David Diederich committed
    
    ## License
    Copyright 2017-2019, Schlumberger
    
    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](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.