2021-07-16

#oodrive

JJD local pour Arrimage à la production

ZUORA           | Plateform
-------------------------------------------------------
//Hermes LTD    | new 
//BA00165416    | c63e8e1c-8ccf-43dd-8bdf-a167993cad64
Hermes LTD      | a.joye.ext
BA00165416      | 9fbb63e8-47f0-4b08-86fc-fc10dba14fad

Subscription

ZUORA           | plateform 
-------------------------------------------------------
S00082287       | 556544e0-463b-4215-b447-5f6b2bbb5f24           

ChargeNumber

ZUORA           | Plateform
-------------------------------------------------------
C00441025       |

Provisionning

CLIENTISCREATED

{
    "typeEvent": "CLIENTISCREATED",
    "emitter": "ZUORA",
    "timestamp": "2020-11-20T10:52:23.131Z",
    "payload": [
        {
            "zReference": "id1",
            "zaccount": "BA00165416",
            "client": {
                "firstName": "Arnaud",
                "lastName": "JOYE",
                "email": "testJuillet1@gmaill.com",
                "phone": "0102030405",
                "company": "SOAT",
                "department": "Paris",
                "adresse1": "35 rue des Orlipheans",
                "adresse2": "2ème étage",
                "city": "Paris",
                "zipCode": "75001",
                "country": "FRANCE"
            }
        }
    ]
}

WORKSPACEISADDEDTOPCLIENT

{
    "typeEvent": "WORKSPACEISADDEDTOPCLIENT",
    "emitter": "ZUORA",
    "timestamp": "2020-11-20T10:52:23.131Z",
    "payload": [
        {
            "zReference": "id1",
            "zaccount": "BA00165416",
            "zworkspace": "toto1"
        }
    ]
}

SUBSCRIPTIONISCREATED

{
    "typeEvent": "SUBSCRIPTIONISCREATED",
    "emitter": "ZUORA",
    "timestamp": "2020-11-20T10:52:23.131Z",
    "payload": [
        {
            "zReference": "id1",
            "zaccount": "BA00165416",
            "zworkspace": "toto1",
            "zsubscription": "S00082287",
            "products": [{
                "zproduct": "C00441025",
                "productFamily": "Adbackup",
                "threshold": {
                    "newCapacity": 5,
                    "unit": "Giga"
                }
            }]
        }
    ]
}

Warning day

12:06:59.835  INFO 14704 --- [nio-8280-exec-2] c.o.a.admin.hyrule.rules.RuleService     : -- Day of month rule group
2021-07-16 12:06:59.835  INFO 14704 --- [nio-8280-exec-2] c.o.a.admin.hyrule.rules.RuleService     : -- Overstorage rule
2021-07-16 12:06:59.835  INFO 14704 --- [nio-8280-exec-2] c.o.a.admin.hyrule.rules.RuleService     : -- Upgrade rule
2021-07-16 12:06:59.836  INFO 14704 --- [nio-8280-exec-2] c.o.a.admin.hyrule.rules.RuleService     : -- Mail rule group
2021-07-16 12:06:59.840  INFO 14704 --- [nio-8280-exec-2] a.h.r.d.OverstorageWarningDayOfMonthRule : ===> 556544e0-463b-4215-b447-5f6b2bbb5f24 fired warning days rule
2021-07-16 12:06:59.842  INFO 14704 --- [nio-8280-exec-2] c.o.a.a.h.r.d.OverstorageLimiteRule      : ===> 556544e0-463b-4215-b447-5f6b2bbb5f24 is over max capacity storage 
2021-07-16 12:06:59.848  INFO 14704 --- [nio-8280-exec-2] c.o.a.a.h.r.d.OverstorageLimiteMailRule  : ===> 556544e0-463b-4215-b447-5f6b2bbb5f24 is acknowledged by mail for subscription's overstoraging
2021-07-16 12:06:59.853  INFO 14704 --- [nio-8280-exec-2] c.o.a.a.h.zuora.ZuoraUpgradeService      : no upgrade to call for
2021-07-16 12:07:00.914  INFO 14704 --- [nio-8280-exec-2] c.o.a.a.hyrule.zuora.ZuoraMailService    : mail call success for 556544e0-463b-4215-b447-5f6b2bbb5f24
2021-07-16 12:07:00.916  INFO 14704 --- [nio-8280-exec-2] c.o.h.c.c.p.HandlebarMailProducer        : Send mail : [HandlebarMessage [recipients=[Recipient [uuid=9fbb63e8-47f0-4b08-86fc-fc10dba14fad]], sender=Sender [uuid=9fbb63e8-47f0-4b08-86fc-fc10dba14fad], locale=null, workspace=1, i18nPath=asgard-admin/, templateContext=null, mailMode=null, mailParams=MailParameters [templatePath=account/hyrule/hyrule_reporting, typeCode=HYRULE], replaces=Replaces [displayNames={}]]]

==> côté plateforme tout est ok ==> côté Zuora le email n'est pas envoyé (contact de Carine / François pour le point)

Upgrade day

ORDER response: CFA58077ADC00BF8 Reason{code=58560020, message=Invalid field: quantity for charge model FlatFee charge type Recurring}

==> le moteur de règle dectete bien les dépassement ==> l'appel QUERY est OK ==> process stoppé du côté plateforme lors de l'appel ORDER