-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from thebiggive/CLA-19-polling-etc
CLA-19 – improve polling support + other tweaks
- Loading branch information
Showing
5 changed files
with
51 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
version: 2.1 | ||
|
||
jobs: | ||
test: # Also lints first | ||
docker: | ||
- image: circleci/php:8.0 | ||
auth: | ||
username: $DOCKER_HUB_USERNAME | ||
password: $DOCKER_HUB_ACCESS_TOKEN | ||
|
||
steps: | ||
- checkout | ||
|
||
- restore_cache: | ||
keys: | ||
- composer-v1-{{ checksum "composer.lock" }} | ||
|
||
- run: composer install --no-interaction | ||
|
||
- save_cache: | ||
paths: | ||
- vendor | ||
key: composer-v1-{{ checksum "composer.lock" }} | ||
|
||
- run: composer run lint:check | ||
- run: composer run test | ||
|
||
workflows: | ||
build: | ||
jobs: | ||
- test: | ||
context: | ||
- docker-hub-creds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/GovTalk/GiftAid/Mock/SubmitMultiMultipleErrorsResponse.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> <GovTalkMessage xmlns="http://www.govtalk.gov.uk/CM/envelope"> <EnvelopeVersion>2.0</EnvelopeVersion> <Header> <MessageDetails> <Class>HMRC-CHAR-CLM-MULTI</Class> <Qualifier>error</Qualifier> <Function>submit</Function> <CorrelationID>6359058085579170979</CorrelationID> <ResponseEndPoint>http://localhost:5665/LTS/LTSServlet</ResponseEndPoint> <Transformation>XML</Transformation> <GatewayTimestamp>2021-10-12T18:09:03.009</GatewayTimestamp> </MessageDetails> <SenderDetails /> </Header> <GovTalkDetails> <Keys /> <GovTalkErrors> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>3001</Number> <Type>business</Type> <Text>Your submission failed due to business validation errors. Please see below for details.</Text> </Error> </GovTalkErrors> </GovTalkDetails> <Body> <ErrorResponse xmlns="http://www.govtalk.gov.uk/CM/errorresponse" SchemaVersion="2.0"> <Application> <MessageCount>8</MessageCount> </Application> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4065</Number> <Type>schema</Type> <Text>Invalid content found at element 'Sur'</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[2]/r68:Repayment[1]/r68:GAD[1]/r68:Donor[1]/r68:Sur[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-type.3.1.3: The value '' of element 'Sur' is not valid.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4082</Number> <Type>schema</Type> <Text>Value '' has an incorrect length</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[2]/r68:Repayment[1]/r68:GAD[1]/r68:Donor[1]/r68:Sur[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type '#AnonType_SurDonorGADRepaymentClaimR68'.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4065</Number> <Type>schema</Type> <Text>Invalid content found at element 'Fore'</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[2]/r68:Repayment[1]/r68:GAD[1]/r68:Donor[1]/r68:Fore[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-type.3.1.3: The value '' of element 'Fore' is not valid.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4082</Number> <Type>schema</Type> <Text>Value '' has an incorrect length</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[2]/r68:Repayment[1]/r68:GAD[1]/r68:Donor[1]/r68:Fore[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type '#AnonType_ForeDonorGADRepaymentClaimR68'.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4065</Number> <Type>schema</Type> <Text>Invalid content found at element 'Sur'</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[1]/r68:Repayment[1]/r68:GAD[1]/r68:Donor[1]/r68:Sur[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-type.3.1.3: The value '' of element 'Sur' is not valid.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4082</Number> <Type>schema</Type> <Text>Value '' has an incorrect length</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[1]/r68:Repayment[1]/r68:GAD[1]/r68:Donor[1]/r68:Sur[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type '#AnonType_SurDonorGADRepaymentClaimR68'.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4065</Number> <Type>schema</Type> <Text>Invalid content found at element 'Fore'</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[1]/r68:Repayment[1]/r68:GAD[1]/r68:Donor[1]/r68:Fore[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-type.3.1.3: The value '' of element 'Fore' is not valid.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4082</Number> <Type>schema</Type> <Text>Value '' has an incorrect length</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[1]/r68:Repayment[1]/r68:GAD[1]/r68:Donor[1]/r68:Fore[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type '#AnonType_ForeDonorGADRepaymentClaimR68'.</DeveloperMessage> </Messages> </Application> </Error> </ErrorResponse> </Body> </GovTalkMessage> | ||
<?xml version="1.0" encoding="UTF-8"?> <GovTalkMessage xmlns="http://www.govtalk.gov.uk/CM/envelope"> <EnvelopeVersion>2.0</EnvelopeVersion> <Header> <MessageDetails> <Class>HMRC-CHAR-CLM-MULTI</Class> <Qualifier>error</Qualifier> <Function>submit</Function> <CorrelationID>6359058085579170979</CorrelationID> <ResponseEndPoint>http://localhost:5665/LTS/LTSServlet</ResponseEndPoint> <Transformation>XML</Transformation> <GatewayTimestamp>2021-10-12T18:09:03.009</GatewayTimestamp> </MessageDetails> <SenderDetails /> </Header> <GovTalkDetails> <Keys /> <GovTalkErrors> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>3001</Number> <Type>business</Type> <Text>Your submission failed due to business validation errors. Please see below for details.</Text> </Error> </GovTalkErrors> </GovTalkDetails> <Body> <ErrorResponse xmlns="http://www.govtalk.gov.uk/CM/errorresponse" SchemaVersion="2.0"> <Application> <MessageCount>8</MessageCount> </Application> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4065</Number> <Type>schema</Type> <Text>Invalid content found at element 'Sur'</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[1]/r68:Repayment[1]/r68:GAD[2]/r68:Donor[1]/r68:Sur[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-type.3.1.3: The value '' of element 'Sur' is not valid.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4082</Number> <Type>schema</Type> <Text>Value '' has an incorrect length</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[1]/r68:Repayment[1]/r68:GAD[2]/r68:Donor[1]/r68:Sur[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type '#AnonType_SurDonorGADRepaymentClaimR68'.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4065</Number> <Type>schema</Type> <Text>Invalid content found at element 'Fore'</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[1]/r68:Repayment[1]/r68:GAD[2]/r68:Donor[1]/r68:Fore[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-type.3.1.3: The value '' of element 'Fore' is not valid.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4082</Number> <Type>schema</Type> <Text>Value '' has an incorrect length</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[1]/r68:Repayment[1]/r68:GAD[2]/r68:Donor[1]/r68:Fore[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type '#AnonType_ForeDonorGADRepaymentClaimR68'.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4065</Number> <Type>schema</Type> <Text>Invalid content found at element 'Sur'</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[1]/r68:Repayment[1]/r68:GAD[1]/r68:Donor[1]/r68:Sur[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-type.3.1.3: The value '' of element 'Sur' is not valid.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4082</Number> <Type>schema</Type> <Text>Value '' has an incorrect length</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[1]/r68:Repayment[1]/r68:GAD[1]/r68:Donor[1]/r68:Sur[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type '#AnonType_SurDonorGADRepaymentClaimR68'.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4065</Number> <Type>schema</Type> <Text>Invalid content found at element 'Fore'</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[1]/r68:Repayment[1]/r68:GAD[1]/r68:Donor[1]/r68:Fore[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-type.3.1.3: The value '' of element 'Fore' is not valid.</DeveloperMessage> </Messages> </Application> </Error> <Error> <RaisedBy>ChRIS</RaisedBy> <Number>4082</Number> <Type>schema</Type> <Text>Value '' has an incorrect length</Text> <Location>/hd:GovTalkMessage[1]/hd:Body[1]/r68:IRenvelope[1]/r68:R68[1]/r68:Claim[1]/r68:Repayment[1]/r68:GAD[1]/r68:Donor[1]/r68:Fore[1]</Location> <Application> <Messages> <DeveloperMessage>cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type '#AnonType_ForeDonorGADRepaymentClaimR68'.</DeveloperMessage> </Messages> </Application> </Error> </ErrorResponse> </Body> </GovTalkMessage> |