summaryrefslogtreecommitdiffstats
path: root/client/client-monitoring
AgeCommit message (Expand)AuthorFilesLines
2018-10-24Fix refering to snapshot in policy/apex-pdp2.0.1ramverma1-1/+1
2018-10-01Refactor monitoring REST tests to remove PowerMockliamfallon3-42/+180
2018-09-30Unit test for client monitoringliamfallon8-3/+753
2018-09-22Fix sonar problems in Apexliamfallon2-20/+19
2018-09-16Fix Sonar issues in apexliamfallon3-7/+7
2018-09-14Fix exception not logged or rethrownliamfallon2-29/+34
2018-09-13Address sonar/Checkstyle Issuesliamfallon5-65/+89
2018-09-13Sonar/Checkstyle in service/pluginsliamfallon1-3/+0
2018-09-06Fix package of apex examples and documentsliamfallon2-1/+45
2018-09-04Fix checkstyle issues in apex model basicliamfallon2-9/+9
2018-08-22Add docs for client packageDinh Danh Le4-0/+144
2018-08-14Fix checkstyle warnings in the client moduleDinh Danh Le7-28/+30
2018-08-03Use common components in apexliamfallon1-1/+0
2018-07-19Fix security vulnerability, upgrad jquery versionliamfallon1-1/+1
2018-07-18Refactoring Metrics testwaqas.ikram1-2/+1
2018-07-14Adding client full module to apex-pdpramverma1-1/+0
2018-07-12Adding client deployment module to apex-pdpramverma16-18734/+1540
2018-07-09Adding client monitoring module to apex-pdpramverma32-0/+41862
an> # # 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. # # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END========================================================= #------------------------------------------------------------------------------- FROM busybox AS tarball RUN mkdir /packages /extracted COPY /maven/apex-pdp-package-full.tar.gz /packages/ RUN tar xvzf /packages/apex-pdp-package-full.tar.gz --directory /extracted/ FROM onap/policy-jdk-alpine:3.1.1 LABEL maintainer="Policy Team" LABEL org.opencontainers.image.title="Policy APEX PDP" LABEL org.opencontainers.image.description="Policy APEX PDP image based on Alpine" LABEL org.opencontainers.image.url="https://github.com/onap/policy-apex-pdp" LABEL org.opencontainers.image.vendor="ONAP Policy Team" LABEL org.opencontainers.image.licenses="Apache-2.0" LABEL org.opencontainers.image.created="${git.build.time}" LABEL org.opencontainers.image.version="${git.build.version}" LABEL org.opencontainers.image.revision="${git.commit.id.abbrev}" ARG POLICY_LOGS=/var/log/onap/policy/apex-pdp ENV POLICY_HOME=/opt/app/policy/apex-pdp ENV POLICY_LOGS=$POLICY_LOGS ENV APEX_HOME=$POLICY_HOME ENV APEX_USER=policy USER root RUN mkdir -p $POLICY_HOME $POLICY_LOGS && \ chown -R policy:policy $POLICY_HOME $POLICY_LOGS COPY --chown=policy:policy --from=tarball /extracted $POLICY_HOME USER $APEX_USER ENV PATH $POLICY_HOME/bin:$PATH WORKDIR $APEX_HOME ENTRYPOINT [ "/bin/sh" ]