Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DIR-1444] [DIR-724] [DIR-1506] migrate to new instances api #1497

Merged

Commits on Apr 25, 2024

  1. rename to instance API folder to _obsolete

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    8e25c47 View commit details
    Browse the repository at this point in the history
  2. rename tree to tree_obsolete

    import { z } from "zod";
    
    export const WorkflowStartedSchema = z.object({
      namespace: z.string(),
      instance: z.string(),
    });
    
    export const fileNameSchema = z
      .string()
      .regex(/^(([a-z][a-z0-9_\-.]*[a-z0-9])|([a-z]))$/, {
        message:
          "Please use a name that only contains lowercase letters, use - or _ instead of whitespaces.",
      });
    
    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    f6463ba View commit details
    Browse the repository at this point in the history
  3. delete unused schema

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    7b5ae69 View commit details
    Browse the repository at this point in the history
  4. delete unused schema

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    8e2ba96 View commit details
    Browse the repository at this point in the history
  5. move and rename FileNameSchema

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    e8a0bbf View commit details
    Browse the repository at this point in the history
  6. add new createInstance api hook

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    ae174b1 View commit details
    Browse the repository at this point in the history
  7. use new create instance hook

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    aee5f4a View commit details
    Browse the repository at this point in the history
  8. update e2e test

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    c6b96a0 View commit details
    Browse the repository at this point in the history
  9. remove old run workflow api

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    e35490d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2563913 View commit details
    Browse the repository at this point in the history
  11. fix typo

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    2adf8ab View commit details
    Browse the repository at this point in the history
  12. accidentally messed up name validation during refactoring

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    cf7e4bc View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. add new cancel instance

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    2114466 View commit details
    Browse the repository at this point in the history
  2. delete old cancel instance endpoint

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    dc581dd View commit details
    Browse the repository at this point in the history
  3. rename old cache keys

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    81f62f5 View commit details
    Browse the repository at this point in the history
  4. add minimal instance list call

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    28084cd View commit details
    Browse the repository at this point in the history
  5. skip the data attribute

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    d7fd36f View commit details
    Browse the repository at this point in the history
  6. update instance schema

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    3e7f27d View commit details
    Browse the repository at this point in the history
  7. update buildSearchParamsString

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    563e164 View commit details
    Browse the repository at this point in the history
  8. add limit and offset

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    705d766 View commit details
    Browse the repository at this point in the history
  9. use new useInstanceList

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    1220205 View commit details
    Browse the repository at this point in the history
  10. change updatedAt to finishedAt

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    c3c40b7 View commit details
    Browse the repository at this point in the history
  11. update schema

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    35a039b View commit details
    Browse the repository at this point in the history
  12. update row

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    2537004 View commit details
    Browse the repository at this point in the history
  13. add MinimalPagination

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    c6c1d2a View commit details
    Browse the repository at this point in the history
  14. use MinimalPagination

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    df8b90e View commit details
    Browse the repository at this point in the history
  15. add refetch instances button

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    a003e4d View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. typo

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    407c870 View commit details
    Browse the repository at this point in the history
  2. add instancesDetails to keys

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    8443495 View commit details
    Browse the repository at this point in the history
  3. add blank InstancesDetailSchema

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    d293d8f View commit details
    Browse the repository at this point in the history
  4. add new useInstanceDetails

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    b31fd31 View commit details
    Browse the repository at this point in the history
  5. skip data field

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    cc827ba View commit details
    Browse the repository at this point in the history
  6. update schema

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    c60675e View commit details
    Browse the repository at this point in the history
  7. add todo comment

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    7f117e5 View commit details
    Browse the repository at this point in the history
  8. update header to work with new API

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    e41d143 View commit details
    Browse the repository at this point in the history
  9. change updatedAt to finished at

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    24a0093 View commit details
    Browse the repository at this point in the history
  10. update schema import

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    482e58c View commit details
    Browse the repository at this point in the history
  11. update diagram to use v2 API

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    e2b39cb View commit details
    Browse the repository at this point in the history
  12. use v2 api to get isntance status

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    1f62146 View commit details
    Browse the repository at this point in the history
  13. add useInstanceInput

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    855b6b8 View commit details
    Browse the repository at this point in the history
  14. make new input endpoint work

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    b76354e View commit details
    Browse the repository at this point in the history
  15. make output work with v2 api

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    7df3b7b View commit details
    Browse the repository at this point in the history
  16. update e2e test to use new instance API

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    c27ccca View commit details
    Browse the repository at this point in the history
  17. Merge branch 'main' into stefankracht/dir-1444-migrate-to-new-instanc…

    …es-api
    
    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    
    # Conflicts:
    #	ui/e2e/explorer/consumer/index.spec.ts
    #	ui/e2e/instances/details/index.spec.ts
    #	ui/e2e/instances/list/index.spec.ts
    stefan-kracht committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    8a0f795 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    c64f453 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. update schema names

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    18c68aa View commit details
    Browse the repository at this point in the history
  2. make streaming work

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    c6ddcc0 View commit details
    Browse the repository at this point in the history
  3. move streaming into separate folder

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    7c187a8 View commit details
    Browse the repository at this point in the history
  4. add filter

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    b58779b View commit details
    Browse the repository at this point in the history
  5. add filters back to query

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    a748303 View commit details
    Browse the repository at this point in the history
  6. link filter status and trigger to schema

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    409e2bf View commit details
    Browse the repository at this point in the history
  7. use filters in list

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    9e9e420 View commit details
    Browse the repository at this point in the history
  8. update some imports

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    a9e3e75 View commit details
    Browse the repository at this point in the history
  9. handle questionmark

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    c3def54 View commit details
    Browse the repository at this point in the history
  10. update monitoring and workflow overview components

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    23483d7 View commit details
    Browse the repository at this point in the history
  11. use template literal type to support instance:INSTANCE_ID for filter.…

    …val [fixes DIR-724]
    
    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    8967318 View commit details
    Browse the repository at this point in the history
  12. updatzze E2E test to use finished at instead of last updarted

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    13a6dd2 View commit details
    Browse the repository at this point in the history
  13. delete old API hooks

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    f38bf8b View commit details
    Browse the repository at this point in the history
  14. make linter happy

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    6cdcb9c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e12f439 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Configuration menu
    Copy the full SHA
    be3bc19 View commit details
    Browse the repository at this point in the history
  2. update schema

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    efb6677 View commit details
    Browse the repository at this point in the history
  3. use namesapce attribute from the response

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    587db4a View commit details
    Browse the repository at this point in the history
  4. update schema

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    27dca17 View commit details
    Browse the repository at this point in the history
  5. remove select

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    53db954 View commit details
    Browse the repository at this point in the history
  6. update instance lists

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    3073c5e View commit details
    Browse the repository at this point in the history
  7. update props

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    2638b13 View commit details
    Browse the repository at this point in the history
  8. delete minimal pagination

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    55976bc View commit details
    Browse the repository at this point in the history
  9. back to normal pagination

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    63ede9b View commit details
    Browse the repository at this point in the history
  10. type the payload

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    0b29247 View commit details
    Browse the repository at this point in the history
  11. update api link

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    d44d715 View commit details
    Browse the repository at this point in the history
  12. update endpoints in api commands component

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    c70584c View commit details
    Browse the repository at this point in the history
  13. explicitly set the method

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    f52c436 View commit details
    Browse the repository at this point in the history
  14. update file update example

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    acf335a View commit details
    Browse the repository at this point in the history
  15. encode data

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    70b0008 View commit details
    Browse the repository at this point in the history
  16. stop streaming

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    507cdcc View commit details
    Browse the repository at this point in the history
  17. change order

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    571f514 View commit details
    Browse the repository at this point in the history
  18. rename cancelInstance to updateInstance

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    dfc22a6 View commit details
    Browse the repository at this point in the history
  19. rename variable

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    d98ee6c View commit details
    Browse the repository at this point in the history
  20. add back asChild

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    009915e View commit details
    Browse the repository at this point in the history
  21. remove unnecessary optional chaining

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    3ac6a9c View commit details
    Browse the repository at this point in the history
  22. change order

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    230e0e9 View commit details
    Browse the repository at this point in the history
  23. clean up monitoring instance

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 2, 2024
    Configuration menu
    Copy the full SHA
    17543d8 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. fix typo in sucessful

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 6, 2024
    Configuration menu
    Copy the full SHA
    3f17935 View commit details
    Browse the repository at this point in the history
  2. fix endetAt typo

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 6, 2024
    Configuration menu
    Copy the full SHA
    eb58962 View commit details
    Browse the repository at this point in the history
  3. rename cache key

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 6, 2024
    Configuration menu
    Copy the full SHA
    96b7608 View commit details
    Browse the repository at this point in the history
  4. update variable details cache key

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 6, 2024
    Configuration menu
    Copy the full SHA
    8e93688 View commit details
    Browse the repository at this point in the history
  5. Fix spelling (successful)

    Signed-off-by: Sebastian Armbrust <sebastian.armbrust@direktiv.io>
    sebxian committed May 6, 2024
    Configuration menu
    Copy the full SHA
    3d63171 View commit details
    Browse the repository at this point in the history
  6. rename getInstanceList

    Signed-off-by: Stefan Kracht <stefan.kracht@direktiv.io>
    stefan-kracht committed May 6, 2024
    Configuration menu
    Copy the full SHA
    0b392a3 View commit details
    Browse the repository at this point in the history
  7. Fix spelling (plurals)

    Signed-off-by: Sebastian Armbrust <sebastian.armbrust@direktiv.io>
    sebxian committed May 6, 2024
    Configuration menu
    Copy the full SHA
    9afd767 View commit details
    Browse the repository at this point in the history
  8. Fix camelCase

    Signed-off-by: Sebastian Armbrust <sebastian.armbrust@direktiv.io>
    sebxian committed May 6, 2024
    Configuration menu
    Copy the full SHA
    9a905be View commit details
    Browse the repository at this point in the history