text:
[✨] complex form should not flatten errors

Is your feature request related to a problem?
We have a complex Zod Type for cart.
If an error occurs in one of the fields at the lowest level like:
cart.invoiceAddress.firstName

The errors are flatten within cart:
invoiceAddress: string[]

Example multiple fields:
{
  "invoiceAddress": [
    "String must contain at least 2 character(s)",
    "String must contain at least 2 character(s)",
    "String must contain at least 2 character(s)",
    "String must contain at least 1 character(s)",
    "String must contain at least 2 character(s)",
    "String must contain at least 2 character(s)",
  ]
}[]

 {
    code: 'too_small',
    minimum: 2,
    type: 'string',
    inclusive: true,
    exact: false,
    message: 'String must contain at least 2 character(s)',
    path: [ 'invoiceAddress', 'street' ]
  },
  {
    code: 'too_small',
    minimum: 1,
    type: 'string',
    inclusive: true,
    exact: false,
    message: 'String must contain at least 1 character(s)',
    path: [ 'invoiceAddress', 'streetNumber' ]
  },
  {
    code: 'too_small',
    minimum: 2,
    type: 'string',
    inclusive: true,
    exact: false,
    message: 'String must contain at least 2 character(s)',
    path: [ 'invoiceAddress', 'zip' ]
  },

SEE: #4634
Describe the solution you'd like
We need to access the specific fields with the path.
action.fieldErrors.cart.invoiceAddress.firstName
// or
action.fieldErrors.get('cart.invoiceAddress.firstName)

Describe alternatives you've considered
We either have to overwrite the types so that the errors are not flattened for complex forms or we send the errors unflattened in a second field.
Additional context
No response

@ulic75 I created an issue so maybe someone can check this out.

@wmertens do you have an opinion on this?

@mhevery @wmertens
What we are doing is skipping zod and doing this:
export const useMyCoolAction = routeAction$(async (rawData, event) => {
  try {
    const data = someSchema.parse(rawData);
  } catch (error) {
    if (error instanceof z.ZodError) {
      event.fail(400, flattenZodIssues(error.issues));
    }
  }
});

The flattenZodIssue:
export default function flattenZodIssues(issues: z.ZodIssue | z.ZodIssue[]) {
  issues = Array.isArray(issues) ? issues : [issues];

  return issues.reduce((acc, issue) => {
    acc[issue.path.join('.')] = issue.message;
    return acc;
  }, {} as Record<string, string>);
}

export type FlattenZodIssues = ReturnType<typeof flattenZodIssues>;

authors: mhevery tzdesign

repo: BuilderIO/qwik


text:
docs: update deprecated property

docs(packages/docs/src/routes/tutorial/store/recursive/index.mdx): update deprecated property
This commit addresses the following deprecation notice caused by following the tutorial:
(property) UseStoreOptions.recursive?: boolean is @deprecated -- use deep instead
What is it?

[ ] Feature / enhancement
[ ] Bug
[x] Docs / tests

Description
This is a minor update to the Qwik tutorial replacing a deprecated options object property with its documented replacement property.
Use cases and why
Tutorial documentation should whenever possible reflect the latest state of the framework, and shouldn't contain the use of deprecated symbols or features.
Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[N/A] Added new tests to cover the fix / functionality

thanks @corscheid !

thanks @corscheid !

No problem, @shairez! Thanks for being awesome and merging in my first ever (albeit absolutely micro) contribution to an open source project! 🎉🚀

sure thing @corscheid ! good job on taking this step 💪
a pleasure to be your first merger! (you never forget your first... PR... 😉)
Yeah I think it's good, though I say we need to setup some redirection logic from the old route (in case it's linked somewhere else)

source: gharchive/pull-request

authors: corscheid shairez

license: MIT

license_type: permissive

license_source: github-api


text:
docs: added package manager tabs

Overview
#5174

What is it?

[x] Feature / enhancement
[ ] Bug
[x] Docs / tests / types / typos

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Use cases and why

One use case

Another use case

Checklist:

[ ] My code follows the developer guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

should i add @qwik-ui/headless to vite optimization dependencies. @gioboa

No, the latest @qwik-ui/headless solves the big bundle size issue.

some CI tests failed how can i make it right?

I pushed a small change. Thanks for your commitment @the-r3aper7

I pushed a small change. Thanks for your commitment @the-r3aper7

thanks i like that icon change.

@gioboa i have make changes regarding to get the cookie but i am able to think of getting setCookie correct as we need to pass Cookie object to setCookie and  should i the setCookie function in shop/utils WDYT?

@gioboa i have tried basic document.cookie in setCookie it does not work with the shop as it is not able to set cartId in cookies.

@the-r3aper7 So you're having trouble with the setCookie function? Can you explain more, and rebase?

I'm confused about your setCookie function that takes 3 arguments, the third called options, but you're passing a string

i am directly adding cookie to the browser. am i misinterpreting something?

Closed by #6636 6636

authors: gioboa the-r3aper7 wmertens


text:
Add: In world storage of missiles

Simple ways to store missiles in piles, racks, etc. Morton has already made a few models for the RPG micro rockets.

This is a great idea,
do you think the larger inter-continental ballistic missiles will be stored on racks?
Or have to be kept within silos, due to their supposed massive size?

Silos, but you could in theory store the parts. That being said I have been asked to make NASA style missile movers.

source: gharchive/issue

repo: BuiltBrokenModding/ICBM


text:
Google integration

Hi,
the new Google integration is working only for countries using english language.
To forge google search queries, you forge then using statics english part of sentences (ex: "in the last week") but google search use translation in local language.
ex:
In spain en las ultimas semanas
In french la dernière semaine
Could create parameters to override statics values like "jobs, since yesterday, ....)?
Many thanks for your work.

ok thanks for the feedback. ill fix

maybe you pass a language param? like language=spanish?

okay i just added a generic and it'll override the other params. so just put everything in here
google_search_term="Trabajos de ingeniero de software Barcelona, España",

Just to add to this, results being displayed is not tied to the IP address.
However only jobs from specific countries are being displayed now.
For example results from the Nordics are no longer supported.
So far it seems only those countries are supported:
dz, ao, ag, ar, at, bs, bh, bd, bz, bj, bo, bw, br, bf, bi, cm, ca, cv, ky, cf, cl, co, cg, cd, cr, dk, dj, dm, do, ec, eg, sv, et, fk, fr, ga, gm, de, gh, gr, gp, gt, gy, hn, hk, in, id, iq, it, jm, jp, jo, ke, kw, lb, ls, ly, mw, my, mu, mx, ms, ma, mz, na, nl, ni, ng, om, pk, ps, pa, py, pe, ph, pt, pr, qa, re, ru, rw, sh, vc, st, sa, sn, sc, sl, sg, so, za, es, lk, sr, ch, tw, tz, th, tg, tt, tn, ug, ae, uk, gb, us, uy, ve, vn, vg, vi, zm, zw

authors: ThomasAlbrt cullenwatson malys

repo: Bunsly/JobSpy


text:
Feature/add swagger to api

Added swagger endpoint for documentation of the api at /api-docs
Documented aggregated and reports API.
Added new API to get aggregated report for a postal code.
Possible improvement is to use swagger-jsdoc to allow documentation in the API source.

Knall! Legger du til en URL i menyen også? «API» for eksempel

Kan fikse menypunkt jeg 👍

authors: fossecode janmande michaelmcmillan


text:
Add custom xaml namespace

Quite similar to the one I opened on MaterialDesignInXamlToolkit. The custom namespace is : http://dragablz.net/winfx/xaml/dragablz

thankyou

@ButchersBoy thanks too

authors: ButchersBoy SuicSoft

repo: ButchersBoy/Dragablz


text:
which minecraft versions?

For which minecraft versions does it work? Or is it mostly version independent because the packets don't get decoded?

Right now it hardcodes a specific protocol version. This version is listed in the PROTOCL_VERSION const in lib.rs.
Protocol versions can be mapped to game versions using this table https://wiki.vg/Protocol_version_numbers
Currently it's protocol 578 which corresponds to 1.15.2.
Version independent support would be really cool though.

auto/multi version support when?

authors: C4K3 Cabbasca MrGeorgen

license_source: bigquery


text:
🛑 RadCord Bot is down

In 5efc7c1, RadCord Bot (https://radcord.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RadCord Bot is back up in 6137a73 after 1 hour, 5 minutes.


text:
Inconsistently defined types and acceptable listings for constrained value fields

Hi, fields like tumor_grade have no Type specified but define an Enum property with a list of acceptable values, while other fields like tumor_classification and gender have Type set to 'string' (specified as '- string' on a new line with an extraneous line containing '-', in most/all cases) followed by a list of allowed values within the Type property. This is also different from how properties like race are handled, where Type is set to 'array' with a separate property, Items, containing a list of the allowed values.

Sean explained in slack. Type property isn't required for enum properties as enum values are strings in MDF schema. Constrained fields like tumor_classification and gender has their Type properties set the way they are to indicate that they can accept a value in the enumerated value list or any string, where a value that isn't contained in the list should cause validation processes to throw warnings. Closing


text:
Added power_cycle_nodes script

Simple script that takes a project name and calls the CLI command to power cycle all of its nodes.
This PR was inteded to address the Trello backlog task trivial head node script to talk to HaaS API, power cycle machines..., although now that I read it again I'm not sure that I actually addressed it.  Were we looking for something to actually run on the headnode?
I had to do some funky stuff to use the CLI module to do this.  Although, I don't know if there is a better option.

Thanks for your work on this, @ryabouza!
We are working on a python client library as part of the work by @SahilTikale  in #498 and should transition to using that. Closing this out.

authors: henn ryabouza

repo: CCI-MOC/haas


text:
Test fail on log warnings

This is  build on top of #665, because:

It probably would have caused more merge conflicts otherwise, and I didn't want to deal with that.
There's no urgency to getting this in, so we should merge #665 and then I'll rebase.

The actually content of this pr is just one commit, so if you want to get a sense before #665 is merged, you can just look at the last commit.

Since this does touch tests/deployment/ (although not in a terribly meaningful way), someone should probably run those.

Just rebased now that #665 is merged. Waiting on travis, but stuff passed locally (including the pep8 check).
//cc @gsilvis, @henn, @shwsun

repo: CCI-MOC/hil


text:
Additional HL7 Changes

Based on feedback from multiple states, the following changes requested:
Feedback from Vermont
Segment:                            PID|1|

Field/Component:            PID-3.4.2(PID/PatientIdentifierList/AssigningAuthority/UniversalID)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Must be an OID

Segment:                            ORC|1|

Field/Component:            ORC-2.3(ORC/PlacerOrderNumber/UniversalID)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Must be an OID

Segment:                            ORC|1|

Field/Component:            ORC-3.3(ORC/FillerOrderNumber/UniversalID)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Must be an OID

Segment:                            OBR|1|

Field/Component:            OBR-2.3(OBR/PlacerOrderNumber/UniversalID)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Must be an OID

Segment:                            OBR|1|

Field/Component:            OBR-3.3(OBR/FillerOrderNumber/UniversalID)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Must be an OID

Segment:                            SPM|1|

Field/Component:            SPM-2.1.3(SPM/PlacerOrderNumber/UniversalID)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Must be an OID

Segment:                            SPM|1|

Field/Component:            SPM-2.2.3(SPM/FillerOrderNumber/UniversalID)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Must be an OID

Segment:                            OBX|2|

Field/Component:            OBX2-23.6.1 (OBX/Performing Organization Name/Assigning Authority/NamespaceID)

Validation Error:                Length of the filed is exceeding the max. 20 character limit

Current Value(s):              CLIA\S\2.16.840.1.113883.19.4.6\S\ISO

Expected Value(s):           This value should not exceed 20 length.

                                           Note:    If you look at OBX|1|-23.6.1, this value is indicated as “CLIA”.  The same value is expected for OBX|2|-23.6.1.  The value that’s indicated for this field should be break out into as follows:

                                                          OBX2-23.6.1 = CLIA

                                                          OBX2-23.6.2 = 2.16.840.1.113883.19.4.6

                                                          OBX2-23.6.3 = ISO

Segment:                            OBX|2|

Field/Component:            OBX2-23.6.2 (OBX/Performing Organization Name/Assigning Authority/Universal ID)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Value is required.

                                           Note:    If you look at OBX|1|-23.6.2, this value is indicated as “2.16.840.1.113883.19.4.6”.  The same value is expected for OBX|2|-23.6.2

Segment:                            OBX|2|

Field/Component:            OBX2-23.6.3 (OBX/Performing Organization Name/Assigning Authority/Universal ID Type)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Value is required.

                                           Note:    If you look at OBX|1|-23.6.3, this value is indicated as “ISO”.  The same value is expected for OBX|2|-23.6.3

Segment:                            OBX|3|

Field/Component:            OBX3-23.6.1 (OBX/Performing Organization Name/Assigning Authority/NamespaceID)

Validation Error:                Length of the filed is exceeding the max. 20 character limit

Current Value(s):              CLIA\S\2.16.840.1.113883.19.4.6\S\ISO

Expected Value(s):           This value should not exceed 20 length.

                                           Note:    If you look at OBX|1|-23.6.1, this value is indicated as “CLIA”.  The same value is expected for OBX|3|-23.6.1.  The value that’s indicated for this field should be break out into as follows:

                                                          OBX3-23.6.1 = CLIA

                                                          OBX3-23.6.2 = 2.16.840.1.113883.19.4.6

                                                          OBX3-23.6.3 = ISO

Segment:                            OBX|3|

Field/Component:            OBX3-23.6.2 (OBX/Performing Organization Name/Assigning Authority/Universal ID)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Value is required.

                                           Note:    If you look at OBX|1|-23.6.2, this value is indicated as “2.16.840.1.113883.19.4.6”.  The same value is expected for OBX|3|-23.6.2

Segment:                            OBX|3|

Field/Component:            OBX3-23.6.3 (OBX/Performing Organization Name/Assigning Authority/Universal ID Type)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Value is required.

                                           Note:    If you look at OBX|1|-23.6.3, this value is indicated as “ISO”.  The same value is expected for OBX|3|-23.6.3

Segment:                            OBX|4|

Field/Component:            OBX4-23.6.1 (OBX/Performing Organization Name/Assigning Authority/NamespaceID)

Validation Error:                Length of the filed is exceeding the max. 20 character limit

Current Value(s):              CLIA\S\2.16.840.1.113883.19.4.6\S\ISO

Expected Value(s):           This value should not exceed 20 length.

                                           Note:    If you look at OBX|1|-23.6.1, this value is indicated as “CLIA”.  The same value is expected for OBX|4|-23.6.1.  The value that’s indicated for this field should be break out into as follows:

                                                          OBX4-23.6.1 = CLIA

                                                          OBX4-23.6.2 = 2.16.840.1.113883.19.4.6

                                                          OBX4-23.6.3 = ISO

Segment:                            OBX|4|

Field/Component:            OBX4-23.6.2 (OBX/Performing Organization Name/Assigning Authority/Universal ID)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Value is required.

                                           Note:    If you look at OBX|1|-23.6.2, this value is indicated as “2.16.840.1.113883.19.4.6”.  The same value is expected for OBX|4|-23.6.2

Segment:                            OBX|4|

Field/Component:            OBX4-23.6.3 (OBX/Performing Organization Name/Assigning Authority/Universal ID Type)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Value is required.

                                           Note:    If you look at OBX|1|-23.6.3, this value is indicated as “ISO”.  The same value is expected for OBX|4|-23.6.3

Segment:                            OBX|5|

Field/Component:            OBX4-23.6.1 (OBX/Performing Organization Name/Assigning Authority/NamespaceID)

Validation Error:                Length of the filed is exceeding the max. 20 character limit

Current Value(s):              CLIA\S\2.16.840.1.113883.19.4.6\S\ISO

Expected Value(s):           This value should not exceed 20 length.

                                           Note:    If you look at OBX|1|-23.6.1, this value is indicated as “CLIA”.  The same value is expected for OBX|5|-23.6.1.  The value that’s indicated for this field should be break out into as follows:

                                                          OBX5-23.6.1 = CLIA

                                                          OBX5-23.6.2 = 2.16.840.1.113883.19.4.6

                                                          OBX5-23.6.3 = ISO

Segment:                            OBX|5|

Field/Component:            OBX5-23.6.2 (OBX/Performing Organization Name/Assigning Authority/Universal ID)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Value is required.

                                           Note:    If you look at OBX|1|-23.6.2, this value is indicated as “2.16.840.1.113883.19.4.6”.  The same value is expected for OBX|5|-23.6.2

Segment:                            OBX|5|

Field/Component:            OBX5-23.6.3 (OBX/Performing Organization Name/Assigning Authority/Universal ID Type)

Validation Error:                Required field is missing

Current Value(s):              No value is indicated

Expected Value(s):           Value is required.

                                           Note:    If you look at OBX|1|-23.6.3, this value is indicated as “ISO”.  The same value is expected for OBX|5|-23.6.3

Feedback from Texas:

PID 3.4.2 and 3.4.3 are empty
Issues with PID 3.6.1, 3.6.2, 3.6.3
Truncation character seen in name "Fletcher Health & Rehab"
ORC 21.1 and 21.6
State and county zips for synthesized data don't match receiving state
PID XTN has email address and should not
SPM 17.1 and 18.1 cannot be same time. 18.1 should be offset

Here are additional comments from New Mexico:
(rep #1) PID.3.1 is longer than 15 characters for all message.

                (rep #1) PID.3.4.1 is longer than 20 characters. The subField contains for 105 messages. Example ControlIDs: 885087, 159064

                (rep #1) PID.3.4.1 is type HD and is missing required subsubfields for all messages. Example ControlIDs: 885087, 936511

                PID.10.1 should come from table Race.  The field content is UNK for 60 messages. Please leave blank for "Unknown". Example ControlIDs: 826783, 290940

                ORC.3.3 is empty but required for all messages.

                ORC.3.4 is empty but required for all messages.

                ORC.12 is empty but required for 20 messages. Example ControlIDs: 923149, 434739

                OBR.16 is empty but required for 20 segments. Example ControlIDs: 923149, 434739

                OBR.3.3 is empty but required for 215 segments. Example ControlIDs: 885087, 936511

                OBR.3.4 is empty but required for 215 segments. Example ControlIDs: 885087, 936511

                OBR.4.3 is empty but required for 215 segments. Example ControlIDs: 885087, 936511

                OBR.22 is empty but required for 215 segments. Example ControlIDs: 885087, 936511

                OBX.17.1 is longer than 20 characters for 73 segments. Example ControlIDs: 923149, 271925

                OBX.17.7 must have version ID if subfield 3 is valued for CWE field for 215 segments. Example ControlIDs: 885087, 936511

                OBX.19 is empty but required for 860 segments. Example ControlIDs: 885087, 936511

                OBX.23 is empty but required for 860 segments. Example ControlIDs: 885087, 936511

                OBX.24 is empty but required for 860 segments. Example ControlIDs: 885087, 936511

                SPM.2.2 is empty but required for all messages.

Done with merging of the HL7 improvements into master.

repo: CDCgov/prime-data-hub


text:
Create demo environment - Terraform

As a ReportStream engineer I would like a demo environment that I deploy an arbitrary branch to for end user testing.

This environment does not need to connect to the CDC network
For now we can assume users will be authenticated via Okta
Should mimic the test environment as closely as possible (but with the string demo)
This ticket covers the Terraform changes

The Reportstream “demo environment pipeline” is nearly complete!
While I will be unavailable next week :vacation:, I am leaving 1 Azure demo environment running in resource group prime-data-hub-demo2 for those interested in taking a look and/or making recommendations.
We will still need to solve for creating certificates and Okta integration (https://pdhdemo2public.z13.web.core.windows.net/)
Overview of demo pipeline attached.
In short, run a pipeline (or command) to provision 1 of 3 demo environments, and run a pipeline (or command) to destroy it

.

Submitted email to update front door certs to include demo envs:

Open Ticket   Notification |
-- | --
Incident IM6108444 has been Opened. |
DETAILS |
Incident Number | IM6108444
Contact Name | Siegel, Josiah (CDC/DDPHSS/OD/HITSSU)
User ID | TEY1
Location | CENT Bldg 2500 Rm 5200/MS V25-5

authors: JosiahSiegel jeremy-page

repo: CDCgov/prime-devops


text:
Strategies for accepting CSV multiplex data in the UP

User Story
As a ReportStream teammate, I want to map out the internal ReportStream business logic and STLT business value for various strategies of accepting multiplex data from Senders, so that the engineering team can implement the chosen strategy when ready.
Background
Owing to the CSV Support in the UP MVP Product Brief, some 50% of current COVID pipeline Senders send messages in CSV format. As we transition these Senders to the UP, we are considering various strategies to both 'meet users where they are' while helping to support ReportStream values and key OKRs of allowing organizations to send multiple conditions to the UP.
Option 1: CSV multiplex data is sent to STLTs as individual messages

Each submitted multiplex result will be one row in the CSV file, and will be received by the STLT as separate HL7 messages or FHIR bundles
Pros: Much easier to do, basically the same logic as any other single analyte condition
Cons: We are not sure if STLTs will accept the data in this form as satisfactory

Option 2: Create a "unique identifier" data column in the CSV UP schema, and ask Senders to fill out this column upon submission for multiplex data

Pros: Would allow a ReportStream engineer to link multiplex data together so it can be sent in one package
Cons: We are not sure if Senders are capable of doing this option, and we will need to do research with Senders to understand their capabilities

Risks/Impacts/Considerations

We won't be sure if it would be unacceptable to any Receiver(s) in the future to receive multiplex results separately, and if not tackling this work right now is just postponing issues
Linking multiplex results is difficult and would require engineering capacity that we don't have right now

Open Questions

Are separate multiplex results OK for STLTs?

Links

CSV schema proposal in UP Product Brief
CSV File Formats
12613: Business case and logic flow for multiple options of sending CSV messages to the UP

Acceptance Criteria

[ ] Clear and conclusive strategy for accepting multiplex results that is good enough to be accepted by engineering team
[ ] Alternative strategies to pursue for sending multiplex data to STLTs

Out of Scope

Time and scoping estimate for implementation

Queried the prime-design channel and a NIH stakeholder that @arnejduranovic recommended. Waiting on feedback and hopefully will set up a few meetings to learn more.

We learned from NIH stakeholder that at least for respiratory OTC multiplex data, jurisdictions prefer to receive each test result as separate. So for this type of multiplex test, we can treat the test virtually the same as single analyte data. See 12/29 conversation for reference.
For all other mutiplex results, a customer support ticket has been generated on our behalf to be answered by the APHL team. This ticket has been significantly delayed. As such, any multiplex decisions have been delegated as "Unfinished Work" in the CSV schema product brief. I may be able to answer any other multiplex questions when this customer support ticket is returned, but I can make new ZenHub ticket(s) for that. As a result, @Andrey-Glazkv suggested closing this ticket out for now. CC @jillian-hammer

repo: CDCgov/prime-reportstream


text:
Data not flowing to NM?

I see two NM-DOH CSV reports that may not have gone to NM.  (I'm assuming we attempt to send csvs to NM)
I'm also seeing send_error actions related to NM.
81ff1dd1-29fd-470a-b66f-225bf0747e35
91 records
nm-doh.elr-csv
Thu, Jul 8, 2021, 13:15
CSV
76e1d315-4a45-4427-9a2b-fab365b67adb
109 records
nm-doh.elr-csv
Wed, Jul 7, 2021, 13:15
CSV
I haven't looked in detail.

This was set up so they could download CSV from the download site. They're not using it. We can turn it off.

ok, there were also send_errors to NM and to a bunch of other states (FL, ND, OH), over the last few days.  The other states seemed like the retry mechanism was solving things; NM was the only case where I saw files still in the "needs investigation" query.  But I only looked very quickly.

Was this resolved?

authors: MauriceReeves-usds jimduff-usds jlusds


text:
Add more search filters to test results page

Add more search filters on results page including:

Student ID
DOB
Fuzzy name search instead of exact only

Waiting to hear back from TX.

Never heard back from TX on this; closing.

authors: emmastephenson nickclyde

repo: CDCgov/prime-simplereport


text:
[Snyk] Security upgrade alpine from 3.20.2 to 3.20.3

Snyk has created this PR to fix 1 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

Dockerfile

We recommend upgrading to alpine:3.20.3, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

CVE-2024-6119 SNYK-ALPINE320-OPENSSL-7895537
  436

CVE-2024-6119 SNYK-ALPINE320-OPENSSL-7895537
  436

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

No longer needed.  The Renovate PR was merged.

repo: CDCgov/reportstream-sftp-ingestion


text:
🛑 Jupyter HUB is down

In a0a5570, Jupyter HUB (https://hub.cloud.e-infra.cz/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jupyter HUB is back up in f9b209d.

repo: CERIT-SC/uptime


text:
🛑 EOSC Survey Platform is down

In 61d626c, EOSC Survey Platform (https://survey.eosc.cz) was down:

HTTP code: 504
Response time: 16094 ms

Resolved: EOSC Survey Platform is back up in 784972f after 9 minutes.


text:
Possible to set TLS version used?

Hi,
We want to test our java client using TLS 1.3 and set Netopeer2 to only support TLS 1.2 and check
what happens. Is it possible to set a specific version of TLS in Netopeer2?
br,
//mikael

You can configure this leaf-list with only the versions you want to support. Use libyang tree schema format to see the parents of the node to be able to set it.

So you mean I can do an edit-config as long as the subtree contains the correct parents?
How can I query for the parents of the node? Run something on command line ?
I am not sure I understand.

Never mind, I may have only confused you. Yes, you can send an edit-config and change the configuration to adjust the supported TLS versions.

I checked the following:
For 4.1.2.1. The "tls-server-grouping" Grouping
From the comment I read:
The "hello-params" node, which must be enabled by a feature, configures parameters for the TLS sessions established by this configuration.
The feature to enable is "tls-server-hello-params-config"
I checked the hello message from the server:
 <hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><capabilities><capability>urn:ietf:params:netconf:base:1.0</capability><capability>urn:ietf:params:netconf:base:1.1</capability><capability>urn:ietf:params:netconf:capability:writable-running:1.0</capability><capability>urn:ietf:params:netconf:capability:candidate:1.0</capability><capability>urn:ietf:params:netconf:capability:rollback-on-error:1.0</capability><capability>urn:ietf:params:netconf:capability:validate:1.1</capability><capability>urn:ietf:params:netconf:capability:startup:1.0</capability><capability>urn:ietf:params:netconf:capability:xpath:1.0</capability><capability>urn:ietf:params:netconf:capability:with-defaults:1.0?basic-mode=explicit&also-supported=report-all,report-all-tagged,trim,explicit</capability><capability>urn:ietf:params:netconf:capability:notification:1.0</capability><capability>urn:ietf:params:netconf:capability:interleave:1.0</capability><capability>urn:ietf:params:xml:ns:yang:ietf-yang-metadata?module=ietf-yang-metadata&revision=2016-08-05</capability><capability>urn:ietf:params:xml:ns:yang:1?module=yang&revision=2017-02-20</capability><capability>urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2013-07-15</capability><capability>urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2013-07-15</capability><capability>urn:ietf:params:netconf:capability:yang-library:1.1?revision=2019-01-04&content-id=32</capability><capability>urn:sysrepo:plugind?module=sysrepo-plugind&revision=2020-12-10</capability><capability>urn:ietf:params:xml:ns:yang:ietf-netconf-acm?module=ietf-netconf-acm&revision=2018-02-14</capability><capability>urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf&revision=2013-09-29&features=writable-running,candidate,rollback-on-error,validate,startup,url,xpath</capability><capability>urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults?module=ietf-netconf-with-defaults&revision=2011-06-01</capability><capability>urn:ietf:params:xml:ns:yang:ietf-netconf-notifications?module=ietf-netconf-notifications&revision=2012-02-06</capability><capability>urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04</capability><capability>urn:ietf:params:xml:ns:netconf:notification:1.0?module=notifications&revision=2008-07-14</capability><capability>urn:ietf:params:xml:ns:netmod:notification?module=nc-notifications&revision=2008-07-14</capability><capability>urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name?module=ietf-x509-cert-to-name&revision=2014-12-10</capability><capability>urn:ietf:params:xml:ns:yang:iana-crypt-hash?module=iana-crypt-hash&revision=2014-08-06</capability></capabilities><session-id>2</session-id></hello>
I cannot see it in  the hello message. Is it not supported?
I have also tried the following edit-config
 <netconf-server xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-server" >                     <listen>                         <endpoint>                             <name>default-tls</name>                             <tls>                                 <tls-server-parameters>                                         <tls-versions xmlns="urn:ietf:params:xml:ns:yang:ietf-tls-common" xmlns:tlscmn="urn:ietf:params:xml:ns:yang:ietf-tls-common">                                             <tls-version>tlscmn:tls-1.2</tls-version>                                         </tls-versions>                                 </tls-server-parameters>                             </tls>                         </endpoint>                     </listen>                 </netconf-server>
But the only thing I get is an error code like:
 <rpc-reply message-id="5" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">    <rpc-error>      <error-type>application</error-type>      <error-tag>operation-failed</error-tag>      <error-severity>error</error-severity>      <error-path>/ietf-netconf-server:netconf-server/listen/endpoint[name='default-tls']/tls/tls-server-parameters</error-path>      <error-message xml:lang="en">Unknown element "tls-versions".</error-message>    </rpc-error>  </rpc-reply>
Any ideas what I am missing?
//mike

It seems you are not using the current libnetconf2 version and you have a bit older YANG modules with different node structure, which confuses me and I cannot really help. But TLS version configuration should be supported.

Hi
I am using the following when building in docker:
# libyang [61 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#61) [62 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#62)RUN \ [63 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#63)      cd [/opt/dev](https://jcat-opengrok.internal.ericsson.com/opengrok/s?path=/opt/dev&project=common-library) && \ [64 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#64)      git clone https://github.com/CESNET/libyang.git && cd libyang && git checkout libyang1 && \ [65 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#65)      mkdir build && cd build && \ [66 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#66)      cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE="Release" .. && \ [67 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#67)      make -j2 && \ [68 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#68)      make install [69 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#69) [70 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#70)# sysrepo [71 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#71)RUN \ [72 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#72)      cd [/opt/dev](https://jcat-opengrok.internal.ericsson.com/opengrok/s?path=/opt/dev&project=common-library) && \ [73 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#73)      git clone https://github.com/sysrepo/sysrepo.git && cd sysrepo && git checkout libyang1 && \ [74 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#74)      mkdir build && cd build && \ [75 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#75)      cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE="Release" .. && \ [76 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#76)      make -j2 && \ [77 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#77)      make install [78 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#78) [79 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#79)# libssh [80 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#80)RUN \ [81 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#81)      cd [/opt/dev](https://jcat-opengrok.internal.ericsson.com/opengrok/s?path=/opt/dev&project=common-library) && \ [82 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#82)      git clone https://git.libssh.org/projects/libssh.git && cd libssh && git checkout stable-0.9 && \ [83 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#83)      mkdir build && cd build && \ [84 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#84)      cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE="Release" -DWITH_ZLIB=ON -DWITH_NACL=OFF -DWITH_PCAP=OFF .. && \ [85 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#85)      make -j2 && \ [86 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#86)      make install [87 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#87) [88 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#88)# libnetconf2 (latest package is not available on Ubuntu 18.04, so we have to compile it from source) [89 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#89)RUN \ [90 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#90)      cd [/opt/dev](https://jcat-opengrok.internal.ericsson.com/opengrok/s?path=/opt/dev&project=common-library) && \ [91 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#91)      git clone https://github.com/CESNET/libnetconf2.git && cd libnetconf2 && \ [92 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#92)      git checkout libyang1 && \ [93 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#93)      mkdir build && cd build && \ [94 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#94)      cmake  -DCMAKE_BUILD_TYPE:String="Release" -DCMAKE_INSTALL_PREFIX:PATH=/usr -DENABLE_BUILD_TESTS=OFF .. && \ [95 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#95)      make -j2 && \ [96 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#96)      make install [97 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#97) [98 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#98)# netopeer 2 (latest package is not available on Ubuntu 18.04, so we have to compile it from source) [99 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#99)RUN \ [100 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#100)      cd [/opt/dev](https://jcat-opengrok.internal.ericsson.com/opengrok/s?path=/opt/dev&project=common-library) && \ [101 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#101)      git clone https://github.com/CESNET/Netopeer2.git && cd Netopeer2 && \ [102 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#102)      git checkout libyang1 && \ [103 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#103)      mkdir build && cd build && \ [104 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#104)      cmake -DNACM_RECOVERY_UID=102 -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE:String="Release" .. && \ [105 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#105)      make -j2 && \ [106 ](https://jcat-opengrok.internal.ericsson.com/opengrok/xref/common-library/managed-objects-bundle/netconf/jcat_commonlibrary_netconf/src/test/resources/com/ericsson/commonlibrary/netconf/callhome/docker/Dockerfile?r=9eef0acd#106)      make install

Okay, I cannot help you with libyang1 versions, that is not supported for a long time.

I guess my build was old. Is this the correct place to look for versions and libnames?
https://github.com/CESNET/netopeer2/blob/master/CMakeLists.txt

Hi
I tried devel for all except for
When making libyang on 'devel' I got:
2024-05-28 09:24:23,743 (Wire.java:92) DEBUG : http-outgoing-0 << "{"stream":"\u001b[91mCMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):\n  Could NOT find PCRE2 (missing: PCRE2_LIBRARY PCRE2_INCLUDE_DIR) (Required\n  is at least version "10.21")\nCall Stack (most recent call first):\n  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)\n  CMakeModules/FindPCRE2.cmake:63 (find_package_handle_standard_args)\n  CMakeLists.txt:409 (find_package)\n\n\u001b[0m"}[\r][\n]"
2024-05-28 09:24:23,743 (Wire.java:92) DEBUG : http-outgoing-0 << "[\r][\n]"
2024-05-28 09:24:23,743 (BuildImageResultCallback.java:34) DEBUG : BuildResponseItem()
2024-05-28 09:24:23,743 (ImageFromDockerfile.java:106) DEBUG : CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
What am I lacking?
Also I used  cd libssh && git checkout stable-0.9
is there a more recent version you use?
These questions are not really related to my original question. I can open a new question if you want.

What am I lacking?

Could NOT find PCRE2

The error is written right there, what are you asking me exactly?

Yes I guess it was a dumb question :-)
I was not aware of such a library but after some googling I found something called pcre2-dev so I assume it is the correct one.

Yes, that package should be the right one. Requirements of each library are also mentioned in their README.

@michalvasko you don't happen to have a code snippet on how to make openssl?

You mean how to compile it? It is using cmake, so just like any other cmake projects except you may need to provide some options. Those depend a lot on your exact environment and build system so I cannot help with that.

@michalvasko which options do you use and for which distro?

I cannot share those publicly and it is not for Linux anyway, so no distro.

I managed to build a new docker image for Netopeer2 but when I run it I get this error:
Caused by: com.github.dockerjava.api.exception.BadRequestException: Status 400: {"message":"failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/usr/bin/netopeer2-server": stat /usr/bin/netopeer2-server: no such file or directory: unknown"}
Previously I built it using:
RUN
cd /opt/dev &&
git clone https://github.com/CESNET/Netopeer2.git && cd Netopeer2 &&
git checkout libyang1 &&
mkdir build && cd build &&
cmake -DNACM_RECOVERY_UID=102 -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE:String="Release" .. &&
make -j2 &&
make install
Do I need to build it differently when using latest version on master?

You are using an obsolete version that we do not provide support for anymore. But the server was obviously installed in some other path, not sure why.

@michalvasko git checkout tags/v2.2.28 not valid?!

Oh, sorry, I went though it too quickly and misunderstood. Then the problem is likely due to the server being installed in /usr/sbin/netopeer2-server.

ok the sbin seems to work.
When I start the netopeer2 from container  with
CMD ["/usr/sbin/netopeer2-server", "-d", "-v2 3"]
I can see the following:
[INF]: SR: Datastore copied from  to .
[INF]: SR: Connection 1 created.
[INF]: SR: Session 1 (user "root", CID 1) created.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: LN: Listening on 0.0.0.0:830 for SSH connections.
[INF]: SR: Triggering "ietf-keystore" "done" event on enabled data.
[INF]: SR: Triggering "ietf-truststore" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
I compared this to my previous built netopeer2 running with the same command above.
[INF]: LY: Resolving "ietf-netconf-server" unresolved schema nodes and their constraints...
[INF]: LY: All "ietf-netconf-server" schema nodes and constraints resolved.
[INF]: LY: Module "ietf-netconf-server@2019-07-02" successfully parsed as implemented.
[INF]: SR: No scheduled changes.
[INF]: SR: Datastore copied from  to .
[INF]: SR: Connection 1 created.
[INF]: SR: Session 1 (user "root", CID 1) created.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: LN: Listening on 0.0.0.0:830 for SSH connections.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-keystore" "done" event on enabled data.
[INF]: SR: Triggering "ietf-truststore" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
Not sure what I am failing in my changed newly built I seem to lack output.
Do you know why I am missing messages ? Less logs in new or am I lacking something.

I am sorry, but please do not ask such generic and redundant questions. There were lots of changes compared to the previous version you were using, which includes different messages and changed configuration processing. Create an issue if you encounter an actual problem.

ok let me rephrase it:
In our Ubuntu based docker file we create the 'netconf' user with password 'netconf' it is not so secret  :)
Then we generate the keys i .ssh
`Adding netconf user
RUN adduser --system netconf
RUN mkdir -p /home/netconf/.ssh
RUN echo "netconf:netconf" | chpasswd && adduser netconf sudo
Clearing and setting authorized ssh keys
RUN
echo '' > /home/netconf/.ssh/authorized_keys &&
ssh-keygen -A &&
ssh-keygen -t rsa -b 4096 -P '' -f /home/netconf/.ssh/id_rsa &&
cat /home/netconf/.ssh/id_rsa.pub >> /home/netconf/.ssh/authorized_keys`
However when I run my netopeer2 now with our client I get this message when we try to connect.
"Caused by: com.company.exceptions.AuthenticationException: Authentication failure, Could be because no public key file was found, Server could use a different way to authenticate users available authentication methods is: publickey, Server version: SSH-2.0-libssh_0.11.0
Has the location of the key changed? Where is is located now?

To use these SSH keys, they need to be configured for both the server and the client. You likely know how to set it for client, that has not changed for a long time, but in the server you need to configure it based on example_configuration/ssh_listen.xml. That should also be the default after running make install for netopeer2, but only after the steps you posted (so you should have them before netopeer2 installation, not after).

ok so I need to modify the ssh-listen.xml and select one of the methods ( key/password/keyboard interactive) to authenticate.
Is it the sysrepocfg and an import I need to do? Which is the --module ?

The exact same listen configuration will get you the behavior you want. public-keys container enables the publickey SSH authentication method and use-system-keys will load them for every user from ~/.ssh/authorized_keys instead of having to manually import them into the configuration. You can import ssh_listen.ssh but you will want to change the user user to an actual user you want to authenticate as. Import using sysrepocfg -I <file> -m ietf-netconf-server or edit using a text editor sysrepocfg -E <text-editor (vim)> -m ietf-netconf-server.

We also tested 'keyboard-interactive' auth before and we could see that it was supported:
2024-08-23 10:55:52,192 (ImplSsh.java:386) DEBUG : Available authentication methods: [publickey, keyboard-interactive, password]
We could see that when public key failed it tried 'keyboard-interactive'
2024-08-23 10:55:53,073 (ImplSsh.java:398) DEBUG : Trying to authenticate with method: keyboard-interactive 2024-08-23 10:55:53,171 (Wire.java:92) DEBUG : http-outgoing-3 << "58[\r][\n]" 2024-08-23 10:55:53,171 (Wire.java:92) DEBUG : http-outgoing-3 << "[0x2][0x0][0x0][0x0][0x0][0x0][0x0]P[INF]: LN: Received an SSH message "request-service" of subtype "ssh-userauth".[\n]" 2024-08-23 10:55:53,171 (Wire.java:92) DEBUG : http-outgoing-3 << "[\r][\n]" 2024-08-23 10:55:53,171 (Slf4jLogConsumer.java:73)  INFO : STDERR: [INF]: LN: Received an SSH message "request-service" of subtype "ssh-userauth". 2024-08-23 10:55:53,171 (Wire.java:92) DEBUG : http-outgoing-3 << "4d[\r][\n]" 2024-08-23 10:55:53,171 (Wire.java:92) DEBUG : http-outgoing-3 << "[0x2][0x0][0x0][0x0][0x0][0x0][0x0]E[INF]: LN: Received an SSH message "request-auth" of subtype "none".[\n]" 2024-08-23 10:55:53,171 (Wire.java:92) DEBUG : http-outgoing-3 << "[\r][\n]" 2024-08-23 10:55:53,171 (Slf4jLogConsumer.java:73)  INFO : STDERR: [INF]: LN: Received an SSH message "request-auth" of subtype "none".
Now we only get the public-key support for auth. How to enable that option as a fallback?

The recent ietf-netconf-server YANG modules from the relevant RFC drafts do not specify any fallback options. You must explicitly specify the authorized users and then for each the exact authentication method to be authenticated. If you configure several, the user must successfully authenticate by all the methods to be considered fully authenticated.

hi
I upgraded Netopeer2 as suggested. Version is now: v2.2.31
I checked the query you suggested for chiper setting in https://github.com/CESNET/netopeer2/issues/1608
like this:
<netconf-server xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-server">
    <listen>
        <endpoints>
            <endpoint>
                <name>default-tls</name>
                <tls>
                    <tls-server-parameters>
                        <hello-params>
                            <cipher-suites xmlns:tlscsa="urn:ietf:params:xml:ns:yang:iana-tls-cipher-suite-algs">
                                <cipher-suite>tlscsa:tls-dhe-rsa-with-aes-128-gcm-sha256</cipher-suite>
                                <cipher-suite>tlscsa:tls-ecdhe-rsa-with-aes-128-gcm-sha256</cipher-suite>
                            </cipher-suites>
                        </hello-params>
                    </tls-server-parameters>
                </tls>
            </endpoint>
        </endpoints>
    </listen>
</netconf-server>

and modified it to use:
    <netconf-server xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-server">
    <listen>
        <endpoints>
            <endpoint>
                <name>default-tls</name>
                <tls>
                    <tls-server-parameters>
                       <hello-params xmlns="urn:ietf:params:xml:ns:yang:ietf-tls-common" xmlns:tlscmn="urn:ietf:params:xml:ns:yang:ietf-tls-common">
                        <tls-versions>
                           <tls-version>tlscmn:tls-1.2</tls-version>
                        </tls-versions>
                        </hello-params>
                    </tls-server-parameters>
                </tls>
            </endpoint>
        </endpoints>
    </listen>
</netconf-server>

but I get the following error message from netopeer2.
<rpc-reply message-id="5" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
   <rpc-error>
     <error-type>application</error-type>
     <error-tag>unknown-element</error-tag>
     <error-severity>error</error-severity>
     <error-message xml:lang="en">Node "hello-params" not found as a child of "tls-server-parameters" node. (path "/ietf-netconf-server:netconf-server/listen/endpoints/endpoint[name='default-tls']/tls/tls-server-parameters")</error-message>
     <error-info>
       <bad-element>hello-params</bad-element>
     </error-info>
   </rpc-error>
 </rpc-reply>

Where can I find the valid child for setting tls-version?
br,
//mike

You can use
yanglint -ii libnetconf2/modules/ietf-netconf-server@2023-12-28.yang -f tree

to print the tree format of the whole configuration model. Based on that you should know what data to create exactly. In your case it should be
<netconf-server xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-server">
    <listen>
        <endpoints>
            <endpoint>
                <name>default-tls</name>
                <tls>
                    <tls-server-parameters>
                       <hello-params>
                        <tls-versions>
                           <tls-version xmlns:tlscmn="urn:ietf:params:xml:ns:yang:ietf-tls-common">tlscmn:tls12</tls-version>
                        </tls-versions>
                        </hello-params>
                    </tls-server-parameters>
                </tls>
            </endpoint>
        </endpoints>
    </listen>
</netconf-server>

I ended up using:
   <netconf-server xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-server">
    <listen>
        <endpoints>
            <endpoint>
              <name>default-tls</name>
              <tls>
                <tls-server-parameters>
                <server-identity>netconf</server-identity>
                  <hello-params>
                    <tls-versions>
                      <tls-version xmlns:tlscmn="urn:ietf:params:xml:ns:yang:ietf-tls-common">tlscmn:tls12</tls-version>
                    </tls-versions>
                  </hello-params>
                </tls-server-parameters>
              </tls>
          </endpoint>
      </endpoints>
    </listen>
</netconf-server>

Now I get ok response:
" <rpc-reply message-id="5" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
   <ok/>
 </rpc-reply>"

Thanks for hint about yanglint. That is very useful.

authors: michalvasko mpet


text:
[BUG]偶尔会在游戏加载阶段出现错误导致游戏崩溃

https://gist.github.com/Eric-liucn/2595725f5b588bc40dc302814f6dcfb1

使用的是 1.16.5的最新的 2.0.3版本， Microsoft JDK 11

想办法处理中，主要这个 bug 是偶发性出现，难以定位原因

这个我也遇到过，需要降级到2.0.0才能解决问题

我也是遇到了一样的问题
crash-2022-04-01_14.46.00-fml.txt

同样的问题，发生于hotspot迁移至openj9后
https://gist.github.com/ShiroAsrm/7e5a9b6e2c103d8a1fb86fc4472a93d7

应该解决了


text:
.tethyscluster Directory Creation causes Error in Production

Description

Error at Runtime with Production Installation caused by inability to create .tethyscluster directory
This works in development mode, but causes permissions error in production installation:

.tethyscluster directory created in home directory of the current user (/var/www/tethys/.tethyscluster?)
In production user running Tethys is the Apache user
Home directory of Tethys user is the /var/www directory which is owned by the root user
Hence, Tethys doesn't have the ability to create it automatically

Suggestions

Option 1: Create a "tethys" user that owns all Tethys source and belongs to the Apache group during production installation to allow the appropriate permissions.
Option 2: Mitigate through docs by including instructions to manually create the .tethyscluster directory during production installation.
Option 3: Move .tethyscluster directory to the tethys src directory.
Others?

I need to look into what rights the Apache user has and see if it would be possible to run Apache as a different user.
Look at the way CKAN does it.

repo: CI-WATER/tethys


text:
Configuration.yaml addition needed?

I run HA on Docker on Synology. I manually added the custom component using the instructions but SunSpec can not be found in the Integrations after restart. I see that with other manually added custom components you need to add it to the configuration.yaml file.
Does this need to be done here too? If so how?

Answer is yes. I added sunspec: in the configuration.yaml and then it works.

Could you please elaborate? I added a line
sunspec:
in the configuration.yaml - but still nothing visible.

What I did is I copied all files in the custom components folder as is instructed in the ha-sunspec documentation. After the restart of HA though Sunspec didn't become available in the Integrations tab. For that I also needed to add the line sunspec: in the configuration.yaml file. Then it became available after restart of the HA server. Also make sure you refresh your browser.

Closing this as I don't think there is an issue with the integration. Installation using HACS is easier and will require no editing of yaml.

repo: CJNE/ha-sunspec


text:
华为荣耀6  安卓4.4版本的录制的视频有19M

华为荣耀6  安卓4.4版本的录制的10秒视频有19M   5.0以上的测试机10s录制都小于2M，这是为什么呢?

我就是用的cameraapplication编译出来的Demo

华为荣耀有点奇怪·····就华为荣耀这个系列会这样，其它都正常，现在暂时不知道怎么解决，不过试过把比特率设置低一点，视频大小还是能减小，现在的问题就是怎么判断该机是华为荣耀这个系列了···

目前想到的是用android.os.Build.DEVICE得到手机设备的型号
荣耀6 hwH60
荣耀6 plus hwPE
3c  hwH30
3c畅玩版 hwHol
3x hwG750
x1 hw7D 这些是android5.0以前的荣耀热卖机型  目前想到的只有这样判断了。。

能加一下QQ聊吗 445263848


text:
Add explicit enumerations

Refering to #114 and replacing #83
This allows to specify on the header the values available in the enumeration, without querying the sparql endpoint. Header should have the following format:
#+ enumerate:
#+   - var:
#+     - value1
#+     - value2
#+     - value3

Thanks for this @c-martinez , awesome!
I see you preserved the old enumeration behaviour under get_enumeration_sparql, which is very cool. Is there also compatibility with this in the metadata? So if you use the new format, the enums will be filled with the user-supplied options; if you don't, the old, slow endpoint querying will be used?

Yes, the idea is for it to be backwards compatible.
test_get_enumeration tests for the endpoint option, which doesn't break, so I am assuming it is still working fine.

Thanks a bunch! :)

Thank you for the merge!

authors: albertmeronyo c-martinez

repo: CLARIAH/grlc


text:
US 04.02.01

As a player, I do not want to log into my application using a username and password as my device can identify me.

Sign up page was completed with firebase checks, this is now done.

authors: KrishLal mansooranis


text:
Enhance reanalysis-forced notebook

Let's enhance the notebook reanalysis-forced at https://regional-mom6.readthedocs.io/en/latest/demo_notebooks/reanalysis-forced.html with some plots of, e.g, the domain or the initial condition etc.
Also let's add a thumbnail to appear at https://regional-mom6.readthedocs.io/en/latest/demos.html

Maybe moving discussion from #99 here: I've implemented a way to run the notebooks in the container on GitHub (where the model, tools, and input data are available), and provide that notebook to RTD. Example build is https://regional-mom6.readthedocs.io/en/angus-g-render-notebooks/demo_notebooks/reanalysis-forced.html, from the angus-g/render-notebooks branch.
At the moment, there's both the GitHub push webhook, and the RTDS action webhook firing for the same version, so it's not perfectly integrated until we completely switch over. There might be a little bit more to do in generating previews for PRs (for this demo, I had to manually activate the branch on RTD).

This looks great!

Also let's add a thumbnail to appear at https://regional-mom6.readthedocs.io/en/latest/demos.html

thumbnail still missing

Yes. Related to this issue is https://github.com/COSIMA/regional-mom6/issues/119 which if resolved then we could have the notebook cells evaluated locally and push.

authors: aekiss angus-g navidcy


text:
Polymorphic top-level Hugrs

This seems a good thing to have, and could potentially simplify many tests (which pull in some extension just so we have a concrete leaf type - they could just use a type variable instead).
We could store the binders in the Hugr, but then we should be careful that Hugrs rooted at FuncDefn/FuncDecl don't have any binders themselves.
The simplest/least option would just be to pass the decls ([TypeParam]) into the top-level Hugr::validate() (and friends update_and_validate etc.....).
And, follow-up (if we have not by then decided to go back to having only FunctionType in the type hierarchy and only monomorphic lambdas) - allow storing the decls alongside the Hugr in a Const too.

So, probably this is some kind of a wrapper around (a Hugr and some TypeParams), that one can validate (-> calls Hugr::validate passing in those TypeParams) and other things.

Should include an instantiate method that (given TypeArgs correct for all its TypeParams) produces a non-polymorphic Hugr. This is itself a bunch of work. (Partial instantiation probably not required)
Given #904, unclear whether you can have a "polymorphic top level hugr" (with some TypeParams) whose root node is a FuncDefn (binding more TypeParams). If so, then we retain DeBruijn even after #904; if not, then DeBruijn disappears with #904 (as nested FuncDefns can't refer to their enclosing binders, so we never have more than one set of TypeParams in scope)

This'll also give us a way to do inference separately for subgraphs and thus a better solution to inserting a subgraph than that of test_validate_with_closure from #884

It is just possible that maybe we could treat FuncDefn as the only binder with TypeParams. We would still need a method to apply a substitution across the Hugr (i.e. instantiate a FuncDefn-rooted Hugr to a monomorphic, e.g. DFG-rooted, Hugr)

repo: CQCL/hugr


text:
ci: Fix miri proptest error

Closes #1073.

The test passes now 👍
https://github.com/CQCL/hugr/actions/runs/9127747437/job/25098679141
Apparently the runtime went up to 30mins (from <20) with the new proptests :s


text:
User and developer guides for V0.3

Follow the documentation in the sample project in terms or organization, level of details, etc.
Update User Guide to match what you plan to deliver at V0.5
Update Developer Guide to match your current design or the design you plan to have at V0.5
Note: Please merge Weiguang/Justin PR first
Due by Monday 7pm (do 2101 simultaneously)
Readme

[x] Update our UI screenshot (Weiguang)
[x] Remove link to Learning outcome (Weiguang)

User guide

[x] Add introduction from CS2101  (Weiguang)
[x] Add FAQ (Justin)
[x] Add command summary (Rachael)

User guide features

[x] Vishnu: adding a task, scheduling, undo
[x] Rachael: renaming, deleting, mark and unmarking tasks
[x] Weiguang: List, find, keyboard shortcuts, help
[x] Justin: General command format, alias, unalias commands, specifying a data storage location (is load added as well?)

Developer guide
(individually graded, advice is one seq diagram, one class diagram, with justifications)
(might be a good idea to look at collate)
(decide on how we want to store previously entered commands for scrolling and separately for undo which will actually affect the diagrams)
Follow: https://github.com/collate/collate/blob/master/docs/Developer-Guide.md  (Notable API table)
Weiguang

[x] Introduction
[x] Setting up
[x] UI component (add your new classes, consider using inheritance for task card)

Justin

[x] Appendix A: user stories
[x] Appendix D: glossary
[x] Storage component
[x] Common classes (the description is non-existent)

Vishnu

[x] Appendix B,C: use cases and non-functional requirement (maybe use cases should be embedded in developer guide)
[x] Add product survey for Omnifocus?
[x] Logic component (update design and consider making parser abstract, with date time and individual command parsers after refactoring)
[x] Implementation

Rachael

[x] Appendix E: product survey
[x] High level design
[x] Model component
[x] testing and dev ops

Active branch: Update-user-guide-for-v0.3

I believe this is completed

authors: INCENDE rachx

license: mit


text:
Mid-V1.4 Deliverable: Added remaining tests and updated PPP

Mid-V1.4
Things Done:

NameContainsKeywordsPredicateTest new tests
ParserUtil new tests
FilterCommandTest
FilterCommandParserTest
ContainsKeywordsPredicateTest
Added in some details in PPP

To Check:

For FilterCommandTest 3rd last method, why pa/PAID a/ABSENT t/NORMAL gives 0 person instead of 2 (Benson and Daniel)
For ContainsKeywordsPredicateTest last method, why test fails (gives assertion error), when prefix is wrong and when there are zero keywords

Pull Request Test Coverage Report for Build 392

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.8%) to 61.244%

Totals

Change from base Build 390:
1.8%

Covered Lines:
1822

Relevant Lines:
2975

💛  - Coveralls

authors: SarahTaaherBonna coveralls


text:
Added endpoint to like recommendation

PUT on {BASE URI}/{Id}/like will like the recommendation with the Id provided.

I guess we would also be needing a dislike URL? we can combine both as well. What do you think?


text:
Delete shopcart

Adding code for deleting shopcart.

Looks great!


text:
Change file names

Since the code is able to do much more things than just add utterances, I think it makes sense to change the name of the file (now its add-utterances-3-6.py)

Renamed to luis-app.py, since it's make more sense.

repo: CSELATAM/LUIS-Samples


text:
Refine the way that 'foreign' document types are detected

At the moment, any 'foreign' assemblies that provide implementations of IZptDocument must be registered with ZptMetadata using the method:
ZptMetadata.RegisterDocumentClasses(someAssembly);

This is annoying boilerplate and there is a better way of accomplishing this.  Instead, the ZptMetadata type can implement a static constructor (which would be executed at the moment when ZptMetadata is first referenced from anywhere in the codebase) and it could do something like this:
static ZptMetadata()
{
  foreach(Assembly loadedAssembly in AppDomain.CurrentDomain.GetAssemblies())
  (
    ZptMetadata.RegisterDocumentClasses(loadedAssembly);
  )
}

This would impose a bit of a start-up penalty to the application but it would only need to occur once before the app-domain is recycled.  It would also mean that the only time at which the RegisterDocumentClasses method needs to be used is if an assembly (that provides implementations of IZptDocument) is dynamically loaded into the app domain after it has begun running (specifically, after the static constructor on ZptMetadata fires).

It might be better still (if it is possible) to go directly into the Application Domain each time an IZptDocument class is required and try to pull the type directly out like that by it's fully qualified name.
If we do this then we definitely need to cache the results though (in a dictionary of String/Type) so that we don't incur a horrid performance penalty every time.

repo: CSF-Software-Development/ZPT-Sharp