google-nomulus/java/google/registry
guyben cdcd5c2a0e Remove the "create" funtion from the Resource JS class
The original thought was that the actions you can do on a resource is:
- create it
- read it
- update it

(I guess you should have "delete" as well, but that isn't currently there)

Although we use "read" and "update", we never use "create". So having it goes against the YAGNI principle :)

Also, it had a bug: when sending a "create", the opt_newId in send_() would
permanentily change the uri of the request, causing any subsequent request to
go to the wrong endpoint.

By removing the "create" we can simplify the rest of the code (the send_() function).

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=213029499
2018-09-14 21:29:57 -04:00
..
backup Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
batch Delete mapreduce entity cleanup util 2018-09-14 11:55:12 -04:00
beam Add Spec11 registrar emailing mechanism 2018-09-08 00:06:53 -04:00
bigquery Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
builddefs Remove the deprecated, now no-op, "data" transition 2018-08-10 13:44:25 -04:00
config Use new default credentials in a few more modules 2018-09-14 11:53:42 -04:00
cron Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
dns Use new default credentials in a few more modules 2018-09-14 11:53:42 -04:00
env Remove deprecated DNS subsystem 2018-09-14 12:01:08 -04:00
export Use new default credentials in a few more modules 2018-09-14 11:53:42 -04:00
flows Remove the deprecated MISTAKEN_PREMIUM reservation type 2018-09-14 21:28:23 -04:00
gcs Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
groups Refactor DelegatedCredential provisioning for GSuite domains 2018-09-11 14:18:41 -04:00
idn Update IDN tables to comply with https://www.iana.org/help/idn-repository-procedure 2018-02-01 21:59:14 -05:00
keyring Introduce simplified Default credential provision 2018-09-08 00:16:09 -04:00
loadtest Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
mapreduce Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
model Remove the deprecated MISTAKEN_PREMIUM reservation type 2018-09-14 21:28:23 -04:00
module Delete mapreduce entity cleanup util 2018-09-14 11:55:12 -04:00
monitoring/whitebox Switch to new Json credential provisioning 2018-09-08 00:21:22 -04:00
pricing Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
proxy Change how access tokens are refreshed 2018-09-14 11:59:39 -04:00
rdap RDAP: Add registrar entities to nameserver query results 2018-09-08 00:08:29 -04:00
rde Move the RDE TAR file encoding to a dedicated file 2018-08-10 13:46:48 -04:00
reporting Use new default credentials in a few more modules 2018-09-14 11:53:42 -04:00
request Refactor DelegatedCredential provisioning for GSuite domains 2018-09-11 14:18:41 -04:00
security Improve internal build system speed 2018-06-27 15:28:52 -04:00
storage/drive Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
tldconfig/idn Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
tmch Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
tools Add metrics for the command used in the registry CLI tool 2018-09-14 11:58:11 -04:00
ui Remove the "create" funtion from the Resource JS class 2018-09-14 21:29:57 -04:00
util Add newline after closing boundary in multipart upload of LORDN 2018-09-14 11:49:12 -04:00
whois Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
xjc Run bazel installer as a argument to bash 2018-08-10 13:44:25 -04:00
xml Pretty-print actual XML in tests 2018-07-14 01:37:03 -04:00
BUILD Remove deprecated DNS subsystem 2018-09-14 12:01:08 -04:00
repositories.bzl Remove references to stale domain-registry GCS repo 2018-08-10 16:01:51 -04:00