Closed certrik closed 5 years ago
all different now ...
If an automatic abuse-c is deactivated by defining at least one manual abuse-c than the automatic abuse-c should be greyed out and the comment field should state "DEACTIVATED manually"
Cannot test beacuse adding ripe handle throws 502 error.
this happens when the handle is already used, proper error handling has to be implemented
please test with a different handle
get list via database:
select ripe_org_hdl from fody.organisation_automatic;
ORG-AGNS1-RIPE ORG-AA1-RIPE ORG-AWK1-RIPE ORG-AAPA1-RIPE ORG-BISG1-RIPE ORG-BD1-RIPE ORG-CAGF1-RIPE ORG-CIP1-RIPE ORG-CA1-RIPE ORG-CA2-RIPE ORG-DO1-RIPE ORG-DA2-RIPE ORG-TAG1-RIPE ORG-ETSG1-RIPE ORG-CFCG1-RIPE ORG-FA1-RIPE ORG-GSA1-RIPE ORG-IMH1-RIPE ORG-IKA1-RIPE ORG-IEG1-RIPE ORG-II1-RIPE ORG-IISW1-RIPE ORG-IEWA1-RIPE ORG-IA1-RIPE ORG-JDIJ1-RIPE ORG-KA1-RIPE ORG-WKVK1-RIPE ORG-KE1-RIPE ORG-SK1-RIPE ORG-IKTC1-RIPE ORG-LSG1-RIPE ORG-LID1-RIPE ORG-LKEU1-RIPE ORG-MDSW1-RIPE ORG-MII1-RIPE ORG-FRJ1-RIPE ORG-MTSG1-RIPE ORG-MMC1-RIPE ORG-MAA1-RIPE
Nope. Doesnt work.
please some details which handle does not work on which organisation etc
just checked it locally (can't connect to webserver via vpn) and everything works as expected
The list above doesnt work and also others that are not on that list for example ORG-BTG4-RIPE . I am testing with Organization Full Name 20 . Multiple Austrian ASNs .
Tried to reuse an already existing ripe handle and the correct error "This RIPE handle already exists. " is thrown. So it seems like a different problem.
I am able to reproduce the error now, have to check/fix on stage beacuse cannot reproduce on my devel machine
works now, a db migration was missing
Trying with ORG-CNH1-RIPE but no abuse-c is shown.
please try again, detached session problems (hopefuly) resolved
Abuse-C is not shown. ORG-ESTG1-RIPE
i just added ORG-ESTG1-RIPE to Parent Organization: Organization Abbreviation 4 Name: Organization Full Name 20 Abbreviation: Organization Abbreviation 20
and it worked w/o problems
Well adding the ripe-handle works. That is true but I don't see the abuse-c contact.
abusec is returned but not displayed
{"abusec": ["f"], "asns": [{"asn": "21039", "notification_setting": {}}], "cidrs": [{"cidr": "2a0a:1e00::/29", "notification_setting": {}}, {"cidr": "193.186.224.0/20", "notification_setting": {}}, {"cidr": "193.186.240.0/21", "notification_setting": {}}, {"cidr": "193.186.216.0/21", "notification_setting": {}}], "name": ""}
ripe abusecs used to be delivered as
{"abusecs": ...}
now they come as
{"abusec": ...}
since the value of abusec[s] is an array, the old form (abusecs) makes more sense to me.
it's abusec (again)
works on stg again now.
Can confirm that abuse-c is shown again. Thanks. But still there is no indication that it is not used anymore if a manual abuse-c is provided.
If an automatic abuse-c is deactivated by defining at least one manual abuse-c than the automatic abuse-c should be greyed out and the comment field should state "DEACTIVATED manually"
what do you mean by
But still there is no indication that it is not used anymore if a manual abuse-c is provided.
the web does not use it anyway, and the API call either gets the ripe abusec OR the manual abusec if present
It may be useful to have some clear documentation that for OUR automatic services the manual abusec has precedence
It should be clearly visible by the user of the frontend that the manual abuse-c is prefered. Just usability improvement.
Is it sufficient if "Abuse-C Automatic" email addresses are greyed out? (see stageing env for an example)
Well it would be better if it is also stated in the comment. Is it somehow possible to implement that or would it break a lot. I am just looking for a good way that the user who possibly doesnt know anything sees at first sight what is going on.
what change to the current state would you like to see in the comment?
If possible change the comment to "DEACTIVATED manually" .
fixed: https://github.com/certat/customer-portal/commit/807f382321f9b96a5bfd220bef0ec6e0d919b96e
cant properly test until i can add RIPE contacts
It seems not to work. Just tested on staging. Organization 20. Abuse-C automatic email address is shown grey. It stays grey even if manual abuse-c is delted. Comment section of abuse-c automatic is not altered in any way.
it doesn now after git pull
Thanks
If the Abuse-C contact is set manually it has priority over the Abuse-C automatic from RipeDB. This should also be indicated in the frontend somehow.