Class Spec11Pipeline

  • All Implemented Interfaces:
    java.io.Serializable

    public class Spec11Pipeline
    extends java.lang.Object
    implements java.io.Serializable
    Definition of a Dataflow Flex template, which generates a given month's spec11 report.

    To stage this template locally, run the stage_beam_pipeline.sh shell script.

    Then, you can run the staged template via the API client library, gCloud or a raw REST call.

    See Also:
    Using Flex Templates, Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String REGISTRAR_CLIENT_ID_FIELD
      The JSON object field into which we put the registrar's name for Spec11 reports.
      static java.lang.String REGISTRAR_EMAIL_FIELD
      The JSON object field into which we put the registrar's e-mail address for Spec11 reports.
      static java.lang.String THREAT_MATCHES_FIELD
      The JSON object field into which we put the threat match array for Spec11 reports.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getSpec11ReportFilePath​(org.joda.time.LocalDate localDate)
      Returns the subdirectory spec11 reports reside in for a given local date in yyyy-MM-dd format.
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • REGISTRAR_EMAIL_FIELD

        public static final java.lang.String REGISTRAR_EMAIL_FIELD
        The JSON object field into which we put the registrar's e-mail address for Spec11 reports.
        See Also:
        Constant Field Values
      • REGISTRAR_CLIENT_ID_FIELD

        public static final java.lang.String REGISTRAR_CLIENT_ID_FIELD
        The JSON object field into which we put the registrar's name for Spec11 reports.
        See Also:
        Constant Field Values
      • THREAT_MATCHES_FIELD

        public static final java.lang.String THREAT_MATCHES_FIELD
        The JSON object field into which we put the threat match array for Spec11 reports.
        See Also:
        Constant Field Values
    • Method Detail

      • getSpec11ReportFilePath

        public static java.lang.String getSpec11ReportFilePath​(org.joda.time.LocalDate localDate)
        Returns the subdirectory spec11 reports reside in for a given local date in yyyy-MM-dd format.
        See Also:
        Spec11EmailUtils
      • main

        public static void main​(java.lang.String[] args)