mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Remove LoggedInFlow
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=137444791
This commit is contained in:
parent
8b068250d6
commit
b84d7f1fb5
50 changed files with 763 additions and 429 deletions
|
@ -21,7 +21,6 @@ import com.google.common.base.Optional;
|
|||
import com.google.common.base.Strings;
|
||||
import dagger.Module;
|
||||
import dagger.Provides;
|
||||
import google.registry.flows.exceptions.OnlyToolCanPassMetadataException;
|
||||
import google.registry.flows.picker.FlowPicker;
|
||||
import google.registry.model.domain.launch.ApplicationIdTargetExtension;
|
||||
import google.registry.model.domain.metadata.MetadataExtension;
|
||||
|
@ -230,7 +229,6 @@ public class FlowModule {
|
|||
@InputXml byte[] inputXmlBytes,
|
||||
@Superuser boolean isSuperuser,
|
||||
@ClientId String clientId,
|
||||
EppRequestSource eppRequestSource,
|
||||
EppInput eppInput) {
|
||||
HistoryEntry.Builder historyBuilder = new HistoryEntry.Builder()
|
||||
.setTrid(trid)
|
||||
|
@ -239,9 +237,6 @@ public class FlowModule {
|
|||
.setClientId(clientId);
|
||||
MetadataExtension metadataExtension = eppInput.getSingleExtension(MetadataExtension.class);
|
||||
if (metadataExtension != null) {
|
||||
if (!eppRequestSource.equals(EppRequestSource.TOOL)) {
|
||||
throw new EppExceptionInProviderException(new OnlyToolCanPassMetadataException());
|
||||
}
|
||||
historyBuilder
|
||||
.setReason(metadataExtension.getReason())
|
||||
.setRequestedByRegistrar(metadataExtension.getRequestedByRegistrar());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue