Skip to content
Snippets Groups Projects
Commit b703244c authored by Daniel Scholl (MS]'s avatar Daniel Scholl (MS]
Browse files

Merge branch 'fix-context-path-indexer' into 'master'

Azure - (4/4) - Adding missing context path for indexer

See merge request !11
parents d1100354 aada2d01
No related branches found
No related tags found
1 merge request!11Azure - (4/4) - Adding missing context path for indexer
Pipeline #4166 failed
#####################
# README: Defines a template to be used as a starting point for defining a service pipeline
#####################
trigger:
batch: true
branches:
include:
- master
paths:
exclude:
- /**/*.md
- .gitignore
- images/
pr:
autoCancel: true
branches:
include:
- '*'
paths:
exclude:
- /**/*.md
- .gitignore
- images/
resources:
repositories:
- repository: osdu-infrastructure
type: git
name: osdu-r2/osdu-infrastructure
variables:
- group: 'Azure Common Secrets'
- group: 'Azure - Common'
- name: serviceName
value: 'indexer'
stages:
- template: devops/service-pipelines/build-stage.yml@osdu-infrastructure
parameters:
mavenGoal: 'package'
mavenPublishJUnitResults: true
serviceCoreMavenOptions: '-P indexer-core'
mavenOptions: '-P indexer-azure'
copyFileContents: |
pom.xml
provider/indexer-azure/maven/settings.xml
provider/indexer-azure/pom.xml
provider/indexer-azure/target/*-spring-boot.jar
copyFileContentsToFlatten: ''
mavenSettingsFile: './maven/settings.xml'
serviceBase: ${{ variables.serviceName }}
testingRootFolder: 'testing'
- template: devops/service-pipelines/deploy-stages.yml@osdu-infrastructure
parameters:
serviceName: ${{ variables.serviceName }}
testCoreMavenPomFile: 'testing/indexer-test-core/pom.xml'
testCoreMavenOptions: '--settings $(System.DefaultWorkingDirectory)/drop/deploy/testing/maven/settings.xml'
providers:
- name: Azure
environments: ['test']
......@@ -39,6 +39,7 @@ az keyvault secret show --vault-name $KEY_VAULT_NAME --name $KEY_VAULT_SECRET_NA
| name | value | description | sensitive? | source |
| --- | --- | --- | --- | --- |
| `server.servlet.contextPath` | `/api/indexer/v2/` | Servlet context path | no | - |
| `storage_service_url` | ex `https://storage.azurewebsites.net` | Endpoint of storage service | no | output of infrastructure deployments |
| `STORAGE_SCHEMA_HOST` | `${storage_service_url}/schemas` | Endpoint of schema API | no | - |
| `STORAGE_QUERY_RECORD_HOST` | `${storage_service_url}/query/records` | Endpoint of records API | no | - |
......
......@@ -13,6 +13,7 @@
# limitations under the License.
LOG_PREFIX=indexer
server.servlet.contextPath=/api/indexer/v2/
REGION=centralus
logging.level.org.opendes.osdu=DEBUG
JAVA_OPTS=-Dserver.port=80
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment