Changes for go-apps/meep-iot-pltf/meep-acme-in-cse/Dockerfile: 2 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -24,6 +24,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update \
WORKDIR /usr/src/app
RUN git clone https://github.com/ankraft/ACME-oneM2M-CSE.git ACME-oneM2M-CSE
# Patch ACME CSE validation bug where rqi is incorrectly rejected
RUN sed-i's/raise BAD_REQUEST(f.validation for attribute {attribute} not defined for resource type: {rtype.name}.)/if attribute == "rqi": return self._validateType(BasicType.string, value, True)\n\t\traise BAD_REQUEST(f"validation for attribute {attribute} not defined for resource type: {rtype.name}")/' ACME-oneM2M-CSE/acmecse/services/Validator.py
Changes for go-apps/meep-iot-pltf/meep-acme-mn-cse/Dockerfile: 3 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -24,6 +24,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update \
WORKDIR /usr/src/app
RUN git clone https://github.com/ankraft/ACME-oneM2M-CSE.git ACME-oneM2M-CSE
# Patch ACME CSE validation bug where rqi is incorrectly rejected
RUN sed-i's/raise BAD_REQUEST(f.validation for attribute {attribute} not defined for resource type: {rtype.name}.)/if attribute == "rqi": return self._validateType(BasicType.string, value, True)\n\t\traise BAD_REQUEST(f"validation for attribute {attribute} not defined for resource type: {rtype.name}")/' ACME-oneM2M-CSE/acmecse/services/Validator.py