Update default application.properties for development purposes (local API start up)
@@ -26,27 +26,27 @@ monitoring.elasticsearch.port=80
flyway.sql-migration-prefix=v
flyway.locations=classpath:db/migration
flyway.schemas=pipeline
-flyway.placeholders.default.admin=
+flyway.placeholders.default.admin=pipe_admin
flyway.placeholders.default.admin.id=1
#sso config
server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
server.ssl.ciphers=HIGH:!RC4:!aNULL:!MD5:!kEDH
-server.ssl.key-store=
-server.ssl.metadata=
-server.ssl.key-store-password=
-server.ssl.keyAlias=pipe-cert-ssl
-saml.sign.key=api-saml-cert-ss
-server.ssl.endpoint.id=
+server.ssl.key-store=file:${CP_API_SSO_CONFIG}/store.jks
+server.ssl.metadata=${CP_API_SSO_CONFIG}/cp-api-srv-fed-meta.xml
+server.ssl.key-store-password=changeit
+server.ssl.keyAlias=ssl
+saml.sign.key=sso
+server.ssl.endpoint.id=https://localhost:9999/pipeline/
saml.authn.request.binding=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect
-saml.authorities.attribute.names=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/tokenGroups
+saml.authorities.attribute.names=groups
saml.user.attributes=Email=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress,Name=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name
# Create a user if it is not present in the database. Available strategies: AUTO, EXPLICIT, EXPLICIT_GROUP
saml.user.auto.create=EXPLICIT
saml.authn.max.authentication.age=93600
#applicaion configuration
-working.directory=
+working.directory=${CP_API_WORKDIR}
#run.pipeline.init.task.name=InitializeEnvironment
#commit run scripts
@@ -97,8 +97,8 @@ cluster.cadvisor.timeout=10
api.host=
launch.script.url=
-jwt.key.public=
-jwt.key.private=
+jwt.key.public=${CP_API_JWT_KEY_PUBLIC}
+jwt.key.private=${CP_API_JWT_KEY_PRIVATE}
kube.edge.label=EDGE
kube.edge.ip.label=
kube.edge.port.label=
@@ -126,3 +126,6 @@ logging.level.org.springframework.web.filter.CommonsRequestLoggingFilter=DEBUG
#Firecloud
firecloud.auth.client.id=
firecloud.auth.client.secret=
+
+cluster.disable.task.monitoring=${CP_API_DISABLE_POD_MONITOR:false}
+cluster.disable.autoscaling=${CP_API_DISABLE_AUTOSCALER:false}
\ No newline at end of file
