Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Add equals and hashcode method #11

Merged
merged 3 commits into from
Jun 8, 2018
Merged

Conversation

AdamHawtin
Copy link
Contributor

@AdamHawtin AdamHawtin commented Jun 5, 2018

Adding config pom and xsd plugin to generate equals and hashcode method

Required for ONSdigital/rm-sample-service#44

Adding config pom and xsd plugin to generate equals and hashcode method
@AdamHawtin
Copy link
Contributor Author

@benjefferies benjefferies merged commit 4f9e655 into master Jun 8, 2018
@benjefferies benjefferies deleted the load-a-social-sample-file branch June 8, 2018 12:44
benjefferies pushed a commit to ONSdigital/rm-sample-service that referenced this pull request Jun 11, 2018
Social files currently have four required attribute fields and can contain an arbitrary number of non mandatory attributes. The attributes are described by a header row in the sample file.

Adds functionality to parse a social sample file, persist sample attributes and post attributes to collection exercise. When a file is uploaded it is parsed and validated. If valid, it will be saved to a sample attributes table in the sample database linked by the sample unit id (UUID). When a request is made for samples the sample unit and sample attributes and put on the sample delivery queue.

We have added integration tests to exercise the upload functionality and ensure they are published to the queue with the sample attributes. 

**How to test:**
Requires changes in these branches:
ONSdigital/rm-samplesvc-api#11
ONSdigital/rm-party-service-api#11

You'll have to build them locally then point the pom file to those snapshots, this will block Travis from building until those changes are on master.

Try loading a social sample through the endpoint using the loader script:
#45

You should also try the loader script with a full example sample file, there is one available as an attachment on the story card:
![](https://github.trello.services/images/mini-trello-icon.png) [Dev task 1: INT: load a social sample file (13)](https://trello.com/c/lTUmPnuf/97-dev-task-1-int-load-a-social-sample-file-13)

Also requires these changes before being merged:
ONSdigital/rm-samplesvc-api#9
#42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants