newspaper-fastcgi-ticket-checker

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed automated nexus

    • -0
    • +5
    /nexus/sbforge_central.json
mocksumma do not depend on the mockticketservicecontentresolver-ide/pom.xml, as it is removed

Removed unneeded properties file

    • -5
    • +0
    /mockticketservicecontentresolver/src/main/resources/mockticketservice-docker.properties
LicenseModule: Do not allow access to doms id's ending in 1

LicenseModule moved to port 8080

Doc and fixes to licensemodule mock

    • -46
    • +0
    /mockticketservicecontentresolver-ide/pom.xml
    • -5
    • +0
    /mockticketservicecontentresolver-ide/src/main/resources/mockticketservice-ide.properties
    • -2
    • +2
    /mockticketservicecontentresolver/Dockerfile
    • -0
    • +11
    /mockticketservicecontentresolver/README.md
Mock licensemodule works

    • -2
    • +3
    /mockticketservicecontentresolver-ide/src/main/resources/mockticketservice-ide.properties
    • -24
    • +4
    /mockticketservicecontentresolver/Dockerfile
    • -2
    • +0
    /mockticketservicecontentresolver/docker.properties
    • -62
    • +19
    /mockticketservicecontentresolver/pom.xml
Mock of license module, not ticket issuer

    • -0
    • +63
    /TicketDesignScratch.md
    • -1
    • +1
    /mockticketservicecontentresolver/docker.properties
    • -22
    • +0
    /mockticketservicecontentresolver/src/test/java/MockTicketContentGeneratorTest.java
    • -0
    • +18
    /ticketissuer/Dockerfile
    • -0
    • +15
    /ticketissuer/context-default.xml
bitrepository-work: Now pulls unconfigured reference from Nexus into a container.

    • -0
    • +24
    /bitrepository/Dockerfile
Explained nexus3 docker instance configuration in docker-settings.xml

Docker CE support. All major components now mocked as docker containers.

Work with Docker CE 17.09/docker-compose 1.16.1/Nexus mirror on 172.18.95.105.

Upgraded my PC to Ubuntu 17.10 and found that the new stuff I learned about

on DockerCon 2017 EU did not work with the docker I had, so everything had

to be upgraded to a newer version than the one coming with Ubuntu. As

maven in docker forgets everything I got a Nexus3 running locally and found how

to make the dockerized maven use it. Now the dockers can launch, and can see

each other but there is not yet any material the ticket checker can validate.

    • -0
    • +15
    /docker-settings.xml
    • -9
    • +27
    /mockticketservicecontentresolver/Dockerfile
    • -0
    • +2
    /mockticketservicecontentresolver/docker.properties
SNAPSHOT: Got mocksumma/Dockerfile to work. Maven proxy badly needed.

    • -1
    • +2
    /mockticketservicecontentresolver/Dockerfile
SNAPSHOT: Introducing Maven builds to Dockerfiles as seen on DockerConEU 2017

Unfortunately we use a parent pom which cannot be resolved when the Docker

daemon starts building. More research is needed. A pre-populated Maven

repository as these are completely empty?

    • -4
    • +15
    /mockticketservicecontentresolver/Dockerfile
SNAPSHOT: About to make 1.pl do all the necessary work to make valid and _checked_ links.

    • -0
    • +71
    /docker/cgi-bin/1.pl
"for.pl" will present a clicky-page for a domsID. Found ContentResolver needs mocking too. (Runs with openjdk-9 image)

    • -0
    • +57
    /docker/cgi-bin/for.pl
    • -0
    • +2
    /docker/webprotected/index.html
    • -0
    • +3
    /docker/webroot/index.html
    • -0
    • +1
    /mocksumma-ide/src/main/resources/0.request
    • -0
    • +1
    /mocksumma-ide/src/main/resources/0.response
  1. … 15 more files in changeset.
Created separate maven modules for IDE launchers.

    • -0
    • +62
    /mocksumma-ide/pom.xml
    • -1
    • +0
    /mocksumma/src/main/resources/0.request
    • -1
    • +0
    /mocksumma/src/main/resources/0.response
    • -0
    • +1
    /mocksumma/src/test/resources/0.request
    • -0
    • +1
    /mocksumma/src/test/resources/0.response
    • -0
    • +46
    /mockticketservice-ide/pom.xml
    • -0
    • +4
    /mockticketservice-ide/src/main/resources/mockticketservice-ide.properties
added easy-to-remember domsId: doms_aviser_page:uuid:11111111-1111-1111-1111-111111111111

module renamed to configuration-map. Improved error handling. Initial adding of web pages.

    • -0
    • +38
    /configuration-map/pom.xml
    • -0
    • +2
    /docker/protected/index.html
Reworked DPA ConfigurationMap to use Optional.

After showing the configuration+run harness in DPA (which was used as-was here) to ABR, we agreed

that it made sense to eventually use this approach in other projects, but TRA found it a bit

premature to do it now. After reading

https://dzone.com/articles/requirements-for-a-configuration-library TRA found that the

"Optional" approach could make things much cleaner and made a trimmed-down version

for this project.

    • -0
    • +32
    /configurationmap/pom.xml
ticketservice java 8, all others java 9. ticketservice now stores full ticket in memcached.

Added MockTicketContentGenerator to create the value to go in memcached.

    • -0
    • +22
    /mockticketservice/src/test/java/MockTicketContentGeneratorTest.java
Described functionality better. Marked old sections with FIXME.

mockticketservice now takes mockticketservice-docker.properties argument.

    • -0
    • +4
    /mockticketservice/src/main/resources/mockticketservice-docker.properties
Removed "ro" attribute from jar file volumes as they fail on MacOS 10.13.

Message was the rather cryptic

```

ERROR: for mockticketchecker Cannot start service mockticketchecker: oci runtime error: container_linux.go:265: starting container process caused "process_linux.go:368: container init caused \"rootfs_linux.go:57: mounting \\\"/Users/tra/git/newspaper-fastcgi-ticket-checker/mockticketservice/target/mockticketservice-1.0-SNAPSHOT-jar-with-dependencies.jar\\\" to rootfs \\\"/var/lib/docker/overlay2/57f8cdfc76dcc9350cc5f502c1988ec3f9409206fc618bdf3da32d2ba96a9fd7/merged\\\" at \\\"/var/lib/docker/overlay2/57f8cdfc76dcc9350cc5f502c1988ec3f9409206fc618bdf3da32d2ba96a9fd7/merged/mockticketservice.jar\\\" caused \\\"not a directory\\\"\""

: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

```

SNAPSHOT: mock ticket service now registers "BAD TICKET" under ticket key in memcached found using "memcached.location".

SNAPSHOT: For now use configuration mechanism from dpa-harness. Jersey HK2 Injection works.

    • -0
    • +4
    /mockticketservice/src/main/resources/mockticketservice-ide.properties
SNAPSHOT: Making MockTicketService store ticket in memcached (needs @Named String @Inject to work)

MockTicketService now in docker-compose.yml. Does not store ticket info in memcached instance yet.

Initial implementation of MockTicketService using Jersey.

    • -0
    • +7
    /mockticketservice/Dockerfile
    • -0
    • +64
    /mockticketservice/pom.xml