summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-backend/Dockerfile
blob: 9052e74b527f4129b140f45a1def4f230802460b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM openecomp/base_sdc-backend:1.0.0-SNAPSHOT-latest

COPY chef-solo /root/chef-solo/

COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/

#RUN python /root/chef-solo/cookbooks/sdc-normatives/files/default/get-pip.py

ADD onboarding-be-*.war        ${JETTY_BASE}/webapps/

ADD catalog-be-*.war           ${JETTY_BASE}/webapps/

ADD api-docs.war	       ${JETTY_BASE}/webapps/

RUN chown -R jetty:jetty       ${JETTY_BASE}/webapps

COPY startup.sh /root/

RUN chmod 770 /root/startup.sh

ENTRYPOINT [ "/root/startup.sh" ]
.il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
{
    "name":"SDCDistributionGroup",
    "restServerParameters":{
        "host":"",
        "port":-1,
        "userName":"",
        "password":""
    },
    "receptionHandlerParameters":{
        "DummyReceptionHandler":{
            "receptionHandlerType":"DummyReceptionHandler",
            "receptionHandlerClassName":"org.onap.policy.distribution.main.testclasses.DummyReceptionHandler",
            "pssdConfiguration":{
                "asdcAddress": "localhost",
                "messageBusAddress": [
                    "a.com",
                    "b.com",
                    "c.com"
                 ],
                "user": "tbdsdc-1480",
                "password": "tbdsdc-1480",
                "pollingInterval":20,
                "pollingTimeout":30,
                "consumerId": "policy-id",
                "artifactTypes": [
                    "TOSCA_CSAR",
                    "HEAT"
                ],
                "consumerGroup": "policy-group",
                "environmentName": "environmentName",
                "keystorePath": "null",
                "keystorePassword": "null",
                "activeserverTlsAuth": false,
                "isFilterinEmptyResources": true,
                "isUseHttpsWithDmaap": false
            },
            "pluginHandlerParameters":{
                "policyDecoders":{
                    "DummyDecoder":{
                        "decoderType":"DummyDecoder",
                        "decoderClassName":"org.onap.policy.distribution.main.testclasses.DummyDecoder"
                    }
                },
                "policyForwarders":{
                    "DummyForwarder":{
                        "forwarderType":"DummyForwarder",
                        "forwarderClassName":"org.onap.policy.distribution.main.testclasses.DummyPolicyForwarder"
                    }
                }
            }
        }
    }
}