Skip to content

Commit

Permalink
Merging dev into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloud User committed Jul 30, 2019
2 parents 6b3eb0a + 84d96db commit 6df689d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 115 deletions.
12 changes: 8 additions & 4 deletions apps/omar-oms-app/grails-app/conf/application.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
---
# Set the context path for the application.
#server:
# contextPath: /omar-oms

# Define the production database values.
environments:
production:
dataSource:
url: jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE

omar:
oms:
getRasterFilesUrl: "http://omar-stager-app:8080/omar-stager/dataManager/getRasterFiles"

# Set the context path for the application.
server:
contextPath: /omar-oms

# Define the http protocols that swagger will use
swagger:
schemes:
Expand Down
111 changes: 0 additions & 111 deletions docs/install-guide/omar-oms.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,114 +22,3 @@ OMS requires shared access to OSSIM imagery data. This data is assumed to be acc
|OSSIM_INSTALL_PREFIX|The directory in which OSSIM is installed (*e.g. /usr*)|
|OSSIM_DATA|The location of OSSIM imagery data such as elevation (*e.g. /data*)|
|BUCKETS|The S3 to mount for direct image access (*e.g. my-bucket*)|

### An Example DeploymentConfig

```yaml
apiVersion: v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
generation: 1
labels:
app: omar-openshift
name: omar-oms-app
spec:
replicas: 1
selector:
app: omar-openshift
deploymentconfig: omar-oms-app
strategy:
activeDeadlineSeconds: 21600
resources: {}
rollingParams:
intervalSeconds: 1
maxSurge: 25%
maxUnavailable: 25%
timeoutSeconds: 600
updatePeriodSeconds: 1
type: Rolling
template:
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: omar-openshift
deploymentconfig: omar-oms-app
spec:
containers:
- env:
- name: SPRING_PROFILES_ACTIVE
value: dev
- name: SPRING_CLOUD_CONFIG_LABEL
value: master
- name: OSSIM_PREFS_FILE
value: /usr/share/ossim/ossim-site-preferences
- name: OSSIM_INSTALL_PREFIX
value: /usr
- name: OSSIM_DATA
value: /data
image: 172.30.181.173:5000/o2/omar-oms-app@sha256:cedfb03614eb0ad2386a073793bff517b0e2c47864ed7698e3f7c46884753b7b
imagePullPolicy: Always
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
tcpSocket:
port: 8080
timeoutSeconds: 1
name: omar-oms-app
ports:
- containerPort: 8080
protocol: TCP
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 30
periodSeconds: 10
successThreshold: 1
tcpSocket:
port: 8080
timeoutSeconds: 1
resources: {}
securityContext:
capabilities:
add:
- SYS_ADMIN
privileged: true
runAsUser: 1001
terminationMessagePath: /dev/termination-log
volumeMounts:
- mountPath: /data
name: volume-oms
dnsPolicy: ClusterFirst
restartPolicy: Always
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: volume-oms
persistentVolumeClaim:
claimName: ossim-data-dev-pvc
test: false
triggers:
- imageChangeParams:
automatic: true
containerNames:
- omar-oms-app
from:
kind: ImageStreamTag
name: omar-oms-app:latest
namespace: o2
type: ImageChange
- type: ConfigChange
status:
availableReplicas: 0
latestVersion: 0
observedGeneration: 0
replicas: 0
unavailableReplicas: 0
updatedReplicas: 0
```

0 comments on commit 6df689d

Please sign in to comment.